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

# GetEnhMetaFileHeader(3w)

## NAME

**GetEnhMetaFileHeader** (GDI32.@)

## SYNOPSIS

UINT GetEnhMetaFileHeader\
  (\
   HENHMETAFILE    *hmf*,\
   UINT            *bufsize*,\
   LPENHMETAHEADER *buf*\
  )

## PARAMS

*hmf* **\[In\]**  enhanced metafile.

*bufsize* **\[In\]**  size of buffer.

**\[Out\]**  buffer.

## DESCRIPTION

Retrieves the record containing the header for the specified enhanced-format metafile.

## RETURNS

If *buf* is **NULL**, returns the size of buffer required. Otherwise, copy up to *bufsize* bytes of enhanced metafile header into *buf*.

## IMPLEMENTATION

Declared in **"wingdi.h"**.

Implemented in **"dlls/gdi32/enhmetafile.c"**.

Debug channel **"enhmetafile"**.
