---
name: "OpenFileMappingA"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/OpenFileMappingA"
---

# OpenFileMappingA(3w)

## NAME

**OpenFileMappingA** (KERNEL32.@)

## SYNOPSIS

HANDLE OpenFileMappingA\
  (\
   DWORD  *access*,\
   BOOL   *inherit*,\
   LPCSTR *name*\
  )

## DESCRIPTION

Opens a named file-mapping object.

## PARAMS

*access* **\[In\]**  Access mode.

*inherit* **\[In\]**  Inherit flag.

*name* **\[In\]**  Name of file-mapping object.

## RETURNS

**Success:** Handle.

**Failure:** **NULL**.

## IMPLEMENTATION

Declared in **"winbase.h"**.

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