LockFileEx(3w)

LockFileEx3w

Usage

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

Overview

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

Declared in "winbase.h".

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

Debug channel "file".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.