mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
c1d1cfe976
implementation of load order to load different types of libraries.
32 lines
1.2 KiB
C
32 lines
1.2 KiB
C
/*
|
|
* Win32 built-in DLLs definitions
|
|
*
|
|
* Copyright 1997 Alexandre Julliard
|
|
*/
|
|
|
|
#ifndef __WINE_BUILTIN32_H
|
|
#define __WINE_BUILTIN32_H
|
|
|
|
typedef void (*ENTRYPOINT32)();
|
|
|
|
typedef struct
|
|
{
|
|
const char *name; /* DLL name */
|
|
int base; /* Ordinal base */
|
|
int nb_funcs; /* Number of functions */
|
|
int nb_names; /* Number of function names */
|
|
const ENTRYPOINT32 *functions; /* Pointer to function table */
|
|
const char * const *names; /* Pointer to names table */
|
|
const unsigned short *ordinals; /* Pointer to ordinals table */
|
|
const unsigned char *args; /* Pointer to argument lengths */
|
|
const unsigned int *argtypes; /* Pointer to argument types bitmask */
|
|
const ENTRYPOINT32 dllentrypoint;/* Pointer to LibMain function */
|
|
} BUILTIN32_DESCRIPTOR;
|
|
|
|
extern ENTRYPOINT32 BUILTIN32_GetEntryPoint( char *buffer, void *relay,
|
|
unsigned int *typemask );
|
|
extern void BUILTIN32_Unimplemented( const BUILTIN32_DESCRIPTOR *descr,
|
|
int ordinal );
|
|
extern void BUILTIN32_SwitchRelayDebug(int onoff);
|
|
|
|
#endif /* __WINE_BUILTIN32_H */
|