Release 950216
[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 *) pStack16Frame->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 _SP     (_CONTEXT->sc_esp)
16 #define _BP     (_CONTEXT->sc_ebp)
17 #define _SI     (_CONTEXT->sc_esi)
18 #define _DI     (_CONTEXT->sc_edi)
19 #define _DS     (_CONTEXT->sc_ds)
20 #define _ES     (_CONTEXT->sc_es)
21
22 extern void ReturnFromRegisterFunc(void);
23
24 #endif /* REGFUNC_H */