CMetaFileDC::Close

HMETAFILE Close( );

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 CopyMetaFile.

Delete the metafile after use by calling the Windows DeleteMetaFile function.

CMetaFileDC OverviewClass MembersHierarchy Chart

See Also   CDC::PlayMetaFile, ::CloseMetaFile, ::CopyMetaFile, ::DeleteMetaFile