Author: gadamopoulos
Date: Tue Oct 4 17:53:43 2011
New Revision: 53991
URL: http://svn.reactos.org/svn/reactos?rev=53991&view=rev
Log:
[user32_apitest]
- Do not log WM_QUERYNEWPALETTE but make sure that we get this message only on 8bpp
Modified:
trunk/rostests/apitests/user32/SetActiveWindow.c
Modified: trunk/rostests/apitests/user32/SetActiveWindow.c
URL: http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/user32/SetActive…
==============================================================================
--- trunk/rostests/apitests/user32/SetActiveWindow.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/user32/SetActiveWindow.c [iso-8859-1] Tue Oct 4 17:53:43 2011
@@ -32,6 +32,14 @@
switch(message)
{
+ case WM_QUERYNEWPALETTE:
+ {
+ HDC hdc = GetDC(0);
+ int bits = GetDeviceCaps(hdc,BITSPIXEL);
+ ok( bits == 8 , "expected WM_QUERYNEWPALETTE only on 8bpp\n");
+ ReleaseDC(0, hdc);
+ return FALSE;
+ }
case WM_IME_SETCONTEXT:
case WM_IME_NOTIFY :
case WM_GETICON :