UiaGetPropertyValue function (uiautomationcoreapi.h)
HRESULT UiaGetPropertyValue(
[in] HUIANODE hnode,
[in] PROPERTYID propertyId,
[out] VARIANT *pValue
);
[in] hnode
Type: HUIANODE
The element that the property is being requested from.
[in] propertyId
Type: PROPERTYID
The property identifier. For a list of property IDs, see Property Identifiers.
[out] pValue
Type: VARIANT*
Receives the value of the specified property, or the value returned by UiaGetReservedNotSupportedValue if the property is not supported. This parameter is passed uninitialized.
Type: HRESULT
Returns S_OK if successful or an error value otherwise.
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | uiautomationcoreapi.h |
Library | Uiautomationcore.lib |
DLL | Uiautomationcore.dll |