2.2.24.1 RopLockRegionStream ROP Request Buffer

The following descriptions define valid fields for the RopLockRegionStream ROP request buffer ([MS-OXCROPS] section 2.2.9.10.1).

RegionOffset (8 bytes):  An unsigned 64-bit integer that specifies the number of bytes from the beginning of the stream where the beginning of the region to be locked is located.

RegionSize (8 bytes):  An unsigned 64-bit integer that specifies the size, in bytes, of the region to be locked.

LockFlags (4 bytes):  A set of bits that control the read/write access to the locked region. The LockFlags field MUST be set to one of the values in the following table.

Value

Meaning

0x00000001

If this lock is granted, the specified range of bytes can be opened and read any number of times, but writing to the locked range is prohibited except for the owner that was granted this lock.

Any other value

If this lock is granted, reading and writing to the specified range of bytes is prohibited except by the owner that was granted this lock.