Export (0) Print
Expand All

IAccessibleWindowlessSite::ReleaseObjectIdRange method

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

rangeBase [in]

Type: long

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

pRangeOwner [in, optional]

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]

Header

Oleacc.h

Library

Oleacc.lib

DLL

Oleacc.dll

See also

IAccessibleWindowlessSite
IAccessibleWindowlessSite::AcquireObjectIdRange

 

 

Community Additions

ADD
Show:
© 2014 Microsoft