Skip to content

Latest commit

 

History

History
101 lines (72 loc) · 5.21 KB

nf-uiautomationclient-iuiautomation-elementfromiaccessiblebuildcache.md

File metadata and controls

101 lines (72 loc) · 5.21 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.IUIAutomation.ElementFromIAccessibleBuildCache
IUIAutomation::ElementFromIAccessibleBuildCache (uiautomationclient.h)
Retrieves a UI Automation element for the specified accessible object from a Microsoft Active Accessibility server, prefetches the requested properties and control patterns, and stores the prefetched items in the cache.
ElementFromIAccessibleBuildCache
ElementFromIAccessibleBuildCache method [Windows Accessibility]
ElementFromIAccessibleBuildCache method [Windows Accessibility]
IUIAutomation interface
IUIAutomation interface [Windows Accessibility]
ElementFromIAccessibleBuildCache method
IUIAutomation.ElementFromIAccessibleBuildCache
IUIAutomation::ElementFromIAccessibleBuildCache
uiauto.uiauto_IUIAutomation_ElementFromIAccessibleBuildCache
uiauto_IUIAutomation_ElementFromIAccessibleBuildCache
uiautomationclient/IUIAutomation::ElementFromIAccessibleBuildCache
winauto.uiauto_IUIAutomation_ElementFromIAccessibleBuildCache
winauto\uiauto_IUIAutomation_ElementFromIAccessibleBuildCache.htm
WinAuto
7feadfc9-0be3-40ec-a986-526b207d1f38
12/05/2018
ElementFromIAccessibleBuildCache, ElementFromIAccessibleBuildCache method [Windows Accessibility], ElementFromIAccessibleBuildCache method [Windows Accessibility],IUIAutomation interface, IUIAutomation interface [Windows Accessibility],ElementFromIAccessibleBuildCache method, IUIAutomation.ElementFromIAccessibleBuildCache, IUIAutomation::ElementFromIAccessibleBuildCache, uiauto.uiauto_IUIAutomation_ElementFromIAccessibleBuildCache, uiauto_IUIAutomation_ElementFromIAccessibleBuildCache, uiautomationclient/IUIAutomation::ElementFromIAccessibleBuildCache, winauto.uiauto_IUIAutomation_ElementFromIAccessibleBuildCache
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
IUIAutomation::ElementFromIAccessibleBuildCache
uiautomationclient/IUIAutomation::ElementFromIAccessibleBuildCache
c++
APIRef
kbSyntax
COM
UIAutomationClient.h
IUIAutomation.ElementFromIAccessibleBuildCache

IUIAutomation::ElementFromIAccessibleBuildCache

-description

Retrieves a UI Automation element for the specified accessible object from a Microsoft Active Accessibility server, prefetches the requested properties and control patterns, and stores the prefetched items in the cache.

-parameters

-param accessible [in]

Type: IAccessible*

A pointer to the IAccessible interface of the accessible object.

-param childId [in]

Type: int

The child ID of the accessible object.

-param cacheRequest [in]

Type: IUIAutomationCacheRequest**

The address of the cache request that specifies the properties and control patterns to store in the cache.

-param element [out, retval]

Type: IUIAutomationElement**

Receives a pointer to the UI Automation element.

-returns

Type: HRESULT

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

-remarks

This method enables Microsoft UI Automation clients to get IUIAutomationElement interfaces for accessible objects implemented by a Microsoft Active Accessibility server.

This method may fail if the server implements UI Automation provider interfaces alongside Microsoft Active Accessibility support.

The method returns E_INVALIDARG if the underlying implementation of the UI Automation element is not a native Microsoft Active Accessibility server; that is, if a client attempts to retrieve the IAccessible interface for an element originally supported by a proxy object from Oleacc.dll, or by the UIA-to-MSAA Bridge.

-see-also

IUIAutomation

IUIAutomation::ElementFromHandleBuildCache