[This is preliminary documentation and subject to change.]
Retrieves the window handle that corresponds to a given instance of an IAccessible interface.
STDAPI WindowFromAccessibleObject(
IAccessible* pacc,
HWND* phwnd
);
Returns S_OK if successful or a standard COM error code otherwise. This function returns E_INVALIDARG if the pacc parameter is NULL.
AccessibleObjectFromWindow