Re: kernel32: Implemented GetSystemTimes
15 Sep
2008
15 Sep
'08
11:58 a.m.
2008/9/14 Martin Bailey <martin(a)pcalpha.com>:
+VOID WINAPI GetSystemTimes( + LPFILETIME lpIdleTime, + LPFILETIME lpKernelTime, + LPFILETIME lpUserTime) +{ + struct tms tms; + times(&tms); + /* FIXME: Calculate based on Idle process time + if (lpIdleTime) + TIME_ClockTimeToFileTime(tms.tms_utime+tms.tms_stime,lpIdleTime); + */
You still have to set lpIdleTime to something, even if it isn't implemented yet, as applications will expect the value to be initialised. -- Rob Shearman
6299
Age (days ago)
6299
Last active (days ago)
0 comments
1 participants
participants (1)
-
Rob Shearman