The Microsoft Windows operating system includes a feature, called WinEvents, that enables processes and applications running on the Windows desktop to exchange certain types of information. Accessibility tools that use Microsoft UI Automation and Microsoft Active Accessibility are among the primary users of the WinEvents.
In the context of accessibility, UI Automation providers and Microsoft Active Accessibility servers use WinEvents to notify clients of changes in an application UI, such as when a UI element has been created or destroyed, or when an element name, state, or value has changed.
This section provides suggestions, guidelines, and examples to help clients handle WinEvents and to help servers determine when to trigger the appropriate WinEvent.
In this section
- What Are WinEvents?
- Registering a Hook Function
- System-Level and Object-Level Events
- In-Context and Out-of-Context Hook Functions
- Guarding Against Reentrancy in Hook Functions
- Allocation of WinEvent IDs