Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
ae8342df
Commit
ae8342df
authored
Nov 10, 1999
by
Ulrich Weigand
Committed by
Alexandre Julliard
Nov 10, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix: Exception handlers are *not* WINAPI.
parent
0a70783c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
14 deletions
+14
-14
exception.c
dlls/ntdll/exception.c
+4
-4
exception.h
include/wine/exception.h
+4
-4
winnt.h
include/winnt.h
+2
-2
except.c
win32/except.c
+4
-4
No files found.
dlls/ntdll/exception.c
View file @
ae8342df
...
...
@@ -66,8 +66,8 @@ DEBUGHOOK EXC_GetDebugEventHook(void)
*
* Handler for exceptions happening inside a handler.
*/
static
DWORD
CALLBACK
EXC_RaiseHandler
(
EXCEPTION_RECORD
*
rec
,
EXCEPTION_FRAME
*
frame
,
CONTEXT
*
context
,
EXCEPTION_FRAME
**
dispatcher
)
static
DWORD
EXC_RaiseHandler
(
EXCEPTION_RECORD
*
rec
,
EXCEPTION_FRAME
*
frame
,
CONTEXT
*
context
,
EXCEPTION_FRAME
**
dispatcher
)
{
if
(
rec
->
ExceptionFlags
&
(
EH_UNWINDING
|
EH_EXIT_UNWIND
))
return
ExceptionContinueSearch
;
...
...
@@ -82,8 +82,8 @@ static DWORD CALLBACK EXC_RaiseHandler( EXCEPTION_RECORD *rec, EXCEPTION_FRAME *
*
* Handler for exceptions happening inside an unwind handler.
*/
static
DWORD
CALLBACK
EXC_UnwindHandler
(
EXCEPTION_RECORD
*
rec
,
EXCEPTION_FRAME
*
frame
,
CONTEXT
*
context
,
EXCEPTION_FRAME
**
dispatcher
)
static
DWORD
EXC_UnwindHandler
(
EXCEPTION_RECORD
*
rec
,
EXCEPTION_FRAME
*
frame
,
CONTEXT
*
context
,
EXCEPTION_FRAME
**
dispatcher
)
{
if
(
!
(
rec
->
ExceptionFlags
&
(
EH_UNWINDING
|
EH_EXIT_UNWIND
)))
return
ExceptionContinueSearch
;
...
...
include/wine/exception.h
View file @
ae8342df
...
...
@@ -128,10 +128,10 @@ typedef struct __tagWINE_FRAME
const
struct
__tagWINE_FRAME
*
ExceptionRecord
;
}
__WINE_FRAME
;
extern
DWORD
WIN
API
WIN
E_exception_handler
(
PEXCEPTION_RECORD
record
,
EXCEPTION_FRAME
*
frame
,
CONTEXT
*
context
,
LPVOID
pdispatcher
);
extern
DWORD
WIN
API
WIN
E_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 */
...
...
include/winnt.h
View file @
ae8342df
...
...
@@ -708,8 +708,8 @@ typedef struct _EXCEPTION_POINTERS
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
{
...
...
win32/except.c
View file @
ae8342df
...
...
@@ -110,8 +110,8 @@ LPTOP_LEVEL_EXCEPTION_FILTER WINAPI SetUnhandledExceptionFilter(
*
* Exception handler for exception blocks declared in Wine code.
*/
DWORD
WIN
API
WIN
E_exception_handler
(
EXCEPTION_RECORD
*
record
,
EXCEPTION_FRAME
*
frame
,
CONTEXT
*
context
,
LPVOID
pdispatcher
)
DWORD
WINE_exception_handler
(
EXCEPTION_RECORD
*
record
,
EXCEPTION_FRAME
*
frame
,
CONTEXT
*
context
,
LPVOID
pdispatcher
)
{
__WINE_FRAME
*
wine_frame
=
(
__WINE_FRAME
*
)
frame
;
...
...
@@ -150,8 +150,8 @@ DWORD WINAPI WINE_exception_handler( EXCEPTION_RECORD *record, EXCEPTION_FRAME *
*
* Exception handler for try/finally blocks declared in Wine code.
*/
DWORD
WIN
API
WIN
E_finally_handler
(
EXCEPTION_RECORD
*
record
,
EXCEPTION_FRAME
*
frame
,
CONTEXT
*
context
,
LPVOID
pdispatcher
)
DWORD
WINE_finally_handler
(
EXCEPTION_RECORD
*
record
,
EXCEPTION_FRAME
*
frame
,
CONTEXT
*
context
,
LPVOID
pdispatcher
)
{
__WINE_FRAME
*
wine_frame
=
(
__WINE_FRAME
*
)
frame
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment