Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
[wine.git] / include / builtin32.h
blob4edb4857da309958f6acf2e70f666c8f24f48b33
1 /*
2 * Win32 built-in DLLs definitions
4 * Copyright 1997 Alexandre Julliard
5 */
7 #ifndef __WINE_BUILTIN32_H
8 #define __WINE_BUILTIN32_H
10 typedef void (*ENTRYPOINT32)();
12 typedef struct
14 const char *name; /* DLL name */
15 int base; /* Ordinal base */
16 int nb_funcs; /* Number of functions */
17 int nb_names; /* Number of function names */
18 int nb_imports; /* Number of imported DLLs */
19 int fwd_size; /* Total size of forward names */
20 const ENTRYPOINT32 *functions; /* Pointer to function table */
21 const char * const *names; /* Pointer to names table */
22 const unsigned short *ordinals; /* Pointer to ordinals table */
23 const unsigned char *args; /* Pointer to argument lengths */
24 const unsigned int *argtypes; /* Pointer to argument types bitmask */
25 const char * const *imports; /* Pointer to imports */
26 const ENTRYPOINT32 dllentrypoint;/* Pointer to LibMain function */
27 } BUILTIN32_DESCRIPTOR;
29 extern ENTRYPOINT32 BUILTIN32_GetEntryPoint( char *buffer, void *relay,
30 unsigned int *typemask );
31 extern void BUILTIN32_Unimplemented( const BUILTIN32_DESCRIPTOR *descr,
32 int ordinal );
33 extern void BUILTIN32_SwitchRelayDebug(int onoff);
35 #endif /* __WINE_BUILTIN32_H */