Scroll to navigation

CreateFileMappingA(3w) Wine API CreateFileMappingA(3w)

NAME

CreateFileMappingA (KERNEL32.@)

SYNOPSIS

HANDLE CreateFileMappingA
(
HANDLE hFile,
SECURITY_ATTRIBUTES* sa,
DWORD protect,
DWORD size_high,
DWORD size_low,
LPCSTR name
)
 

DESCRIPTION

Creates a named or unnamed file-mapping object for the specified file.
 

PARAMS

hFile [In] Handle to the file to map.
sa [In] Optional security attributes.
protect [In] Protection for mapping object.
size_high [In] High-order 32 bits of object size.
size_low [In] Low-order 32 bits of object size.
name [In] Name of file-mapping object.
 

RETURNS

Success: Handle.
Failure: NULL. Mapping object does not exist.
 

IMPLEMENTATION

Declared in "winbase.h".
Implemented in "dlls/kernel32/virtual.c".
Oct 2012 Wine API