PropVariantUint32 constructor

PropVariantUint32(
  1. int value
)

Creates a PropVariant holding a Uint32 value.

Implementation

factory PropVariantUint32(int value) {
  final propVariant = adaptiveCalloc<PROPVARIANT>();
  propVariant.ref
    ..vt = VT_UI4
    ..uintVal = value;
  return PropVariantUint32.fromPointer(propVariant);
}