Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UIAutomationPatternInfo structure

Contains information about a custom control pattern.

Syntax


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

Members

guid

Type: GUID

The unique identifier of the control pattern.

pProgrammaticName

Type: LPCWSTR

The name of the control pattern (a non-localizable string).

providerInterfaceId

Type: GUID

The unique identifier of the provider interface for the control pattern.

clientInterfaceId

Type: GUID

The unique identifier of the client interface for the control pattern.

cProperties

Type: UINT

The count of elements in pProperties.

pProperties

Type: UIAutomationPropertyInfo*

A pointer to an array of structures describing properties available on the control pattern.

cMethods

Type: UINT

The count of elements in pMethods.

pMethods

Type: UIAutomationMethodInfo*

A pointer to an array of structures describing methods available on the control pattern.

cEvents

Type: UINT

The count of elements in pEvents.

pEvents

Type: UIAutomationEventInfo*

A pointer to an array of structures describing events available on the control pattern.

pPatternHandler

Type: IUIAutomationPatternHandler*

A pointer to the object that makes the control pattern available to clients.

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

UIAutomationCore.h (include UIAutomation.h)

See also

Custom Properties, Events, and Control Patterns
RegisterPattern

 

 

Community Additions

Show:
© 2014 Microsoft