IStream.UnlockRegion Method (Int64, Int64, Int32)

 

Removes the access restriction on a range of bytes previously restricted with the LockRegion method.

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

void UnlockRegion(
	long libOffset,
	long cb,
	int dwLockType
)

Parameters

libOffset
Type: System.Int64

The byte offset for the beginning of the range.

cb
Type: System.Int64

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

dwLockType
Type: System.Int32

The access restrictions previously placed on the range.

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

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
Show: