Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CMetaFileDC::Close
CMetaFileDC                                 Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  HANDLE Close();
 
  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
  function and also used to manipulate the metafile with Windows functions
  such as CopyMetaFile.
 
  The metafile should be deleted after use by calling the Windows
  DeleteMetaFile function.
 
  Return Value
 
  A valid HANDLE to a metafile if the function is successful. Otherwise,
  it is NULL.
 
  See Also
 
  CDC::PlayMetaFile, ::CloseMetaFile, ::GetMetaFileBits,
  ::CopyMetaFile, ::DeleteMetaFile
 
 
                                     -♦-