Freigeben über


CMetaFileDC::Close

HMETAFILEClose();

Return Value

A valid HMETAFILE if the function is successful; otherwise NULL.

Remarks

Closes the metafile device context and creates a Windows metafile handle that can be used to play the metafile by using the CDC::PlayMetaFile member function. The Windows metafile handle can also be used to manipulate the metafile with Windows functions such as .

Delete the metafile after use by calling the Windows function.

CMetaFileDC OverviewClass MembersHierarchy Chart

See Also   CDC::PlayMetaFile, , ,