mirror of
https://github.com/reactos/reactos.git
synced 2024-08-01 09:01:13 +00:00
Set time field in timer messages too
svn path=/trunk/; revision=19177
This commit is contained in:
parent
9d7168ff94
commit
5b196837de
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue