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

# PlayMetaFile(3w)

## NAME

**PlayMetaFile** (GDI32.@)

## SYNOPSIS

BOOL PlayMetaFile\
  (\
   HDC       *hdc*,\
   HMETAFILE *hmf*\
  )

## DESCRIPTION

Renders the metafile specified by *hmf* in the **DC** specified by *hdc*. Returns **FALSE** on failure, **TRUE** on success.

## PARAMS

*hdc* **\[In\]**  handle of **DC** to render in.

*hmf* **\[In\]**  handle of metafile to render.

## RETURNS

**Success:** **TRUE**

**Failure:** **FALSE**

## IMPLEMENTATION

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

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

Debug channel **"metafile"**.
