diff --git a/rostests/apitests/user32/SetActiveWindow.c b/rostests/apitests/user32/SetActiveWindow.c index f5fb42e59fb..af8a1e4b6b6 100644 --- a/rostests/apitests/user32/SetActiveWindow.c +++ b/rostests/apitests/user32/SetActiveWindow.c @@ -32,6 +32,14 @@ LRESULT CALLBACK OwnerTestProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lP 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 :