Set time field in timer messages too Modified: trunk/reactos/subsys/win32k/ntuser/msgqueue.c _____
Modified: trunk/reactos/subsys/win32k/ntuser/msgqueue.c --- trunk/reactos/subsys/win32k/ntuser/msgqueue.c 2005-11-12 16:04:31 UTC (rev 19176) +++ trunk/reactos/subsys/win32k/ntuser/msgqueue.c 2005-11-12 18:13:20 UTC (rev 19177) @@ -1754,6 +1754,7 @@
{ PTIMER_ENTRY Timer; LARGE_INTEGER CurrentTime; + LARGE_INTEGER LargeTickCount; PLIST_ENTRY EnumEntry; BOOLEAN GotMessage;
@@ -1805,6 +1806,8 @@ 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);