Skip to content

TStreamAdapter.LockRegion

Lock a region of the stream.

Declaration

Source position: classesh.inc line 1796

public 
function TStreamAdapter.LockRegion(libOffset: LargeUint; cb: LargeUint; 
                                  dwLockType: DWORD) : HRESULT;  virtual; stdcall;

Description

LockRegion implements #rtl.types.IStream.LockRegion.

Errors

This function must be overridden and will raise a runerror 217 when called directly.

See also

Name Description
#rtl.types.IStream.LockRegion Lock a region of bytes in the stream.