OpenAndMapFileForRead(3w)

OpenAndMapFileForRead3w

Usage

DWORD OpenAndMapFileForRead
(
LPCWSTR lpFileName,
LPDWORD lpSize,
LPHANDLE lpFile,
LPHANDLE lpMapping,
LPVOID* lpBuffer
)

Overview

Open and map a file to a buffer.

Params

lpFileName [In] Name of the file to be opened.

lpSize [Out] Pointer to the file size.

lpFile [0] Pointer to the file handle

lpMapping [0] Pointer to the mapping handle

lpBuffer [0] Pointer to the file buffer.

Returns

Success: ERROR_SUCCESS

Failure: Other.

Note

Call UnmapAndCloseFile to release the file.

Implementation

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in "dlls/setupapi/misc.c".

Debug channel "setupapi".

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.