Skip to main content
IAccessibleWindowlessSite::QueryObjectIdRanges method

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

pRangesOwner [in, optional]

Type: IAccessibleHandler*

The control whose ranges are being queried.

psaRanges [out, optional]

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]

Header

Oleacc.h

Library

Oleacc.lib

DLL

Oleacc.dll

See also

IAccessibleWindowlessSite