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.

When to implement

A provider should implement this interface on any ActiveX control site that might host a windowless ActiveX control.

Members

The IAccessibleWindowlessSite interface inherits from the IUnknown interface. IAccessibleWindowlessSite also has these types of members:

Methods

The IAccessibleWindowlessSite interface has these methods.

MethodDescription
AcquireObjectIdRange

Acquires a range of object IDs from the control host and marks them as reserved by a specific windowless control.

GetParentAccessible

Retrieves an IAccessible pointer for the parent of a windowless ActiveX control in the accessibility tree.

QueryObjectIdRanges

Retrieves the object ID ranges that a particular windowless ActiveX control has reserved.

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]

Header

Oleacc.h

IDL

Oleacc.idl

DLL

Oleacc.dll

IID

IID_IAccessibleWindowlessSite is defined as BF3ABD9C-76DA-4389-9EB6-1427D25ABAB7

See also

IRawElementProviderWindowlessSite

 

 

Community Additions

ADD
Show:
© 2014 Microsoft