Added more support for buddy windows in the updown control.
[wine/testsucceed.git] / include / builtin16.h
blob3e99efb56a3ddb26507564d0dea86698cdc4bcd6
1 /*
2 * Win16 built-in DLLs definitions
4 * Copyright 1999 Ulrich Weigand
5 */
7 #ifndef __WINE_BUILTIN16_H
8 #define __WINE_BUILTIN16_H
10 #include "windef.h"
12 #include "pshpack1.h"
14 typedef struct
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;
24 #define EP(target,relay) { 0x5566, 0x68, (target), 0x9a, (relay), __FLATCS__ }
26 #include "poppack.h"
28 typedef struct
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;
38 extern void RELAY_Unimplemented16(void);
41 #endif /* __WINE_BUILTIN16_H */