NAME

CopyMetaFileW  (GDI32.@)

SYNOPSIS

 HMETAFILE CopyMetaFileW
 (
  HMETAFILE hSrcMetaFile,
  LPCWSTR   lpFilename
 )

DESCRIPTION

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.

BUGS

Copying to disk returns NULL even if successful.

IMPLEMENTATION

Declared in "wingdi.h". https://source.winehq.org/source/include/wingdi.h

Implemented in "dlls/gdi32/metafile.c". https://source.winehq.org/source/dlls/gdi32/metafile.c

Debug channel "metafile".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Apr 2024.