createUInt16 static method

IPropertyValue createUInt16(
  1. int value
)

Implementation

static IPropertyValue createUInt16(int value) {
  final activationFactoryPtr =
      CreateActivationFactory(_className, IID_IPropertyValueStatics);
  final object = IPropertyValueStatics.fromRawPointer(activationFactoryPtr);

  try {
    return object.createUInt16(value);
  } finally {
    object.release();
  }
}