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

IStream.LockRegion

Lock a region of bytes in the stream

Declaration

Source position: types.pp line 307

function IStream.LockRegion(

  libOffset: LargeUint;

  cb: LargeUint;

  dwLockType: LongInt

):HRESULT;

Description

LockRegion locks a region of the storage, starting at libOffset, for cbCount bytes. The applied lock is of type dwLockType. The function returns zero if the lock was succesfully applied.

Errors

On error, a nonzero exit code is returned.


Documentation generated on: Mar 17 2017