LockFileEx.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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(tm) docs, the third parameter (reserved) must be set to 0.

IMPLEMENTATION

Defined in "winbase.h".

Implemented in "dlls/kernel32/file.c".

Debug channel "file".