createUInt16Array static method

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

Implementation

static IPropertyValue createUInt16Array(
    int valueSize, Pointer<Uint16> value) {
  final activationFactory =
      CreateActivationFactory(_className, IID_IPropertyValueStatics);

  try {
    return IPropertyValueStatics.fromRawPointer(activationFactory)
        .createUInt16Array(valueSize, value);
  } finally {
    free(activationFactory);
  }
}