From 087f39d408805abfd16b21a948bd1b01d358d2e7 Mon Sep 17 00:00:00 2001 From: Earnie Boyd Date: Sun, 21 Oct 2012 13:39:41 -0400 Subject: [PATCH] https://sourceforge.net/tracker/?func=detail&aid=2004630&group_id=2435&atid=102435 * include/ddk/ntddk.h (KeQueryActiveProcessors): New VISTA declaration. * lib/lib32/ddk/ntoskrnl.def: New VISTA import. --- ChangeLog | 7 +++++++ include/ddk/ntddk.h | 4 ++++ lib/lib32/ddk/ntoskrnl.def | 1 + 3 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index b1dc0fe..945b5f0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2012-10-21 Earnie Boyd + + https://sourceforge.net/tracker/?func=detail&aid=2004630&group_id=2435&atid=102435 + + * include/ddk/ntddk.h (KeQueryActiveProcessors): New VISTA declaration. + * lib/lib32/ddk/ntoskrnl.def: New VISTA import. + 2012-10-19 Earnie Boyd https://sourceforge.net/tracker/?func=detail&aid=3554826&group_id=2435&atid=102435 diff --git a/include/ddk/ntddk.h b/include/ddk/ntddk.h index 21897cc..d67d7ad 100644 --- a/include/ddk/ntddk.h +++ b/include/ddk/ntddk.h @@ -87,6 +87,10 @@ typedef CONST char *PCSZ; /* Definitions only in Windows NT 4 */ #include "winnt4.h" +#if (_WIN32_WINNT >= _WIN32_WINNT_VISTA) +ULONG KeQueryActiveProcessorCount(PKAFFINITY); +#endif + #ifdef __cplusplus } #endif diff --git a/lib/lib32/ddk/ntoskrnl.def b/lib/lib32/ddk/ntoskrnl.def index b3c31a9..18cdd93 100644 --- a/lib/lib32/ddk/ntoskrnl.def +++ b/lib/lib32/ddk/ntoskrnl.def @@ -548,6 +548,7 @@ KeNumberProcessors DATA ;KeProfileInterruptWithSource KePulseEvent@12 ;KeQueryActiveProcessors +KeQueryActiveProccsorCount@4 KeQueryInterruptTime@0 KeQueryPriorityThread@4 ;KeQueryRuntimeThread -- 2.11.0