kernel32: Implemented GetSystemTimes

Martin Bailey martin at
Sat Sep 13 19:59:47 CDT 2008


Here's a small patch that enables some software to run under Wine,
namely software using GetSystemTimes to calculate CPU usage.
I would appreciate if anyone could complement it with IdleTime, since I
only implemented KernelTime and UserTime.
That would require subtracting Kernel+User of the calling process from
Kernel+User of the idle process.

 * Implemented kernel32 GetSystemTimes

 dlls/kernel32/kernel32.spec |    2 +-
 dlls/kernel32/time.c        |   35 +++++++++++++++++++++++++++++++++++
 include/winbase.h           |    1 +
 3 files changed, 37 insertions(+), 1 deletions(-)

Martin Bailey

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Implemented-KERNEL32-GetSystemTimes.patch

More information about the wine-patches mailing list