Redigera

Dela via


UCOMIStream.LockRegion(Int64, Int64, Int32) Method

Definition

Restricts access to a specified range of bytes in the stream.

public:
 void LockRegion(long libOffset, long cb, int dwLockType);
public void LockRegion (long libOffset, long cb, int dwLockType);
abstract member LockRegion : int64 * int64 * int -> unit
Public Sub LockRegion (libOffset As Long, cb As Long, dwLockType As Integer)

Parameters

libOffset
Int64

The byte offset for the beginning of the range.

cb
Int64

The length of the range, in bytes, to restrict.

dwLockType
Int32

The requested restrictions on accessing the range.

Remarks

For more information, please see the existing documentation for IStream::LockRegion in the MSDN library.

Applies to