Preliminary version of the C unit tests run-time environment.
[wine/testsucceed.git] / include / callback.h
blobf06304262b3e03a74b916443601d98d04b9792e6
1 /*
2 * Callback functions
4 * Copyright 1995 Alexandre Julliard
5 */
7 #ifndef __WINE_CALLBACK_H
8 #define __WINE_CALLBACK_H
10 #include "windef.h"
11 #include "winnt.h"
13 typedef struct {
14 void (WINAPI *LoadDosExe)( LPCSTR filename, HANDLE hFile );
16 /* DPMI functions */
17 void (WINAPI *CallRMInt)( CONTEXT86 *context );
18 void (WINAPI *CallRMProc)( CONTEXT86 *context, int iret );
19 void (WINAPI *AllocRMCB)( CONTEXT86 *context );
20 void (WINAPI *FreeRMCB)( CONTEXT86 *context );
22 /* I/O functions */
23 void (WINAPI *SetTimer)( unsigned ticks );
24 unsigned (WINAPI *GetTimer)( void );
25 BOOL (WINAPI *inport)( int port, int size, DWORD *res );
26 BOOL (WINAPI *outport)( int port, int size, DWORD val );
27 void (WINAPI *ASPIHandler)( CONTEXT86 *context );
28 } DOSVM_TABLE;
30 extern DOSVM_TABLE Dosvm;
32 #endif /* __WINE_CALLBACK_H */