Skip to content

Latest commit

 

History

History
77 lines (61 loc) · 3.5 KB

nf-uiautomationclient-iuiautomationtreewalker-getparentelement.md

File metadata and controls

77 lines (61 loc) · 3.5 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.IUIAutomationTreeWalker.GetParentElement
IUIAutomationTreeWalker::GetParentElement (uiautomationclient.h)
Retrieves the parent element of the specified UI Automation element.
GetParentElement
GetParentElement method [Windows Accessibility]
GetParentElement method [Windows Accessibility]
IUIAutomationTreeWalker interface
IUIAutomationTreeWalker interface [Windows Accessibility]
GetParentElement method
IUIAutomationTreeWalker.GetParentElement
IUIAutomationTreeWalker::GetParentElement
uiauto.uiauto_IUIAutomationTreeWalker_GetParent
uiauto_IUIAutomationTreeWalker_GetParent
uiautomationclient/IUIAutomationTreeWalker::GetParentElement
winauto.uiauto_IUIAutomationTreeWalker_GetParent
winauto\uiauto_IUIAutomationTreeWalker_GetParent.htm
WinAuto
eaff4d83-a614-4559-a357-dc2d241ecf67
12/05/2018
GetParentElement, GetParentElement method [Windows Accessibility], GetParentElement method [Windows Accessibility],IUIAutomationTreeWalker interface, IUIAutomationTreeWalker interface [Windows Accessibility],GetParentElement method, IUIAutomationTreeWalker.GetParentElement, IUIAutomationTreeWalker::GetParentElement, uiauto.uiauto_IUIAutomationTreeWalker_GetParent, uiauto_IUIAutomationTreeWalker_GetParent, uiautomationclient/IUIAutomationTreeWalker::GetParentElement, winauto.uiauto_IUIAutomationTreeWalker_GetParent
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
IUIAutomationTreeWalker::GetParentElement
uiautomationclient/IUIAutomationTreeWalker::GetParentElement
c++
APIRef
kbSyntax
COM
UIAutomationClient.h
IUIAutomationTreeWalker.GetParentElement

IUIAutomationTreeWalker::GetParentElement

-description

Retrieves the parent element of the specified UI Automation element.

-parameters

-param element [in]

Type: IUIAutomationElement*

A pointer to the element for which to retrieve the parent.

-param parent [out, retval]

Type: IUIAutomationElement**

Receives a pointer to the parent element, or NULL if there is no parent element.

-returns

Type: HRESULT

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

-remarks

The structure of the Microsoft UI Automation tree changes as the visible UI elements on the desktop change. It is not guaranteed that an element returned as the parent element will be returned as the parent on subsequent passes.