Reference

CopyMetaFile32A(3w)

CopyMetaFile32A (GDI32.23)

NAME

CopyMetaFile32A - CopyMetaFile32A (GDI32.23)

SYNOPSIS

HMETAFILE32 CopyMetaFile32A
(

HMETAFILE32 hSrcMetaFile,

LPCSTR lpFilename
);

PARAMETERS

HMETAFILE32 hSrcMetaFile

Handle of metafile to copy.

LPCSTR lpFilename

Filename if copying to a file.

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.

RETURNS

Handle to metafile copy on success, NULL on failure.

BUGS

Copying to disk returns NULL even if successful.

SEE ALSO

GetMetaFile16(3w), GetMetaFile32A(3w), GetMetaFile32W(3w), CopyMetaFile16(3w), CopyMetaFile32W(3w), IsValidMetaFile(3w), PlayMetaFile16(3w), PlayMetaFile32(3w), EnumMetaFile16(3w), PlayMetaFileRecord16(3w), GetMetaFileBits(3w), SetMetaFileBits(3w), SetMetaFileBitsBetter(3w), MF_MetaParam0(3w), MF_MetaParam1(3w), MF_MetaParam2(3w), MF_MetaParam4(3w), MF_MetaParam6(3w), MF_MetaParam8(3w), MF_CreateBrushIndirect(3w), MF_CreatePatternBrush(3w), MF_CreatePenIndirect(3w), MF_CreateFontIndirect(3w), MF_TextOut(3w), MF_ExtTextOut(3w), MF_MetaPoly(3w), MF_BitBlt(3w), MF_StretchBlt(3w), MF_CreateRegion(3w)