2 * Win16 built-in DLLs definitions
4 * Copyright 1999 Ulrich Weigand
7 #ifndef __WINE_BUILTIN16_H
8 #define __WINE_BUILTIN16_H
11 #include "wine/windef16.h"
21 WORD pushw_bp; /* pushw %bp */
22 BYTE pushl; /* pushl $target */
24 WORD call; /* call CALLFROM16 */
30 BYTE pushl; /* pushl $relay */
32 BYTE lcall; /* lcall __FLATCS__:glue */
35 BYTE prefix; /* lret $nArgs */
38 LPCSTR profile; /* profile string */
59 void *module_start; /* 32-bit address of the module data */
60 int module_size; /* Size of the module data */
61 void *code_start; /* 32-bit address of DLL code */
62 void *data_start; /* 32-bit address of DLL data */
63 const char *owner; /* 32-bit dll that contains this dll */
64 const void *rsrc; /* resources data */
65 } BUILTIN16_DESCRIPTOR;
67 extern HMODULE16 BUILTIN_LoadModule( LPCSTR name );
68 extern LPCSTR BUILTIN_GetEntryPoint16( struct _STACK16FRAME *frame, LPSTR name, WORD *pOrd );
70 extern void __wine_register_dll_16( const BUILTIN16_DESCRIPTOR *descr );
71 extern WORD __wine_call_from_16_word();
72 extern LONG __wine_call_from_16_long();
73 extern void __wine_call_from_16_regs();
74 extern void __wine_call_from_16_thunk();
76 #endif /* __WINE_BUILTIN16_H */