Release 980601
[wine] / include / builtin32.h
1 /*
2  * Win32 built-in DLLs definitions
3  *
4  * Copyright 1997 Alexandre Julliard
5  */
6
7 #ifndef __WINE_BUILTIN32_H
8 #define __WINE_BUILTIN32_H
9
10 typedef void (*ENTRYPOINT32)();
11
12 typedef struct
13 {
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     const ENTRYPOINT32   *functions;    /* Pointer to function table */
19     const char * const   *names;        /* Pointer to names table */
20     const unsigned short *ordinals;     /* Pointer to ordinals table */
21     const unsigned char  *args;         /* Pointer to argument lengths */
22     const unsigned int   *argtypes;     /* Pointer to argument types bitmask */
23 } BUILTIN32_DESCRIPTOR;
24
25 extern ENTRYPOINT32 BUILTIN32_GetEntryPoint( char *buffer, void *relay,
26                                              unsigned int *typemask );
27 extern void BUILTIN32_Unimplemented( const BUILTIN32_DESCRIPTOR *descr,
28                                      int ordinal );
29 extern void BUILTIN32_PrintDLLs(void);
30 extern int BUILTIN32_EnableDLL( const char *name, int len, int enable );
31
32 #endif /* __WINE_BUILTIN32_H */