[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Lock a region of bytes in the stream
Source position: types.pp line 279
function IStream.LockRegion( |
libOffset: Largeint; |
cb: Largeint; |
dwLockType: LongInt |
):HRESULT; |
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.
On error, a nonzero exit code is returned.