Client Functions

This section contains information about the client functions used with Microsoft Active Accessibility.

In this section

Topic Description
AccessibleChildren
Retrieves the child ID or IDispatch of each child within an accessible container object.
AccessibleObjectFromEvent
Retrieves the address of the IAccessible interface for the object that generated the event that is currently being processed by the client's event hook function.
AccessibleObjectFromPoint
Retrieves the address of the IAccessible interface pointer for the object displayed at a specified point on the screen.
AccessibleObjectFromWindow
Retrieves the address of the specified interface for the object associated with the specified window.
GetOleaccVersionInfo
Retrieves the version number and build number of the Microsoft Active Accessibility file Oleacc.dll.
GetProcessHandleFromHwnd
Retrieves a process handle from a window handle.
GetRoleText
Retrieves the localized string that describes the object's role for the specified role value.
GetStateText
Retrieves a localized string that describes an object's state for a single predefined state bit flag. Because state values are a combination of one or more bit flags, clients call this function more than once to retrieve all state strings.
SetWinEventHook
Sets an event hook function for a range of events.
UnhookWinEvent
Removes an event hook function created by a previous call to SetWinEventHook.
WindowFromAccessibleObject
Retrieves the window handle that corresponds to a particular instance of an IAccessible interface.
WinEventProc Callback Function
An application-defined callback (or hook) function that the system calls in response to events generated by an accessible object. The hook function processes the event notifications as required. Clients install the hook function and request specific types of event notifications by calling SetWinEventHook.
The WINEVENTPROC type defines a pointer to this callback function. WinEventProc is a placeholder for the application-defined function name.

Active Accessibility User Interface Services