OpenAndMapFileForRead(3w)

NAME

OpenAndMapFileForRead (SETUPAPI.@)

SYNOPSIS

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

DESCRIPTION

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 defined in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/setupapi/misc.c".

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