SetMetaFileBits

Syntax

HANDLE SetMetaFileBits(hMem)

This function creates a memory metafile from the data in the global memory block specified by the hMem parameter.

Parameter Type/Description  

hMem HANDLE Identifies the global memory block that contains the metafile data. It is assumed that the data were previously created by using the GetMetaFileBits function.  

Return Value

The return value identifies a memory metafile if the function is successful. Otherwise, the return value is NULL.

Comments

After the SetMetaFileBits function returns, the metafile handle returned by the function should be used instead of the handle identified by the hMem parameter to refer to the metafile.