IAccessibleWindowlessSite::ReleaseObjectIdRange method

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

Syntax

HRESULT ReleaseObjectIdRange(
  long               rangeBase,
  IAccessibleHandler *pRangeOwner
);

Parameters

rangeBase

Type: long

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

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

   
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