Set time field in timer messages too

svn path=/trunk/; revision=19177
This commit is contained in:
Gé van Geldorp 2005-11-12 18:13:20 +00:00
parent 9d7168ff94
commit 5b196837de

View file

@ -1754,6 +1754,7 @@ MsqGetTimerMessage(PUSER_MESSAGE_QUEUE MessageQueue,
{
PTIMER_ENTRY Timer;
LARGE_INTEGER CurrentTime;
LARGE_INTEGER LargeTickCount;
PLIST_ENTRY EnumEntry;
BOOLEAN GotMessage;
@ -1805,6 +1806,8 @@ MsqGetTimerMessage(PUSER_MESSAGE_QUEUE MessageQueue,
Msg->message = Timer->Msg;
Msg->wParam = (WPARAM) Timer->IDEvent;
Msg->lParam = (LPARAM) Timer->TimerFunc;
KeQueryTickCount(&LargeTickCount);
Msg->time = LargeTickCount.u.LowPart;
IntGetCursorLocation(PsGetWin32Thread()->Desktop->WindowStation,
&Msg->pt);