From 5b196837de914f487b44effa6391416576f23dbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Sat, 12 Nov 2005 18:13:20 +0000 Subject: [PATCH] Set time field in timer messages too svn path=/trunk/; revision=19177 --- reactos/subsys/win32k/ntuser/msgqueue.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/reactos/subsys/win32k/ntuser/msgqueue.c b/reactos/subsys/win32k/ntuser/msgqueue.c index d6b41710937..f9b6dd9f9e1 100644 --- a/reactos/subsys/win32k/ntuser/msgqueue.c +++ b/reactos/subsys/win32k/ntuser/msgqueue.c @@ -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);