NAME

LockFileEx  (KERNEL32.@)

SYNOPSIS

 BOOL LockFileEx
 (
  HANDLE       hFile,
  DWORD        flags,
  DWORD        reserved,
  DWORD        count_low,
  DWORD        count_high,
  LPOVERLAPPED overlapped
 )

DESCRIPTION

Locks a byte range within an open file for shared or exclusive access.

RETURNS

success: TRUE

failure: FALSE.

NOTES

Per Microsoft® docs, the third parameter (reserved) must be set to 0.

IMPLEMENTATION

Defined in "winbase.h".

Implemented in "dlls/kernel32/file.c". source.winehq.org/source/dlls/kernel32/file.c

Debug channel "file".


Copyright © 2007 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Mar 2007.