This method of the IStream Interface removes the access restriction on a range of bytes that was previously restricted with the LockRegion method.
public void UnlockRegion(long libOffset, long cb, int dwLockType);
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. |