LockFileEx (KERNEL32.@)
BOOL LockFileEx ( HANDLE hFile, DWORD flags, DWORD reserved, DWORD count_low, DWORD count_high, LPOVERLAPPED overlapped )
Locks a byte range within an open file for shared or exclusive access.
success: TRUE
failure: FALSE.
Per Microsoft® docs, the third parameter (reserved) must be set to 0.
Defined in "winbase.h".
Implemented in "dlls/kernel32/file.c". source.winehq.org/source/dlls/kernel32/file.c
Debug channel "file".
Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jan 2008.