Variables | |
const long | OBJID_IAAPPLICATION = 0xffffff00 |
|
This constant is used when requesting the IAccessibleApplication interface via a call to AccessibleObjectFromWindow. The following describes how an MSAA/IA2 server will provide an object implementing the IAccessibleApplication interface. For any and all windows in an application, the server will respond to the WM_GETOBJECT message by returning an IAccessible pointer to an object which implements the IAccessibleApplication interface, provided that OBJID_IAAPPLICATION is the DWORD value received in the dwObjId parameter of the message handler. The WM_GETOBJECT message handler is expected to increment the reference count for the returned object by 1. The client may use AccessibleObjectFromWindow to get the IAccessibleApplication interface at any time during the life of a window, by specifying idObject as OBJID_IAAPPLICATION. The riid parameter on the call to AccessibleObjectFromWindow should be IID_IAccessibleApplication. |