--- mstools/samples/mfedit/mfedit.h 2018/08/09 18:24:08 1.1.1.3 +++ mstools/samples/mfedit/mfedit.h 2018/08/09 18:26:25 1.1.1.4 @@ -58,6 +58,13 @@ #define MM_EXPORT_3X 7027 #define MM_TTOUTLN_STROKEFILL 7028 #define MM_TTOUTLN_POLYDRAW 7029 +#define MM_C_WND_MF 7030 +#define MM_C_BEGIN_GP 7031 +#define MM_C_END_GP 7032 +#define MM_C_MLTFMTS 7033 + + + #define SIZEOFCAPTIONTEXT 20 @@ -486,3 +493,21 @@ typedef struct _DIBDATA{ } DIBDATA, *PDIBDATA; DIBDATA gDib; + +typedef struct tagEMRFORMAT { + DWORD dSignature; + DWORD nVersion; + DWORD cbData; + DWORD offData; +} EMRFORMAT; + +typedef struct tagCMTMLTFMT { + DWORD ident; + DWORD iComment; + RECTL rclOutput; + DWORD nFormats; + EMRFORMAT aemrformat[1]; +} CMTMLTFMT; + +#define GDICOMMENT_IDENTIFIER 0x43494447 +#define GDICOMMENT_MULTIFORMATS 0x40000004