LockRegion Method
Collapse the table of content
Expand the table of content

IStream.LockRegion Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

Namespace:  System.Runtime.InteropServices.ComTypes
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
Sub LockRegion ( _
	libOffset As Long, _
	cb As Long, _
	dwLockType As Integer _
)

Parameters

libOffset
Type: System.Int64
The byte offset for the beginning of the range.
cb
Type: System.Int64
The length of the range, in bytes, to restrict.
dwLockType
Type: System.Int32
The requested restrictions on accessing the range.

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

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft