IAccessibleWindowlessSite interface

A Microsoft ActiveX control site implements this interface to enable a windowless ActiveX control that has a Microsoft Active Accessibility implementation to express its accessibility. This interface enables the control container to reserve a range of object IDs that a windowless control can use to raise events, and enables the control container to provide an IAccessible pointer for the parent of the windowless control.

Methods

The IAccessibleWindowlessSite interface has these methods.

Method Description
IAccessibleWindowlessSite::AcquireObjectIdRange Acquires a range of object IDs from the control host and marks them as reserved by a specific windowless control.
IAccessibleWindowlessSite::GetParentAccessible Retrieves an IAccessible pointer for the parent of a windowless Microsoft ActiveX control in the accessibility tree.
IAccessibleWindowlessSite::QueryObjectIdRanges Retrieves the object ID ranges that a particular windowless Microsoft ActiveX control has reserved.
IAccessibleWindowlessSite::ReleaseObjectIdRange Releases an object ID range that was acquired by a previous call to the IAccessibleWindowlessSite::AcquireObjectIdRange method.

Remarks

The functions that manage object ID ranges expect the site object to maintain a list of ranges that have already been reserved. When the window that contains the ActiveX control receives a WM_GETOBJECT message with an LPARAM value (object ID) that is in a reserved range, the window should call the IAccessibleHandler::AccessibleObjectFromID method to get an IAccessible object for that object ID.

Requirements

   
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header oleacc.h

See Also

IRawElementProviderWindowlessSite