Release 950319
[wine] / include / regfunc.h
1 /* $Id$
2  */
3
4 #ifndef REGFUNC_H
5 #define REGFUNC_H
6
7 #include "wine.h"
8 #include "stackframe.h"
9
10 #define _CONTEXT ((struct sigcontext_struct *) CURRENT_STACK16->args)
11 #define _AX     (_CONTEXT->sc_eax)
12 #define _BX     (_CONTEXT->sc_ebx)
13 #define _CX     (_CONTEXT->sc_ecx)
14 #define _DX     (_CONTEXT->sc_edx)
15 #define _SI     (_CONTEXT->sc_esi)
16 #define _DI     (_CONTEXT->sc_edi)
17 #define _DS     (_CONTEXT->sc_ds)
18 #define _ES     (_CONTEXT->sc_es)
19
20 extern void ReturnFromRegisterFunc(void);
21
22 #endif /* REGFUNC_H */