In The Hand - .NET Components for Mobility
LockRegion Method (libOffset, cb, dwLockType)
NamespacesInTheHand.Runtime.InteropServices.ComTypesIStreamLockRegion(Int64, Int64, Int32)
Restricts access to a specified range of bytes in the stream.
Declaration Syntax
C#Visual Basic
void LockRegion(
	long libOffset,
	long cb,
	int dwLockType
)
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.

Assembly: InTheHand.WindowsMobile (Module: InTheHand.WindowsMobile) Version: 3.2.0.0