Sign in Join
FPDoc Onlineexperiment

IStream.UnlockRegion function

Member of IStreamIn unit Types

Unlocks a previously locked region of bytes in the stream.

Declaration

pascal
function UnlockRegion(libOffset: LargeUint; cb: LargeUint; 
 dwLockType: DWORD): 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 successfully removed.

Errors

On error, a nonzero exit code is returned.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.