Reference

MapViewOfFileEx(3w)

NAME

MapViewOfFileEx (KERNEL32.@)

SYNOPSIS

LPVOID MapViewOfFileEx
(
HANDLE handle,
DWORD access,
DWORD offset_high,
DWORD offset_low,
SIZE_T count,
LPVOID addr
)

DESCRIPTION

Maps a view of a file into the address space.

PARAMS

handle [In] File-mapping object to map.

access [In] Access mode.

offset_high [In] High-order 32 bits of file offset.

offset_low [In] Low-order 32 bits of file offset.

count [In] Number of bytes to map.

addr [In] Suggested starting address for mapped view.

RETURNS

Success: Starting address of mapped view.

Failure: NULL.

IMPLEMENTATION

Declared in "winbase.h".

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

History