IAccessibleWindowlessSite::QueryObjectIdRanges method (oleacc.h)

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

Syntax

HRESULT QueryObjectIdRanges(
  [in, optional]  IAccessibleHandler *pRangesOwner,
  [out, optional] SAFEARRAY          **psaRanges
);

Parameters

[in, optional] pRangesOwner

Type: IAccessibleHandler*

The control whose ranges are being queried.

[out, optional] 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

Requirement Value
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