UCOMIStream.LockRegion(Int64, Int64, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.