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.PollForPotentialSupportedPatterns |
IUIAutomation::PollForPotentialSupportedPatterns (uiautomationclient.h) |
Retrieves the control patterns that might be supported on a UI Automation element. |
|
winauto\uiauto_IUIAutomation_PollForPotentialSupportedPatterns.htm |
WinAuto |
1319420e-17d6-4d0f-81c5-46b22b644e68 |
12/05/2018 |
IUIAutomation interface [Windows Accessibility],PollForPotentialSupportedPatterns method, IUIAutomation.PollForPotentialSupportedPatterns, IUIAutomation::PollForPotentialSupportedPatterns, PollForPotentialSupportedPatterns, PollForPotentialSupportedPatterns method [Windows Accessibility], PollForPotentialSupportedPatterns method [Windows Accessibility],IUIAutomation interface, uiauto.uiauto_IUIAutomation_PollForPotentialSupportedPatterns, uiauto_IUIAutomation_PollForPotentialSupportedPatterns, uiautomationclient/IUIAutomation::PollForPotentialSupportedPatterns, winauto.uiauto_IUIAutomation_PollForPotentialSupportedPatterns |
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 |
|
|
|
|
|
|
Retrieves the control patterns that might be supported on a UI Automation element.
Type: IUIAutomationElement*
The address of the element to poll.
Type: SAFEARRAY(int)**
Receives a pointer to an array of control pattern identifiers.
Type: SAFEARRAY(BSTR)**
Receives a pointer to an array of control pattern names.
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
This method is intended only for use by Microsoft UI Automation tools that need to scan for properties. It is not intended to be used by UI Automation clients.
There is no guarantee that the element will support any particular control pattern when asked for it later.
Best Practices for Using Safe Arrays
Conceptual
Custom Properties, Events, and Control Patterns
PollForPotentialSupportedProperties
Reference