Fix msvc/gcc NDK problem
Modified: trunk/reactos/include/ndk/rtltypes.h
Modified: trunk/reactos/lib/rtl/rtlp.h
Modified: trunk/reactos/w32api/include/ddk/winddk.h
_____
Modified: trunk/reactos/include/ndk/rtltypes.h
--- trunk/reactos/include/ndk/rtltypes.h 2005-11-23 03:54:11 UTC
(rev 19478)
+++ trunk/reactos/include/ndk/rtltypes.h 2005-11-23 04:31:58 UTC
(rev 19479)
@@ -112,7 +112,6 @@
#define TIME_ZONE_ID_UNKNOWN 0
#define TIME_ZONE_ID_STANDARD 1
#define TIME_ZONE_ID_DAYLIGHT 2
-#define TIME_ZONE_ID_INVALID 0xFFFFFFFF
//
// RTL Lock Type (Critical Section or Resource)
@@ -669,7 +668,7 @@
typedef struct _EXCEPTION_REGISTRATION_RECORD
{
struct _EXCEPTION_REGISTRATION_RECORD *Next;
- PEXCEPTION_HANDLER Handler;
+ PEXCEPTION_ROUTINE Handler;
} EXCEPTION_REGISTRATION_RECORD, *PEXCEPTION_REGISTRATION_RECORD;
//
_____
Modified: trunk/reactos/lib/rtl/rtlp.h
--- trunk/reactos/lib/rtl/rtlp.h 2005-11-23 03:54:11 UTC (rev
19478)
+++ trunk/reactos/lib/rtl/rtlp.h 2005-11-23 04:31:58 UTC (rev
19479)
@@ -75,7 +75,7 @@
PEXCEPTION_REGISTRATION_RECORD
RegistrationFrame,
PCONTEXT Context,
PVOID DispatcherContext,
- PEXCEPTION_HANDLER ExceptionHandler);
+ PEXCEPTION_ROUTINE ExceptionHandler);
EXCEPTION_DISPOSITION
NTAPI
@@ -83,7 +83,7 @@
PEXCEPTION_REGISTRATION_RECORD
RegistrationFrame,
PCONTEXT Context,
PVOID DispatcherContext,
- PEXCEPTION_HANDLER ExceptionHandler);
+ PEXCEPTION_ROUTINE ExceptionHandler);
VOID
NTAPI
_____
Modified: trunk/reactos/w32api/include/ddk/winddk.h
--- trunk/reactos/w32api/include/ddk/winddk.h 2005-11-23 03:54:11 UTC
(rev 19478)
+++ trunk/reactos/w32api/include/ddk/winddk.h 2005-11-23 04:31:58 UTC
(rev 19479)
@@ -553,6 +553,13 @@
IN PVOID MapRegisterBase,
IN PVOID Context);
+typedef EXCEPTION_DISPOSITION
+(DDKAPI *PEXCEPTION_ROUTINE)(
+ IN struct _EXCEPTION_RECORD *ExceptionRecord,
+ IN PVOID EstablisherFrame,
+ IN OUT struct _CONTEXT *ContextRecord,
+ IN OUT PVOID DispatcherContext);
+
typedef VOID
(DDKAPI *PDRIVER_LIST_CONTROL)(
IN struct _DEVICE_OBJECT *DeviceObject,
Show replies by date