PyILockBytes.LockRegion

LockRegion(libOffset, cb, dwLockType)

Restricts access to a specified range of bytes in the byte array.

Parameters

libOffset : ULARGE_INTEGER

The beginning of the region to lock.

cb : ULARGE_INTEGER

The number of bytes to lock.

dwLockType : int

Specifies the restrictions being requested on accessing the range.