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::Create
CMetaFileDC                                 Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  BOOL Create(const char FAR* lpFilename = NULL );
 
  Parameter    Description
 
  <lpFilename> Points to a null-terminated character string. Names an
               existing metafile on disk to load. If <lpFilename> is NULL,
               a new in-memory metafile is created.
 
  Remarks
 
  You construct a CMetaFileDC object in two steps. First, call the
  constructor CMetaFileDC, then call Create, which creates the Windows
  metafile device context and attaches it to the CMetaFileDC object.
 
  Return Value
 
  TRUE if the function is successful; otherwise FALSE.
 
  See Also
 
  CMetaFileDC::CMetaFileDC, ::CreateMetaFile
 
 
                                     -♦-