Unverified Commit e9b67001 authored by Simon Giesecke's avatar Simon Giesecke Committed by GitHub

Problem: invalid syntax for calling convention on function pointer

Solution: fix syntax and formatting, remove C-ism for defining struct
parent 64d58c43
...@@ -117,11 +117,14 @@ struct thread_info_t ...@@ -117,11 +117,14 @@ struct thread_info_t
#pragma pack(pop) #pragma pack(pop)
} }
typedef struct _MY_EXCEPTION_REGISTRATION_RECORD struct MY_EXCEPTION_REGISTRATION_RECORD
{ {
struct _MY_EXCEPTION_REGISTRATION_RECORD *Next; typedef EXCEPTION_DISPOSITION (NTAPI *HandlerFunctionType) (
EXCEPTION_DISPOSITION NTAPI (*Handler) (EXCEPTION_RECORD*, void*, CONTEXT*, void*); EXCEPTION_RECORD *, void *, CONTEXT *, void *);
} MY_EXCEPTION_REGISTRATION_RECORD;
MY_EXCEPTION_REGISTRATION_RECORD *Next;
HandlerFunctionType Handler;
};
static EXCEPTION_DISPOSITION NTAPI continue_execution (EXCEPTION_RECORD *rec, static EXCEPTION_DISPOSITION NTAPI continue_execution (EXCEPTION_RECORD *rec,
void *frame, void *frame,
......
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