Bugfix: Exception handlers are *not* WINAPI.
diff --git a/include/wine/exception.h b/include/wine/exception.h
index 79c437a..c4bcd4c 100644
--- a/include/wine/exception.h
+++ b/include/wine/exception.h
@@ -128,10 +128,10 @@
const struct __tagWINE_FRAME *ExceptionRecord;
} __WINE_FRAME;
-extern DWORD WINAPI WINE_exception_handler( PEXCEPTION_RECORD record, EXCEPTION_FRAME *frame,
- CONTEXT *context, LPVOID pdispatcher );
-extern DWORD WINAPI WINE_finally_handler( PEXCEPTION_RECORD record, EXCEPTION_FRAME *frame,
- CONTEXT *context, LPVOID pdispatcher );
+extern DWORD WINE_exception_handler( PEXCEPTION_RECORD record, EXCEPTION_FRAME *frame,
+ CONTEXT *context, LPVOID pdispatcher );
+extern DWORD WINE_finally_handler( PEXCEPTION_RECORD record, EXCEPTION_FRAME *frame,
+ CONTEXT *context, LPVOID pdispatcher );
#endif /* USE_COMPILER_EXCEPTIONS */
diff --git a/include/winnt.h b/include/winnt.h
index db0e2bd..fd62044 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -708,8 +708,8 @@
struct __EXCEPTION_FRAME;
-typedef DWORD (CALLBACK *PEXCEPTION_HANDLER)(PEXCEPTION_RECORD,struct __EXCEPTION_FRAME*,
- PCONTEXT,struct __EXCEPTION_FRAME **);
+typedef DWORD (*PEXCEPTION_HANDLER)(PEXCEPTION_RECORD,struct __EXCEPTION_FRAME*,
+ PCONTEXT,struct __EXCEPTION_FRAME **);
typedef struct __EXCEPTION_FRAME
{