UiaGetRuntimeId Function

Note  This function is deprecated. Client applications should use the Microsoft UI Automation COM interfaces instead.

Retrieves the runtime identifier of a UI Automation node.

Syntax

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

Parameters

  • hnode
    [in] The node for which the identifier is being requested.
  • pruntimeId
    [out] 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

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.

Function Information

Stock Implementation uiautomationcore.dll
Custom Implementation No
Header uiautomationcoreapi.h
Import library uiautomationcore.lib
Minimum operating systems Windows XP