UiaGetPropertyValue Function
Note This function is deprecated. Client applications should use the Microsoft UI Automation COM interfaces instead.
Retrieves the value of a UI Automation property.
Syntax
HRESULT UiaGetPropertyValue( HUIANODE hnode, PROPERTYID propertyId, VARIANT *pvalue );
Parameters
- hnode
[in] The element that the property is being requested from.- propertyId
[in] The property identifier. For a list of property IDs, see Property Identifiers.- pvalue
[out] The address of a VARIANT that receives the value of the specified property, or the value returned by UiaGetReservedNotSupportedValue if the property is not supported. This parameter is passed uninitialized.
Return Value
Returns S_OK if successful or an error value otherwise.
Function Information
Stock Implementation uiautomationcore.dll Custom Implementation No Header uiautomationcoreapi.h Import library uiautomationcore.lib Minimum operating systems Windows XP