Export (0) Print
Expand All

UiaGetPropertyValue function

Note  This function is deprecated. Client applications should use the Microsoft UI Automation Component Object Model (COM) interfaces instead.

Retrieves the value of a UI Automation property.

Syntax


HRESULT UiaGetPropertyValue(
  _In_   HUIANODE hnode,
  _In_   PROPERTYID propertyId,
  _Out_  VARIANT *pvalue
);

Parameters

hnode [in]

Type: HUIANODE

The element that the property is being requested from.

propertyId [in]

Type: PROPERTYID

The property identifier. For a list of property IDs, see Property Identifiers.

pvalue [out]

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.

Return value

Type: HRESULT

Returns S_OK if successful or an error value otherwise.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

UIAutomationCoreApi.h

Library

Uiautomationcore.lib

DLL

Uiautomationcore.dll

 

 

Community Additions

ADD
Show:
© 2015 Microsoft