mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
[Win32k]
- Cleanup and one fix. svn path=/trunk/; revision=58999
This commit is contained in:
parent
647ff6e058
commit
6ca4c20d1b
4 changed files with 3 additions and 7 deletions
|
@ -47,8 +47,6 @@ typedef struct _USER_MESSAGE_QUEUE
|
|||
struct _DESKTOP *Desktop;
|
||||
|
||||
PTHREADINFO ptiSysLock;
|
||||
/* Owner of the message queue */
|
||||
// struct _ETHREAD *Thread;
|
||||
PTHREADINFO ptiMouse;
|
||||
PTHREADINFO ptiKeyboard;
|
||||
|
||||
|
|
|
@ -475,7 +475,7 @@ UserObjectInDestroy(HANDLE h)
|
|||
if (!(entry = handle_to_entry( gHandleTable, h )))
|
||||
{
|
||||
SetLastNtError( STATUS_INVALID_HANDLE );
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
||||
return (entry->flags & HANDLEENTRY_INDESTROY);
|
||||
}
|
||||
|
|
|
@ -559,9 +559,9 @@ NtUserCallHwndLock(
|
|||
break;
|
||||
|
||||
case HWNDLOCK_ROUTINE_SETFOREGROUNDWINDOW:
|
||||
TRACE("co_IntSetForegroundWindow 1 %p\n",hWnd);
|
||||
TRACE("co_IntSetForegroundWindow 1 0x%p\n",hWnd);
|
||||
Ret = co_IntSetForegroundWindow(Window);
|
||||
TRACE("co_IntSetForegroundWindow 2 \n");
|
||||
TRACE("co_IntSetForegroundWindow 2 0x%p\n",hWnd);
|
||||
break;
|
||||
|
||||
case HWNDLOCK_ROUTINE_SETFOREGROUNDWINDOWMOUSE:
|
||||
|
|
|
@ -386,14 +386,12 @@ FASTCALL
|
|||
PostTimerMessages(PWND Window)
|
||||
{
|
||||
PLIST_ENTRY pLE;
|
||||
PUSER_MESSAGE_QUEUE ThreadQueue;
|
||||
MSG Msg;
|
||||
PTHREADINFO pti;
|
||||
BOOL Hit = FALSE;
|
||||
PTIMER pTmr;
|
||||
|
||||
pti = PsGetCurrentThreadWin32Thread();
|
||||
ThreadQueue = pti->MessageQueue;
|
||||
|
||||
TimerEnterExclusive();
|
||||
pLE = TimersListHead.Flink;
|
||||
|
|
Loading…
Reference in a new issue