LockFile(hFile, offsetLow, offsetHigh, nNumberOfBytesToLockLow, nNumberOfBytesToLockHigh)
Locks a specified file for exclusive access by the calling process.
Parameters
hFile : PyHANDLE
handle of file to lockoffsetLow : int
low-order word of lock region offsetoffsetHigh : int
high-order word of lock region offsetnNumberOfBytesToLockLow : int
low-order word of length to locknNumberOfBytesToLockHigh : int
high-order word of length to lock