Author: jimtabor
Date: Wed May 20 01:53:13 2009
New Revision: 40998
URL:
http://svn.reactos.org/svn/reactos?rev=40998&view=rev
Log:
- Fix for wine tests. Added wine QS flag.
Modified:
trunk/reactos/dll/win32/user32/windows/message.c
trunk/reactos/include/reactos/win32k/ntuser.h
Modified: trunk/reactos/dll/win32/user32/windows/message.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/m…
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/message.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/windows/message.c [iso-8859-1] Wed May 20 01:53:13
2009
@@ -2204,6 +2204,11 @@
WINAPI
RealGetQueueStatus(UINT flags)
{
+ if (flags & ~(QS_SMRESULT|QS_ALLPOSTMESSAGE|QS_ALLINPUT))
+ {
+ SetLastError( ERROR_INVALID_FLAGS );
+ return 0;
+ }
return NtUserCallOneParam(flags, ONEPARAM_ROUTINE_GETQUEUESTATUS);
}
Modified: trunk/reactos/include/reactos/win32k/ntuser.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/win32k/ntu…
==============================================================================
--- trunk/reactos/include/reactos/win32k/ntuser.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/win32k/ntuser.h [iso-8859-1] Wed May 20 01:53:13 2009
@@ -500,6 +500,11 @@
//
#define DCX_USESTYLE 0x00010000
#define DCX_KEEPCLIPRGN 0x00040000
+
+//
+// Non SDK Queue message types.
+//
+#define QS_SMRESULT 0x8000
DWORD
NTAPI