createEmpty static method

Pointer<COMObject> createEmpty()

Implementation

static Pointer<COMObject> createEmpty() {
  final activationFactory =
      CreateActivationFactory(_className, IID_IPropertyValueStatics);

  try {
    return IPropertyValueStatics.fromRawPointer(activationFactory)
        .createEmpty();
  } finally {
    free(activationFactory);
  }
}