Built-in DLLs resources are now specified in spec file.
[wine/multimedia.git] / include / metafile.h
blob94cdad7c1dc904cb351d6209904277f1cf0bded3
1 /*
2 * Metafile definitions
4 * Copyright David W. Metcalfe, 1994
5 */
7 #ifndef __WINE_METAFILE_H
8 #define __WINE_METAFILE_H
10 #include "wingdi.h"
11 #include "gdi.h"
13 /* GDI32 metafile object */
14 typedef struct
16 GDIOBJHDR header;
17 METAHEADER *mh;
18 } METAFILEOBJ;
20 #include "pshpack1.h"
21 typedef struct {
22 DWORD dw1, dw2, dw3;
23 WORD w4;
24 CHAR filename[0x100];
25 } METAHEADERDISK;
26 #include "poppack.h"
28 #define MFHEADERSIZE (sizeof(METAHEADER))
29 #define MFVERSION 0x300
30 #define META_EOF 0x0000
33 /* values of mtType in METAHEADER. Note however that the disk image of a disk
34 based metafile has mtType == 1 */
35 #define METAFILE_MEMORY 1
36 #define METAFILE_DISK 2
38 extern HMETAFILE MF_Create_HMETAFILE(METAHEADER *mh);
39 extern HMETAFILE16 MF_Create_HMETAFILE16(METAHEADER *mh);
40 extern METAHEADER *MF_CreateMetaHeaderDisk(METAHEADER *mr, LPCSTR filename);
42 #endif /* __WINE_METAFILE_H */