Author: ion
Date: Sat Aug 5 20:27:20 2006
New Revision: 23484
URL:
http://svn.reactos.org/svn/reactos?rev=23484&view=rev
Log:
- DDK Compatibility fixes.
Modified:
trunk/reactos/include/ndk/ketypes.h
trunk/reactos/include/ndk/rtlfuncs.h
trunk/reactos/include/ndk/rtltypes.h
Modified: trunk/reactos/include/ndk/ketypes.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/ketypes.h?rev=…
==============================================================================
--- trunk/reactos/include/ndk/ketypes.h (original)
+++ trunk/reactos/include/ndk/ketypes.h Sat Aug 5 20:27:20 2006
@@ -959,7 +959,15 @@
// Exported Hardware Data
//
extern KAFFINITY NTSYSAPI KeActiveProcessors;
-extern CHAR NTSYSAPI KeNumberProcessors;
+#if (NTDDI_VERSION >= NTDDI_LONGHORN)
+extern volatile CCHAR NTSYSAPI KeNumberProcessors;
+#else
+#if (NTDDI_VERSION >= NTDDI_WINXP)
+extern CCHAR NTSYSAPI KeNumberProcessors;
+#else
+extern PCCHAR KeNumberProcessors;
+#endif
+#endif
extern ULONG NTSYSAPI KiDmaIoCoherency;
extern ULONG NTSYSAPI KeMaximumIncrement;
extern ULONG NTSYSAPI KeMinimumIncrement;
Modified: trunk/reactos/include/ndk/rtlfuncs.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/rtlfuncs.h?rev…
==============================================================================
--- trunk/reactos/include/ndk/rtlfuncs.h (original)
+++ trunk/reactos/include/ndk/rtlfuncs.h Sat Aug 5 20:27:20 2006
@@ -503,13 +503,6 @@
);
NTSYSAPI
-HANDLE
-NTAPI
-RtlDestroyHeap(
- IN HANDLE Heap
-);
-
-NTSYSAPI
ULONG
NTAPI
RtlExtendHeap(
@@ -1935,14 +1928,14 @@
//
// Thread Pool Functions
//
-
NTSYSAPI
NTSTATUS
NTAPI
RtlQueueWorkItem(
IN WORKERCALLBACKFUNC Function,
- IN PVOID Context OPTIONAL,
- IN ULONG Flags);
+ IN PVOID Context OPTIONAL,
+ IN ULONG Flags
+);
//
// Environment/Path Functions
@@ -2461,7 +2454,7 @@
ULONG
__cdecl
DbgPrint(
- IN PCH Format,
+ IN PCCH Format,
IN ...
);
@@ -2471,7 +2464,7 @@
DbgPrintEx(
IN ULONG ComponentId,
IN ULONG Level,
- IN PCH Format,
+ IN PCCH Format,
IN ...
);
Modified: trunk/reactos/include/ndk/rtltypes.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/rtltypes.h?rev…
==============================================================================
--- trunk/reactos/include/ndk/rtltypes.h (original)
+++ trunk/reactos/include/ndk/rtltypes.h Sat Aug 5 20:27:20 2006
@@ -383,6 +383,14 @@
typedef LONG
(NTAPI *PVECTORED_EXCEPTION_HANDLER)(
PEXCEPTION_POINTERS ExceptionPointers
+);
+
+//
+// Worker Thread Callback for Rtl
+//
+typedef VOID
+(NTAPI *WORKERCALLBACKFUNC)(
+ IN PVOID Context
);
#else