[include/winternl.h #9] SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION
struct
Paul Vriens
Paul.Vriens at xs4all.nl
Mon Jul 4 12:03:15 CDT 2005
Hi,
our struct was 4 bytes too big compared to the windows one. Tests will
follow that show the correctness of the windows struct size.
Changelog
Removed 4 bytes from the SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION struct
Changed some dwSpare into liKernelTime and liUserTime
Cheers,
Paul
Index: include/winternl.h
===================================================================
RCS file: /home/wine/wine/include/winternl.h,v
retrieving revision 1.153
diff -u -p -r1.153 winternl.h
--- include/winternl.h 3 Jul 2005 12:01:58 -0000 1.153
+++ include/winternl.h 4 Jul 2005 16:57:31 -0000
@@ -1029,7 +1029,9 @@ typedef struct _SYSTEM_TIMEOFDAY_INFORMA
typedef struct _SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION {
#ifdef __WINESRC__
LARGE_INTEGER liIdleTime;
- DWORD dwSpare[10];
+ LARGE_INTEGER liKernelTime;
+ LARGE_INTEGER liUserTime;
+ DWORD dwSpare[5];
#else
LARGE_INTEGER IdleTime;
LARGE_INTEGER KernelTime;
More information about the wine-patches
mailing list