LockRegion(offset, cb, lockType)
Restricts access to a specified range of bytes in the stream.
Parameters
offset : ULARGE_INTEGER
Integer that specifies the byte offset for the beginning of the range.cb : ULARGE_INTEGER
The number of bytes to restrict.lockType : int
Restrictions requested.