This patch initializes the return buffer used in GetPrinterDriverA to
[wine.git] / include / builtin32.h
blob3772e8a93c7df4f9e776c2cb3229cc72ad5bcf35
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 const char* filename; /* DLL file name */
16 int base; /* Ordinal base */
17 int nb_funcs; /* Number of functions */
18 int nb_names; /* Number of function names */
19 int nb_imports; /* Number of imported DLLs */
20 int fwd_size; /* Total size of forward names */
21 const ENTRYPOINT32 *functions; /* Pointer to function table */
22 const char * const *names; /* Pointer to names table */
23 const unsigned short *ordinals; /* Pointer to ordinals table */
24 const unsigned char *args; /* Pointer to argument lengths */
25 const unsigned int *argtypes; /* Pointer to argument types bitmask */
26 const char * const *imports; /* Pointer to imports */
27 const ENTRYPOINT32 dllentrypoint;/* Pointer to LibMain function */
28 int characteristics;
29 const void *rsrc; /* Resource descriptor */
30 } BUILTIN32_DESCRIPTOR;
32 extern ENTRYPOINT32 BUILTIN32_GetEntryPoint( char *buffer, void *relay,
33 unsigned int *typemask );
34 extern void BUILTIN32_RegisterDLL( const BUILTIN32_DESCRIPTOR *descr );
35 extern void BUILTIN32_Unimplemented( const BUILTIN32_DESCRIPTOR *descr,
36 int ordinal );
37 extern void BUILTIN32_SwitchRelayDebug(int onoff);
39 #endif /* __WINE_BUILTIN32_H */