Project: Stream Extension Classes
Unit: PJIStreams
Classes: TPJIStreamWrapper, TPJHandleIStreamWrapper, TPJFileIStream
Applies to: ~>3.0
function LockRegion(libOffset: Largeint; cb: Largeint;
dwLockType: Longint): HResult; virtual; stdcall;
Method not supported.
This method may restrict access to a specified range of bytes in the stream. It is optional whether support is provided for this method -- this implementation does not do so. A stub is provided in accordance with the Microsoft documentation.
Parameters:
- libOffset -- Byte offset of the beginning of the range to be restricted. Ignored.
- cb -- Length of the range to be restricted in bytes. Ignored.
- dwLockType -- Restrictions being requested on accessing the range. Valid values are from the LOCKTYPE. Ignored.
Returns:
- STG_E_INVALIDFUNCTION in all cases.