mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +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:
parent
65beff4594
commit
fbf5e4605b
1 changed files with 8 additions and 0 deletions
|
@ -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 :
|
||||
|
|
Loading…
Reference in a new issue