Commit 34a1426f authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Use the monotonic counter for NtGetTickCount.

parent 04e14c7b
......@@ -492,10 +492,7 @@ NTSTATUS WINAPI NtQueryPerformanceCounter( LARGE_INTEGER *counter, LARGE_INTEGER
*/
ULONG WINAPI NtGetTickCount(void)
{
LARGE_INTEGER now;
NtQuerySystemTime( &now );
return (now.QuadPart - server_start_time) / 10000;
return monotonic_counter() / TICKSPERMSEC;
}
/* calculate the mday of dst change date, so that for instance Sun 5 Oct 2007
......
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