IAccessible::accHitTest Method

[This is preliminary documentation and subject to change.]

The HitTest method, accessed by calling the IAccessible::accHitTest method, retrieves the IDispatch interface pointer of a child object at a given point on the screen.

This method returns S_OK if successful or a standard COM error code otherwise.

When this method is used in certain situations, additional usage notes apply. For more information, see Object Navigation.

Note Implementers: This method must not fail for visual objects. Instead, set the vt member of the VARIANT structure to VT_EMPTY. Currently, the only nonvisual objects are sound objects.