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

# GetMetaFileBitsEx(3w)

## NAME

**GetMetaFileBitsEx** (GDI32.@)

## SYNOPSIS

UINT GetMetaFileBitsEx\
  (\
   HMETAFILE *hmf*,\
   UINT      *nSize*,\
   LPVOID    *buf*\
  )

## DESCRIPTION

Get raw metafile data.

Copies the data from metafile \_hmf\_ into the buffer \_buf\_.

## PARAMS

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

*nSize* **\[In\]**  size of *buf*.

*buf* **\[Out\]**  buffer to receive raw metafile data.

## RETURNS

If \_buf\_ is zero, returns size of buffer required. Otherwise, returns number of bytes copied.

## IMPLEMENTATION

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

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

Debug channel **"metafile"**.
