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
97b9ff81
Commit
97b9ff81
authored
Feb 25, 2016
by
Piotr Caban
Committed by
Alexandre Julliard
Feb 25, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Fix 64-bit _CxxThrowException implementation.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ede38f4f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
cpp.c
dlls/msvcrt/cpp.c
+13
-0
No files found.
dlls/msvcrt/cpp.c
View file @
97b9ff81
...
...
@@ -1152,6 +1152,7 @@ void* CDECL MSVCRT___RTCastToVoid(void *cppobj)
/*********************************************************************
* _CxxThrowException (MSVCRT.@)
*/
#ifndef __x86_64__
void
WINAPI
_CxxThrowException
(
exception
*
object
,
const
cxx_exception_type
*
type
)
{
ULONG_PTR
args
[
3
];
...
...
@@ -1161,6 +1162,18 @@ void WINAPI _CxxThrowException( exception *object, const cxx_exception_type *typ
args
[
2
]
=
(
ULONG_PTR
)
type
;
RaiseException
(
CXX_EXCEPTION
,
EH_NONCONTINUABLE
,
3
,
args
);
}
#else
void
WINAPI
_CxxThrowException
(
exception
*
object
,
const
cxx_exception_type
*
type
)
{
ULONG_PTR
args
[
4
];
args
[
0
]
=
CXX_FRAME_MAGIC_VC6
;
args
[
1
]
=
(
ULONG_PTR
)
object
;
args
[
2
]
=
(
ULONG_PTR
)
type
;
RtlPcToFileHeader
(
(
void
*
)
type
,
(
void
**
)
&
args
[
3
]);
RaiseException
(
CXX_EXCEPTION
,
EH_NONCONTINUABLE
,
4
,
args
);
}
#endif
/*********************************************************************
* ?_is_exception_typeof@@YAHABVtype_info@@PAU_EXCEPTION_POINTERS@@@Z
...
...
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