LastInputTick value should be in milliseconds, according to the help of GetTickCount in MSDN

svn path=/trunk/; revision=24010
This commit is contained in:
Hervé Poussineau 2006-09-10 01:08:35 +00:00
parent 54ad3ea87b
commit b61c75703c

View file

@ -76,7 +76,7 @@ DWORD IntLastInputTick(BOOL LastInputTickSetGet)
{
LARGE_INTEGER TickCount;
KeQueryTickCount(&TickCount);
LastInputTick = TickCount.u.LowPart;
LastInputTick = TickCount.u.LowPart * (KeQueryTimeIncrement() / 10000);
}
return LastInputTick;
}