Commit 632c8cfd authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

winmm/tests: Ignore spurious WM_DWMCOLORIZATIONCOLORCHANGED messages.

parent aa1cc9ad
......@@ -39,8 +39,9 @@ extern const char* mmsys_error(MMRESULT error); /* from wave.c */
static BOOL spurious_message(LPMSG msg)
{
/* WM_DEVICECHANGE 0x0219 appears randomly */
if(msg->message == WM_DEVICECHANGE) {
/* These messages appear randomly */
if(msg->message == WM_DEVICECHANGE ||
msg->message == WM_DWMCOLORIZATIONCOLORCHANGED) {
trace("skipping spurious message %04x\n", msg->message);
return TRUE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment