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

# SetMetaFileBitsBetter16(3w)

## NAME

**SetMetaFileBitsBetter16** (GDI.196)

## SYNOPSIS

HMETAFILE16 SetMetaFileBitsBetter16\
  (\
   HMETAFILE16 *hMeta*\
  )

## DESCRIPTION

Trade in a metafile memory handle for a handle to a metafile object, making a cursory check (using **[IsValidMetaFile(3w)](/IsValidMetaFile/3w.md)**) that the memory handle points to a valid metafile.

## RETURNS

Handle to a metafile on success, **NULL** on failure.**.**

## IMPLEMENTATION

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in **"dlls/gdi.exe16/metafile.c"**.

Debug channel **"metafile"**.
