kernel32: Implemented GetSystemTimes

Rob Shearman robertshearman at gmail.com
Mon Sep 15 06:58:31 CDT 2008


2008/9/14 Martin Bailey <martin at 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



More information about the wine-devel mailing list