Reference

IsValidMetaFile(3w)

IsValidMetaFile (GDI.410)

NAME

IsValidMetaFile - IsValidMetaFile (GDI.410)

SYNOPSIS

BOOL16 IsValidMetaFile(HMETAFILE16 hmf);

DESCRIPTION

Attempts to check if a given metafile is correctly formatted. Currently, the only things verified are several properties of the header.

RETURNS

TRUE if hmf passes some tests for being a valid metafile, FALSE otherwise.

BUGS

This is not exactly what windows does, see _Undocumented_Windows_ for details.

SEE ALSO

GetMetaFile16(3w), GetMetaFile32A(3w), GetMetaFile32W(3w), CopyMetaFile16(3w), CopyMetaFile32A(3w), CopyMetaFile32W(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)