mirror of
https://github.com/reactos/reactos.git
synced 2025-01-13 01:22:03 +00:00
LastInputTick value should be in milliseconds, according to the help of GetTickCount in MSDN
svn path=/trunk/; revision=24010
This commit is contained in:
parent
54ad3ea87b
commit
b61c75703c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue