A 32-bit version of the Windows Meta File format with additional commands. EMF is also used as a graphics language for printer drivers. When the "Enable Enhanced Functions" check box is checked in a Windows printer driver under the "Advanced" tab, the files that appear in the spool directory will contain EMF (or possibly EMF+?) commands. When the file is de-spooled, it is converted to the specific printer language by the driver.
There is also a Compressed Windows Enhanced Metafile (EMZ).
Contents of EnhancedMetaFilesInWin32.hlp as found in ENH_META.ZIP
See GdiPlusEnums.h and WinGdi.h in the Windows SDKs. The following appear to have been tacked on after the original EMF spec:
#if(WINVER >= 0x0400) #define EMR_SETICMMODE 98 #define EMR_CREATECOLORSPACE 99 #define EMR_SETCOLORSPACE 100 #define EMR_DELETECOLORSPACE 101 #define EMR_GLSRECORD 102 #define EMR_GLSBOUNDEDRECORD 103 #define EMR_PIXELFORMAT 104 #endif /* WINVER >= 0x0400 */ #if(WINVER >= 0x0500) #define EMR_RESERVED_105 105 #define EMR_RESERVED_106 106 #define EMR_RESERVED_107 107 #define EMR_RESERVED_108 108 SmallTextOut #define EMR_RESERVED_109 109 #define EMR_RESERVED_110 110 #define EMR_COLORCORRECTPALETTE 111 #define EMR_SETICMPROFILEA 112 #define EMR_SETICMPROFILEW 113 #define EMR_ALPHABLEND 114 #define EMR_SETLAYOUT 115 #define EMR_TRANSPARENTBLT 116 #define EMR_RESERVED_117 117 #define EMR_GRADIENTFILL 118 #define EMR_RESERVED_119 119 #define EMR_RESERVED_120 120 #define EMR_COLORMATCHTOTARGETW 121 #define EMR_CREATECOLORSPACEW 122 #endif /* WINVER >= 0x0500 */
See also: