Reference

SetMetaFileBits(3w)

SetMetaFileBits (GDI.160)

NAME

SetMetaFileBits - SetMetaFileBits (GDI.160)

SYNOPSIS

HMETAFILE16 SetMetaFileBits(HGLOBAL16 hMem);

PARAMETERS

HGLOBAL16 hMem

Handle to a memory region holding a metafile.

DESCRIPTION

Trade in a metafile memory handle for a handle to a metafile object. The memory region should hold a proper metafile, otherwise problems will occur when it is used. Validity of the memory is not checked. The function is essentially just the identity function.

SEE ALSO

GetMetaFile16(3w), GetMetaFile32A(3w), GetMetaFile32W(3w), CopyMetaFile16(3w), CopyMetaFile32A(3w), CopyMetaFile32W(3w), IsValidMetaFile(3w), PlayMetaFile16(3w), PlayMetaFile32(3w), EnumMetaFile16(3w), PlayMetaFileRecord16(3w), GetMetaFileBits(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)