Microsoft SDK for Java

UnlockRegion

This method of the IStream Interface removes the access restriction on a range of bytes that was previously restricted with the LockRegion method.

Syntax

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

Parameters

libOffset The offset of the current seek pointer (measured in bytes) that indicates where to start removing the restriction.
cb The number of bytes removed from the restriction.
dwlockType A flag that indicates the type of restriction removed; the value must be LOCK_WRITE, LOCK_EXCLUSIVE, or LOCK_ONLYONCE.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.