reservedNotSupportedValue property

IUnknown? get reservedNotSupportedValue

Retrieves a static token object representing a property or text attribute that is not supported.

To learn more, see learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomation-get_reservednotsupportedvalue.

Implementation

IUnknown? get reservedNotSupportedValue {
  final notSupportedValue = adaptiveCalloc<VTablePointer>();
  final hr$ = HRESULT(
    _get_ReservedNotSupportedValueFn(ptr, notSupportedValue),
  );
  if (hr$.isError) {
    free(notSupportedValue);
    throw WindowsException(hr$);
  }
  final result$ = notSupportedValue.value;
  free(notSupportedValue);
  if (result$.isNull) return null;
  return .new(result$);
}