EMRFORMAT

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; 
 

Members

dSignature
Contains a picture format identifier. The following identifier values are defined:
Identifier Meaning
ENHMETA_SIGNATURE The picture is in enhanced metafile format.
0x46535045 The picture is in encapsulated PostScript file format.

nVersion
Contains a picture version number. The following version number value is defined:
Version Meaning
1 This is the version number of a level 1 encapsulated PostScript file.

cbData
Specifies the size, in bytes, of the picture data.
offData
Specifies an offset to the picture data. The offset is figured from the start of the GDICOMMENT_MULTIFORMATS public comment within which this EMRFORMAT structure is embedded. The offset must be a DWORD offset.

Remarks

GdiComment discusses enhanced metafile public comments in general, and the GDICOMMENT_MULTIFORMATS public comment in particular.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in wingdi.h.

See Also

Metafiles Overview, Enhanced Metafile Structures, GdiComment