Author: jimtabor
Date: Sat May 11 19:26:18 2013
New Revision: 58999
URL:
http://svn.reactos.org/svn/reactos?rev=58999&view=rev
Log:
[Win32k]
- Cleanup and one fix.
Modified:
trunk/reactos/win32ss/user/ntuser/msgqueue.h
trunk/reactos/win32ss/user/ntuser/object.c
trunk/reactos/win32ss/user/ntuser/simplecall.c
trunk/reactos/win32ss/user/ntuser/timer.c
Modified: trunk/reactos/win32ss/user/ntuser/msgqueue.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/msgque…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/msgqueue.h [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/msgqueue.h [iso-8859-1] Sat May 11 19:26:18 2013
@@ -47,8 +47,6 @@
struct _DESKTOP *Desktop;
PTHREADINFO ptiSysLock;
- /* Owner of the message queue */
-// struct _ETHREAD *Thread;
PTHREADINFO ptiMouse;
PTHREADINFO ptiKeyboard;
Modified: trunk/reactos/win32ss/user/ntuser/object.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/object…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/object.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/object.c [iso-8859-1] Sat May 11 19:26:18 2013
@@ -475,7 +475,7 @@
if (!(entry = handle_to_entry( gHandleTable, h )))
{
SetLastNtError( STATUS_INVALID_HANDLE );
- return FALSE;
+ return TRUE;
}
return (entry->flags & HANDLEENTRY_INDESTROY);
}
Modified: trunk/reactos/win32ss/user/ntuser/simplecall.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/simple…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/simplecall.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/simplecall.c [iso-8859-1] Sat May 11 19:26:18 2013
@@ -559,9 +559,9 @@
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:
Modified: trunk/reactos/win32ss/user/ntuser/timer.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/timer.…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/timer.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/timer.c [iso-8859-1] Sat May 11 19:26:18 2013
@@ -386,14 +386,12 @@
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;