[PATCH] include: SYSTEM_INTERRUPT_INFORMATION use known variables names

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Thu Oct 14 03:45:57 CDT 2021


Based off information found here.
https://www.geoffchappell.com/studies/windows/km/ntoskrnl/api/ex/sysinfo/interrupt.htm

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
 include/winternl.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/include/winternl.h b/include/winternl.h
index 46ee508e89f..6b1c5b11b4f 100644
--- a/include/winternl.h
+++ b/include/winternl.h
@@ -2469,7 +2469,12 @@ typedef struct _SYSTEM_CACHE_INFORMATION {
 /* System Information Class 0x17 */
 
 typedef struct _SYSTEM_INTERRUPT_INFORMATION {
-    BYTE Reserved1[24];
+    ULONG ContextSwitches;
+    ULONG DpcCount;
+    ULONG DpcRate;
+    ULONG TimeIncrement;
+    ULONG DpcBypassCount;
+    ULONG ApcBypassCount;
 } SYSTEM_INTERRUPT_INFORMATION, *PSYSTEM_INTERRUPT_INFORMATION;
 
 typedef struct _SYSTEM_CONFIGURATION_INFO {
-- 
2.33.0




More information about the wine-devel mailing list