IAccessibleWindowlessSite::QueryObjectIdRanges method

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

Syntax

HRESULT QueryObjectIdRanges(
  IAccessibleHandler *pRangesOwner,
  SAFEARRAY          **psaRanges
);

Parameters

pRangesOwner

Type: IAccessibleHandler*

The control whose ranges are being queried.

psaRanges

Type: SAFEARRAY**

Receives the array of object ID ranges. The array contains a set of paired integers. For each pair, the first integer is the first object ID in the range, and the second integer is a count of object IDs in the range.

Return Value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

   
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header oleacc.h
Library Oleacc.lib
DLL Oleacc.dll

See Also

IAccessibleWindowlessSite