[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Types' (#rtl)

IStream.UnlockRegion

Unlocks a previously locked region of bytes in the stream

Declaration

Source position: types.pp line 308

function IStream.UnlockRegion(

  libOffset: LargeUint;

  cb: LargeUint;

  dwLockType: LongInt

):HRESULT;

Description

UnlockRegion removes the lock on a region of the storage, starting at libOffset, for cbCount bytes. The lock must be of type dwLockType. The function returns zero if the lock was succesfully removed.

Errors

On error, a nonzero exit code is returned.


Documentation generated on: Sep 28 2017