Author: jimtabor
Date: Thu Dec 18 00:19:33 2014
New Revision: 65713
URL:
http://svn.reactos.org/svn/reactos?rev=65713&view=rev
Log:
[NtUser]
- Cleanup status and update header.
Modified:
trunk/reactos/win32ss/user/ntuser/message.c
Modified: trunk/reactos/win32ss/user/ntuser/message.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/messag…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/message.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/message.c [iso-8859-1] Thu Dec 18 00:19:33 2014
@@ -2,7 +2,7 @@
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS Win32k subsystem
* PURPOSE: Messages
- * FILE: subsystems/win32/win32k/ntuser/message.c
+ * FILE: win32ss/user/ntuser/message.c
* PROGRAMER: Casper S. Hornstrup (chorns(a)users.sourceforge.net)
*/
@@ -1248,7 +1248,7 @@
UINT uTimeout,
ULONG_PTR *uResult )
{
- NTSTATUS Status;
+ NTSTATUS Status = STATUS_SUCCESS;
PWND Window = NULL;
PMSGMEMORY MsgMemoryEntry;
INT lParamBufferSize;
@@ -1389,7 +1389,7 @@
(uFlags & SMTO_NOTIMEOUTIFNOTHUNG) &&
!MsqIsHung(ptiSendTo)); // FIXME: Set window hung and add to a list.
- if (STATUS_TIMEOUT == Status)
+ if (Status == STATUS_TIMEOUT)
{
/*
* MSDN says: