NAME
CreateFileMapping32A - CreateFileMapping32A (KERNEL32.46)
SYNOPSIS
HANDLE32 CreateFileMapping32A
(
HFILE32 hFile,
LPSECURITY_ATTRIBUTES attr,
DWORD protect,
DWORD size_high,
DWORD size_low,
LPCSTR name
);
PARAMETERS
- HFILE32 hFile
-
Handle of file to map.
- LPSECURITY_ATTRIBUTES attr
-
Optional security attributes.
- DWORD protect
-
Protection for mapping object.
- DWORD size_high
-
High-order 32 bits of object size.
- DWORD size_low
-
Low-order 32 bits of object size.
- LPCSTR name
-
Name of file-mapping object.
DESCRIPTION
Creates a named or unnamed file-mapping object for the specified file.
RETURNS
Handle of the file-mapping object.
- 0
-
Mapping object did not exist.
- NULL
-
Failure.
SEE ALSO
VIRTUAL_Dump(3w), VIRTUAL_Init(3w), VirtualAlloc(3w), VirtualFree(3w), VirtualLock(3w), VirtualUnlock(3w), VirtualProtect(3w), VirtualProtectEx(3w), VirtualQuery(3w), VirtualQueryEx(3w), IsBadReadPtr32(3w), IsBadWritePtr32(3w), IsBadHugeReadPtr32(3w), IsBadHugeWritePtr32(3w), IsBadCodePtr32(3w), IsBadStringPtr32A(3w), IsBadStringPtr32W(3w), CreateFileMapping32W(3w), OpenFileMapping32A(3w), OpenFileMapping32W(3w), MapViewOfFile(3w), MapViewOfFileEx(3w), FlushViewOfFile(3w), UnmapViewOfFile(3w)