| * Copyright 1998 Ove Kåven |
| typedef struct _DOSTASK { |
| WORD init_cs,init_ip,init_ss,init_sp; |
| WORD dpmi_seg,dpmi_sel,dpmi_flag; |
| int read_pipe,write_pipe; |
| extern int MZ_InitTask( LPDOSTASK lpDosTask ); |
| extern int MZ_InitMemory( LPDOSTASK lpDosTask, struct _NE_MODULE *pModule ); |
| extern void MZ_KillModule( LPDOSTASK lpDosTask ); |
| extern LPDOSTASK MZ_AllocDPMITask( HMODULE16 hModule ); |
| #define V86_FLAG 0x00020000 |
| extern void (*ctx_debug_call)( int, CONTEXT* ); |
| extern BOOL32 (*instr_emu_call)( SIGCONTEXT* ); |
| extern void MZ_Tick( WORD handle ); |
| extern HINSTANCE16 MZ_CreateProcess( LPCSTR name, LPCSTR cmdline, LPCSTR env, |
| LPSTARTUPINFO32A startup, LPPROCESS_INFORMATION info ); |
| extern int DOSVM_Enter( PCONTEXT context ); |
| #endif /* __WINE_DOSEXE_H */ |