[user32_apitest]

- Do not log WM_QUERYNEWPALETTE but make sure that we get this message only on 8bpp

svn path=/trunk/; revision=53991
This commit is contained in:
Giannis Adamopoulos 2011-10-04 17:53:43 +00:00
parent 65beff4594
commit fbf5e4605b

View file

@ -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 :