CopyMetaFileW(3w)

CopyMetaFileW3w

Usage

HMETAFILE CopyMetaFileW
(
HMETAFILE hSrcMetaFile,
LPCWSTR lpFilename
)

Overview

Copies the metafile corresponding to hSrcMetaFile to either a disk file, if a filename is given, or to a new memory based metafile, if lpFileName is NULL.

Params

hSrcMetaFile [In] handle of metafile to copy.

lpFilename [In] filename if copying to a file.

Returns

Handle to metafile copy on success, NULL on failure.

Implementation

Declared in "wingdi.h".

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

Debug channel "metafile".

Releases

5 releases since Debian 2.1 (Slink); the text changed 4 times.

  1. 2.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7

Bugs

Copying to disk returns NULL even if successful.

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.