- ClickLock will work again
svn path=/trunk/; revision=47917
{
PWINDOW_OBJECT DesktopWindow;
PSYSTEM_CURSORINFO CurInfo;
- LARGE_INTEGER LargeTickCount;
MSLLHOOKSTRUCT MouseHookData;
HDC hDC;
MSG Msg;
gpsi->ptCursor.x = x;
gpsi->ptCursor.y = y;
- KeQueryTickCount(&LargeTickCount);
- Msg.time = MsqCalculateMessageTime(&LargeTickCount);
-
//Move the mouse pointer
GreMovePointer(hDC, x, y);
VOID FASTCALL
MsqInsertSystemMessage(MSG* Msg)
{
+ LARGE_INTEGER LargeTickCount;
KIRQL OldIrql;
ULONG Prev;
+ KeQueryTickCount(&LargeTickCount);
+ Msg->time = MsqCalculateMessageTime(&LargeTickCount);
/*
* If we got WM_MOUSEMOVE and there are already messages in the
* system message queue, check if the last message is mouse move