Pass CTLDATA as SEGPTR for 16-bit programs.
[wine/multimedia.git] / include / enhmetafile.h
blob616241bb2241df4b2d90e2707477f0252ff9104b
1 /*
2 * Enhanced Metafile definitions
4 */
6 #ifndef __WINE_ENHMETAFILE_H
7 #define __WINE_ENHMETAFILE_H
9 #include "gdi.h"
10 #include "windef.h"
11 #include "wingdi.h"
13 /* GDI32 enhanced metafile object */
14 typedef struct
16 GDIOBJHDR header;
17 ENHMETAHEADER *emh;
18 HFILE hFile; /* File handle if EMF is disk-based */
19 HANDLE hMapping; /* Mapping handle if EMF is disk-based */
20 } ENHMETAFILEOBJ;
23 extern HENHMETAFILE EMF_Create_HENHMETAFILE(ENHMETAHEADER *emh, HFILE hFile,
24 HANDLE hMapping);
27 #endif /* __WINE_ENHMETAFILE_H */