mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-28 12:23:28 +00:00
[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:
@@ -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 :
|
||||
|
||||
Reference in New Issue
Block a user