UnlockRegion Method
Collapse the table of content
Expand the table of content

IStream.UnlockRegion Method

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

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)

'Declaration
Sub UnlockRegion ( _
	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, 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.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft