UiaGetRuntimeId function

Note  This function is deprecated. Client applications should use the Microsoft UI Automation Component Object Model (COM) interfaces instead.
 
Retrieves the runtime identifier of a UI Automation node.

Syntax

HRESULT UiaGetRuntimeId(
  HUIANODE  hnode,
  SAFEARRAY **pruntimeId
);

Parameters

hnode

Type: HUIANODE

The node for which the identifier is being requested.

pruntimeId

Type: SAFEARRAY**

The address of a variable that receives a pointer to a SAFEARRAY that contains the runtime identifier of the type VT_I4. This parameter is passed uninitialized.

Return Value

Type: HRESULT

Returns S_OK if successful or an error value otherwise.

Remarks

The runtime identifier should be treated as an opaque value and used only for comparison.

Requirements

   
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