1999-07-11 15:58:31 +02:00
|
|
|
/*
|
|
|
|
* Win16 built-in DLLs definitions
|
|
|
|
*
|
|
|
|
* Copyright 1999 Ulrich Weigand
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __WINE_BUILTIN16_H
|
|
|
|
#define __WINE_BUILTIN16_H
|
|
|
|
|
|
|
|
#include "windef.h"
|
|
|
|
|
|
|
|
#include "pshpack1.h"
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
WORD pushw_bp; /* pushw %bp */
|
|
|
|
BYTE pushl; /* pushl $target */
|
1999-07-11 19:20:01 +02:00
|
|
|
void (*target)();
|
1999-07-11 15:58:31 +02:00
|
|
|
BYTE lcall; /* lcall __FLATCS__:relay */
|
1999-07-11 19:20:01 +02:00
|
|
|
void (*relay)();
|
1999-07-11 15:58:31 +02:00
|
|
|
WORD flatcs;
|
|
|
|
} ENTRYPOINT16;
|
|
|
|
|
1999-07-11 19:20:01 +02:00
|
|
|
#define EP(target,relay) { 0x5566, 0x68, (target), 0x9a, (relay), __FLATCS__ }
|
1999-07-11 15:58:31 +02:00
|
|
|
|
|
|
|
#include "poppack.h"
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
const char *name; /* DLL name */
|
|
|
|
void *module_start; /* 32-bit address of the module data */
|
|
|
|
int module_size; /* Size of the module data */
|
|
|
|
const BYTE *code_start; /* 32-bit address of DLL code */
|
|
|
|
const BYTE *data_start; /* 32-bit address of DLL data */
|
|
|
|
} WIN16_DESCRIPTOR;
|
|
|
|
|
|
|
|
|
|
|
|
extern void RELAY_Unimplemented16(void);
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* __WINE_BUILTIN16_H */
|