Huw D M Davies | 585c846 | 1999-05-02 09:23:51 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Enhanced Metafile definitions |
| 3 | * |
| 4 | */ |
| 5 | |
| 6 | #ifndef __WINE_ENHMETAFILE_H |
| 7 | #define __WINE_ENHMETAFILE_H |
| 8 | |
Huw D M Davies | 585c846 | 1999-05-02 09:23:51 +0000 | [diff] [blame] | 9 | #include "gdi.h" |
Patrik Stridvall | bbaf0ea | 2000-03-24 21:13:57 +0000 | [diff] [blame] | 10 | #include "windef.h" |
| 11 | #include "wingdi.h" |
Huw D M Davies | 585c846 | 1999-05-02 09:23:51 +0000 | [diff] [blame] | 12 | |
| 13 | /* GDI32 enhanced metafile object */ |
| 14 | typedef struct |
| 15 | { |
| 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; |
| 21 | |
| 22 | |
| 23 | extern HENHMETAFILE EMF_Create_HENHMETAFILE(ENHMETAHEADER *emh, HFILE hFile, |
| 24 | HANDLE hMapping); |
| 25 | |
| 26 | |
| 27 | #endif /* __WINE_ENHMETAFILE_H */ |
| 28 | |