CreateFileMappingA.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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

Defined in "winbase.h".

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