Commit e1125c48 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

pdh: Use GetTickCount64 instead of GetTickCount.

parent ec5e295e
......@@ -157,7 +157,7 @@ static const WCHAR path_uptime[] =
static void CALLBACK collect_uptime( struct counter *counter )
{
counter->two.largevalue = GetTickCount(); /* FIXME */
counter->two.largevalue = GetTickCount64();
counter->status = PDH_CSTATUS_VALID_DATA;
}
......@@ -421,7 +421,7 @@ PDH_STATUS WINAPI PdhGetRawCounterValue( PDH_HCOUNTER handle, LPDWORD type,
value->CStatus = counter->status;
value->TimeStamp.dwLowDateTime = counter->stamp.dwLowDateTime;
value->TimeStamp.dwHighDateTime = counter->stamp.dwHighDateTime;
value->FirstValue = counter->one.largevalue;;
value->FirstValue = counter->one.largevalue;
value->SecondValue = counter->two.largevalue;
value->MultiCount = 1; /* FIXME */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment