createInspectableArray static method

IPropertyValue createInspectableArray(
  1. int valueSize,
  2. Pointer<COMObject> value
)

Implementation

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

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