Export (0) Print
Expand All

UIAutomationPatternInfo Structure

Contains information about a custom control pattern.

Syntax

typedef struct {
    GUID guid;
    LPCWSTR pProgrammaticName;
    GUID providerInterfaceId;
    GUID clientInterfaceId;
    UINT cProperties;
    UIAutomationPropertyInfo *pProperties;
    UINT cMethods;
    UIAutomationMethodInfo *pMethods;
    UINT cEvents;
    UIAutomationEventInfo *pEvents;
    IUIAutomationPatternHandler *pPatternHandler;
} UIAutomationPatternInfo;

Members

guid
The unique identifier of the pattern.
pProgrammaticName
The name of the pattern (a non-localizable string).
providerInterfaceId
The unique identifier of the provider interface for the pattern.
clientInterfaceId
The unique identifier of the client interface for the pattern.
cProperties
The count of elements in pProperties.
pProperties
The address of an array of UIAutomationPropertyInfo structures describing properties available on the pattern.
cMethods
The count of elements in pMethods.
pMethods
The address of an array of UIAutomationMethodInfo structures describing methods available on the pattern.
cEvents
The count of elements in pEvents.
pEvents
The address of an array of UIAutomationEventInfo structures describing events available on the pattern.
pPatternHandler
The address of the IUIAutomationPatternHandler interface of the object that makes the pattern available to clients.

Structure Information

Header uiautomationcore.h
Minimum operating systems Windows 7

See Also

IUIAutomationRegistrar::RegisterPattern

Community Additions

Show:
© 2014 Microsoft