createSizeArray static method

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

Implementation

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

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