IUIAutomation::CheckNotSupported Method
Checks a provided VARIANT to see if it contains the Not Supported identifier.
Syntax
HRESULT CheckNotSupported( VARIANT value, BOOL *isNotSupported );
Parameters
- value
[in] The value to check.- isNotSupported
[out] The address of a variable that is TRUE if the provided VARIANT contains the Not Supported identifier, or FALSE otherwise.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
After retrieving a property for a UI Automation element, call this method to determine whether the element supports the retrieved property. CheckNotSupported is typically called after calling a property retrieving method such as IUIAutomationElement::GetCurrentPropertyValue.
See Also