IAccessibleWindowlessSite::ReleaseObjectIdRange method (oleacc.h)

Releases an object ID range that was acquired by a previous call to the IAccessibleWindowlessSite::AcquireObjectIdRange method.

Syntax

HRESULT ReleaseObjectIdRange(
  [in]           long               rangeBase,
  [in, optional] IAccessibleHandler *pRangeOwner
);

Parameters

[in] rangeBase

Type: long

The first object ID in the range of IDs to be released.

[in, optional] pRangeOwner

Type: IAccessibleHandler*

The windowless ActiveX control with which the range was associated when it was acquired.

Return value

Type: HRESULT

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

Remarks

To prevent mistakes when releasing object ranges, the system uses the pControl parameter to ensure that the range of object IDs being released actually belongs to the specified windowless control.

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

IAccessibleWindowlessSite::AcquireObjectIdRange