This method of the IStream Interface restricts access to a range of bytes in the stream.
public void LockRegion(long libOffset, long cb, int dwLockType);
libOffset | The offset of the current seek pointer (measured in bytes) that indicates where to start the restriction. |
cb | The number of bytes to restrict. |
dwLocktype | A flag that indicates the type of restriction that is placed; the value must be LOCK_WRITE, LOCK_EXCLUSIVE, or LOCK_ONLYONCE. |