OpenAndMapFileForRead (SETUPAPI.@)
DWORD OpenAndMapFileForRead ( LPCWSTR lpFileName, LPDWORD lpSize, LPHANDLE lpFile, LPHANDLE lpMapping, LPVOID* lpBuffer )
Open and map a file to a buffer.
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. |
Success: ERROR_SUCCESS
Failure: Other.
Call UnmapAndCloseFile to release the file.
Not declared in a Wine header. The function is either undocumented, or missing from Wine.
Implemented in "dlls/setupapi/misc.c". gitlab.winehq.org/wine/wine/blob/master/dlls/setupapi/misc.c
Debug channel "setupapi".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.