Skip to content

Latest commit

 

History

History
97 lines (66 loc) · 3.72 KB

nf-uiautomationclient-iuiautomationelement-getruntimeid.md

File metadata and controls

97 lines (66 loc) · 3.72 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:uiautomationclient.IUIAutomationElement.GetRuntimeId
IUIAutomationElement::GetRuntimeId (uiautomationclient.h)
Retrieves the unique identifier assigned to the UI element.
GetRuntimeId
GetRuntimeId method [Windows Accessibility]
GetRuntimeId method [Windows Accessibility]
IUIAutomationElement interface
IUIAutomationElement interface [Windows Accessibility]
GetRuntimeId method
IUIAutomationElement.GetRuntimeId
IUIAutomationElement::GetRuntimeId
uiauto.uiauto_IUIAutomationElement_GetRuntimeId
uiauto_IUIAutomationElement_GetRuntimeId
uiautomationclient/IUIAutomationElement::GetRuntimeId
winauto.uiauto_IUIAutomationElement_GetRuntimeId
winauto\uiauto_IUIAutomationElement_GetRuntimeId.htm
WinAuto
d351f2ca-d9de-4055-8356-9a100a77f397
12/05/2018
GetRuntimeId, GetRuntimeId method [Windows Accessibility], GetRuntimeId method [Windows Accessibility],IUIAutomationElement interface, IUIAutomationElement interface [Windows Accessibility],GetRuntimeId method, IUIAutomationElement.GetRuntimeId, IUIAutomationElement::GetRuntimeId, uiauto.uiauto_IUIAutomationElement_GetRuntimeId, uiauto_IUIAutomationElement_GetRuntimeId, uiautomationclient/IUIAutomationElement::GetRuntimeId, winauto.uiauto_IUIAutomationElement_GetRuntimeId
uiautomationclient.h
UIAutomation.h
Windows
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista, Windows XP with SP3 and Platform Update for Windows Vista [desktop apps only]
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008, Windows Server 2003 with SP2 and Platform Update for Windows Server 2008 [desktop apps only]
UIAutomationClient.idl
Windows
19H1
IUIAutomationElement::GetRuntimeId
uiautomationclient/IUIAutomationElement::GetRuntimeId
c++
APIRef
kbSyntax
COM
UIAutomationClient.h
IUIAutomationElement.GetRuntimeId

IUIAutomationElement::GetRuntimeId

-description

Retrieves the unique identifier assigned to the UI element.

-parameters

-param runtimeId [out, retval]

Type: SAFEARRAY**

Receives a pointer to the runtime ID as an array of integers.

-returns

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-remarks

The identifier is only guaranteed to be unique to the UI of the desktop on which it was generated. Identifiers can be reused over time.

The format of run-time identifiers might change in the future. The returned identifier should be treated as an opaque value and used only for comparison; for example, to determine whether a Microsoft UI Automation element is in the cache.

-see-also

Automation Element Property IDs

Best Practices for Using Safe Arrays

CompareRuntimeIds

Conceptual

IUIAutomationElement

Reference