createUInt16Array static method

IPropertyValue createUInt16Array(
  1. int valueSize,
  2. Pointer<Uint16> value
)

Implementation

static IPropertyValue createUInt16Array(
    int valueSize, Pointer<Uint16> value) {
  final activationFactoryPtr =
      CreateActivationFactory(_className, IID_IPropertyValueStatics);
  final object = IPropertyValueStatics.fromRawPointer(activationFactoryPtr);

  try {
    return object.createUInt16Array(valueSize, value);
  } finally {
    object.release();
  }
}