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