Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
9f8d379f
Commit
9f8d379f
authored
Nov 30, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Dec 03, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Move Wine-specific EH_* defines from winnt.h to include/wine/exception.h.
parent
65661831
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
13 deletions
+10
-13
stub.c
dlls/winecrt0/stub.c
+1
-1
exception.h
include/wine/exception.h
+8
-0
winnt.h
include/winnt.h
+1
-12
No files found.
dlls/winecrt0/stub.c
View file @
9f8d379f
...
@@ -32,5 +32,5 @@ void DECLSPEC_HIDDEN __wine_spec_unimplemented_stub( const char *module, const c
...
@@ -32,5 +32,5 @@ void DECLSPEC_HIDDEN __wine_spec_unimplemented_stub( const char *module, const c
args
[
0
]
=
(
ULONG_PTR
)
module
;
args
[
0
]
=
(
ULONG_PTR
)
module
;
args
[
1
]
=
(
ULONG_PTR
)
function
;
args
[
1
]
=
(
ULONG_PTR
)
function
;
RaiseException
(
EXCEPTION_WINE_STUB
,
E
H
_NONCONTINUABLE
,
2
,
args
);
RaiseException
(
EXCEPTION_WINE_STUB
,
E
XCEPTION
_NONCONTINUABLE
,
2
,
args
);
}
}
include/wine/exception.h
View file @
9f8d379f
...
@@ -187,6 +187,14 @@ static inline EXCEPTION_REGISTRATION_RECORD *__wine_pop_frame( EXCEPTION_REGISTR
...
@@ -187,6 +187,14 @@ static inline EXCEPTION_REGISTRATION_RECORD *__wine_pop_frame( EXCEPTION_REGISTR
#endif
#endif
}
}
/* Exception handling flags - from OS/2 2.0 exception handling */
/* Win32 seems to use the same flags as ExceptionFlags in an EXCEPTION_RECORD */
#define EH_NONCONTINUABLE 0x01
#define EH_UNWINDING 0x02
#define EH_EXIT_UNWIND 0x04
#define EH_STACK_INVALID 0x08
#define EH_NESTED_CALL 0x10
/* Wine-specific exceptions codes */
/* Wine-specific exceptions codes */
...
...
include/winnt.h
View file @
9f8d379f
...
@@ -1906,19 +1906,8 @@ typedef CONTEXT *PCONTEXT;
...
@@ -1906,19 +1906,8 @@ typedef CONTEXT *PCONTEXT;
#define WT_EXECUTEDELETEWAIT 0x08
#define WT_EXECUTEDELETEWAIT 0x08
/*
* From OS/2 2.0 exception handling
* Win32 seems to use the same flags as ExceptionFlags in an EXCEPTION_RECORD
*/
#define EH_NONCONTINUABLE 0x01
#define EH_UNWINDING 0x02
#define EH_EXIT_UNWIND 0x04
#define EH_STACK_INVALID 0x08
#define EH_NESTED_CALL 0x10
#define EXCEPTION_CONTINUABLE 0
#define EXCEPTION_CONTINUABLE 0
#define EXCEPTION_NONCONTINUABLE
EH_NONCONTINUABLE
#define EXCEPTION_NONCONTINUABLE
0x01
/*
/*
* The exception record used by Win32 to give additional information
* The exception record used by Win32 to give additional information
...
...
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