Reference

MapViewOfFile(3w)

NAME

MapViewOfFile (KERNEL32.@)

SYNOPSIS

LPVOID MapViewOfFile
(
HANDLE mapping,
DWORD access,
DWORD offset_high,
DWORD offset_low,
SIZE_T count
)

DESCRIPTION

Maps a view of a file into the address space.

PARAMS

mapping [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.

RETURNS

Success: Starting address of mapped view.

Failure: NULL.

IMPLEMENTATION

Declared in "winbase.h".

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

History