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
5c922669
Commit
5c922669
authored
Dec 30, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed RtlUnwind signature (reported by Pierre d'Herbemont).
parent
963dd34e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
11 deletions
+5
-11
exception.c
dlls/ntdll/exception.c
+5
-11
No files found.
dlls/ntdll/exception.c
View file @
5c922669
...
...
@@ -74,11 +74,6 @@ static CRITICAL_SECTION vectored_handlers_section = { &critsect_debug, -1, 0, 0,
# error You must define GET_IP for this CPU
#endif
void
WINAPI
EXC_RtlRaiseException
(
PEXCEPTION_RECORD
,
PCONTEXT
);
void
WINAPI
EXC_RtlUnwind
(
PEXCEPTION_REGISTRATION_RECORD
,
LPVOID
,
PEXCEPTION_RECORD
,
DWORD
,
PCONTEXT
);
void
WINAPI
EXC_NtRaiseException
(
PEXCEPTION_RECORD
,
PCONTEXT
,
BOOL
,
PCONTEXT
);
/*******************************************************************
* EXC_RaiseHandler
...
...
@@ -309,15 +304,14 @@ void WINAPI RtlRaiseException( EXCEPTION_RECORD *rec )
/*******************************************************************
* RtlUnwind (NTDLL.@)
*/
void
WINAPI
EXC_RtlUnwind
(
PEXCEPTION_REGISTRATION_RECORD
pEndFrame
,
LPVOID
unusedEip
,
PEXCEPTION_RECORD
pRecord
,
DWORD
returnEax
,
CONTEXT
*
context
)
void
WINAPI
EXC_RtlUnwind
(
PEXCEPTION_REGISTRATION_RECORD
pEndFrame
,
PVOID
unusedEip
,
PEXCEPTION_RECORD
pRecord
,
PVOID
returnEax
,
CONTEXT
*
context
)
{
EXCEPTION_RECORD
record
,
newrec
;
PEXCEPTION_REGISTRATION_RECORD
frame
,
dispatch
;
#ifdef __i386__
context
->
Eax
=
returnEax
;
context
->
Eax
=
(
DWORD
)
returnEax
;
#endif
/* build an exception record, if we do not have one */
...
...
@@ -383,8 +377,8 @@ void WINAPI EXC_RtlUnwind( PEXCEPTION_REGISTRATION_RECORD pEndFrame, LPVOID unus
#ifdef DEFINE_REGS_ENTRYPOINT
DEFINE_REGS_ENTRYPOINT
(
RtlUnwind
,
EXC_RtlUnwind
,
16
,
16
);
#else
void
WINAPI
RtlUnwind
(
P
EXCEPTION_REGISTRATION_RECORD
pEndFrame
,
L
PVOID
unusedEip
,
PEXCEPTION_RECORD
pRecord
,
DWOR
D
returnEax
)
void
WINAPI
RtlUnwind
(
P
VOID
pEndFrame
,
PVOID
unusedEip
,
PEXCEPTION_RECORD
pRecord
,
PVOI
D
returnEax
)
{
CONTEXT
context
;
memset
(
&
context
,
0
,
sizeof
(
context
)
);
...
...
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