IUIAutomationPatternInstance interface
Represents a control pattern object. The client API wrapper uses this interface to implement all property and method calls in terms of the GetProperty and CallMethod methods.
When to implement
UI Automation client applications do not implement IUIAutomationPatternInstance.
Members
The IUIAutomationPatternInstance interface inherits from the IUnknown interface. IUIAutomationPatternInstance also has these types of members:
Methods
The IUIAutomationPatternInstance interface has these methods.
| Method | Description |
|---|---|
| CallMethod |
Client wrapper implements methods by calling this CallMethod function, specifying the parameters as an array of pointers. |
| GetProperty |
The client wrapper object implements the IUIAutomation::get_CurrentX and IUIAutomationElement::get_CachedX methods by calling this function, specifying the property by index. |
Remarks
This interface is implemented by Microsoft UI Automation and returned by methods such as GetCurrentPattern. The interface is passed to CreateClientWrapper, where it is used to call the appropriate methods and property getters.
Requirements
|
Minimum supported client |
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista, Windows XP with SP3 and Platform Update for Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
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 | Windows Store apps] |
|
Header |
|
|
IDL |
|
|
DLL |
|
|
IID |
IID_IUIAutomationPatternInstance is defined as c03a7fe4-9431-409f-bed8-ae7c2299bc8d |
See also