createBoolean static method

IPropertyValue createBoolean(
  1. bool value
)

Implementation

static IPropertyValue createBoolean(bool value) {
  final activationFactory =
      CreateActivationFactory(_className, IID_IPropertyValueStatics);

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