propertyValue property

Pointer<VARIANT> get propertyValue

Retrieves the property value that must be matched for the condition to be true.

To learn more, see learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationpropertycondition-get_propertyvalue.

Implementation

Pointer<VARIANT> get propertyValue {
  final propertyValue = adaptiveCalloc<VARIANT>();
  final hr$ = HRESULT(_get_PropertyValueFn(ptr, propertyValue));
  if (hr$.isError) {
    free(propertyValue);
    throw WindowsException(hr$);
  }
  return propertyValue;
}