System.Classes.TStreamAdapter.LockRegion
Delphi
function LockRegion(libOffset: LargeUInt; cb: LargeUInt; dwLockType: DWORD): HResult; virtual; stdcall;
C++
virtual HRESULT __stdcall LockRegion(unsigned __int64 libOffset, unsigned __int64 cb, unsigned dwLockType);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Classes.pas System.Classes.hpp |
System.Classes | TStreamAdapter |
Description
Implements the IStream LockRegion method.
The LockRegion method defined by IStream restricts access in the associated stream from the position specified by libOffset to the position specified by cb. dwLockType indicates the type of restriction imposed.
TStreamAdapter does not support locking of regions, so LockRegion returns STG_E_INVALIDFUNCTION.