The EMRFORMAT structure contains information that identifies graphics data in an enhanced metafile. A GDICOMMENT_MULTIFORMATS enhanced metafile public comment contains an array of EMRFORMAT structures.
typedef struct tagEMRFORMAT {
DWORD dSignature;
DWORD nVersion;
DWORD cbData;
DWORD offData;
} EMRFORMAT;
Identifier | Meaning |
---|---|
ENHMETA_SIGNATURE | The picture is in enhanced metafile format. |
0x46535045 | The picture is in encapsulated PostScript file format. |
Version | Meaning |
---|---|
1 | This is the version number of a level 1 encapsulated PostScript file. |
GdiComment discusses enhanced metafile public comments in general, and the GDICOMMENT_MULTIFORMATS public comment in particular.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in wingdi.h.
Metafiles Overview, Enhanced Metafile Structures, GdiComment