Some more messages.
[wine] / include / builtin16.h
1 /*
2  * Win16 built-in DLLs definitions
3  *
4  * Copyright 1999 Ulrich Weigand
5  */
6
7 #ifndef __WINE_BUILTIN16_H
8 #define __WINE_BUILTIN16_H
9
10 #include "windef.h"
11
12 #include "pshpack1.h"
13
14 typedef struct
15 {
16     WORD   pushw_bp;               /* pushw %bp */
17     BYTE   pushl;                  /* pushl $target */      
18     void (*target)();
19     BYTE   lcall;                  /* lcall __FLATCS__:relay */
20     void (*relay)();
21     WORD   flatcs;
22 } ENTRYPOINT16;
23
24 #define EP(target,relay) { 0x5566, 0x68, (target), 0x9a, (relay), __FLATCS__ }
25
26 #include "poppack.h"
27
28 typedef struct
29 {
30     const char *name;              /* DLL name */
31     void       *module_start;      /* 32-bit address of the module data */
32     int         module_size;       /* Size of the module data */
33     const BYTE *code_start;        /* 32-bit address of DLL code */
34     const BYTE *data_start;        /* 32-bit address of DLL data */
35 } WIN16_DESCRIPTOR;
36
37
38 extern void RELAY_Unimplemented16(void);
39
40
41 #endif /* __WINE_BUILTIN16_H */