Commit 6f902f16 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

The Windows headers don't define PEXCEPTION_REGISTRATION_RECORD.

Remove it.
parent edf55ec7
......@@ -123,7 +123,7 @@ __ASM_GLOBAL_FUNC(_EH_prolog,
/*******************************************************************
* _global_unwind2 (MSVCRT.@)
*/
void _global_unwind2(PEXCEPTION_REGISTRATION_RECORD frame)
void _global_unwind2(EXCEPTION_REGISTRATION_RECORD* frame)
{
TRACE("(%p)\n",frame);
RtlUnwind( frame, 0, 0, 0 );
......@@ -165,9 +165,9 @@ void _local_unwind2(MSVCRT_EXCEPTION_FRAME* frame, int trylevel)
* _except_handler2 (MSVCRT.@)
*/
int _except_handler2(PEXCEPTION_RECORD rec,
PEXCEPTION_REGISTRATION_RECORD frame,
EXCEPTION_REGISTRATION_RECORD* frame,
PCONTEXT context,
PEXCEPTION_REGISTRATION_RECORD* dispatcher)
EXCEPTION_REGISTRATION_RECORD** dispatcher)
{
FIXME("exception %lx flags=%lx at %p handler=%p %p %p stub\n",
rec->ExceptionCode, rec->ExceptionFlags, rec->ExceptionAddress,
......@@ -227,7 +227,7 @@ int _except_handler3(PEXCEPTION_RECORD rec,
if (retval == EXCEPTION_EXECUTE_HANDLER)
{
/* Unwind all higher frames, this one will handle the exception */
_global_unwind2((PEXCEPTION_REGISTRATION_RECORD)frame);
_global_unwind2((EXCEPTION_REGISTRATION_RECORD*)frame);
_local_unwind2(frame, trylevel);
/* Set our trylevel to the enclosing block, and call the __finally
......
......@@ -1073,13 +1073,6 @@ static void test_pack_PEXCEPTION_RECORD(void)
TEST_TYPE_POINTER(PEXCEPTION_RECORD, 80, 4);
}
static void test_pack_PEXCEPTION_REGISTRATION_RECORD(void)
{
/* PEXCEPTION_REGISTRATION_RECORD */
TEST_TYPE(PEXCEPTION_REGISTRATION_RECORD, 4, 4);
TEST_TYPE_POINTER(PEXCEPTION_REGISTRATION_RECORD, 8, 4);
}
static void test_pack_PFLOATING_SAVE_AREA(void)
{
/* PFLOATING_SAVE_AREA */
......@@ -2194,7 +2187,6 @@ static void test_pack(void)
test_pack_PEXCEPTION_HANDLER();
test_pack_PEXCEPTION_POINTERS();
test_pack_PEXCEPTION_RECORD();
test_pack_PEXCEPTION_REGISTRATION_RECORD();
test_pack_PFLOATING_SAVE_AREA();
test_pack_PGENERIC_MAPPING();
test_pack_PHANDLE();
......
......@@ -768,7 +768,6 @@ PEXCEPTION_FRAME
PEXCEPTION_HANDLER
PEXCEPTION_POINTERS
PEXCEPTION_RECORD
PEXCEPTION_REGISTRATION_RECORD
PFLOATING_SAVE_AREA
!PFPO_DATA
PGENERIC_MAPPING
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment