LockFileEx(3w)

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 "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/kernel32/file.c".

Debug channel "file".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout