BOOL Create( LPCTSTR lpszFilename = NULL );
Return Value
Nonzero if the function is successful; otherwise 0.
Parameters
lpszFilename
Points to a null-terminated character string. Specifies the filename of the metafile to create. If lpszFilename is NULL, a new in-memory metafile is created.
Remarks
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.
CMetaFileDC Overview | Class Members | Hierarchy Chart
See Also CMetaFileDC::CMetaFileDC, CDC::SetAttribDC, ::CreateMetaFile