createInt16Array static method

IPropertyValue createInt16Array(
  1. int valueSize,
  2. Pointer<Int16> value
)

Implementation

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

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