createSizeArray static method

IPropertyValue createSizeArray(
  1. int valueSize,
  2. Pointer<Size> value
)

Implementation

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

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