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 */ ...@@ -39,8 +39,9 @@ extern const char* mmsys_error(MMRESULT error); /* from wave.c */
static BOOL spurious_message(LPMSG msg) static BOOL spurious_message(LPMSG msg)
{ {
/* WM_DEVICECHANGE 0x0219 appears randomly */ /* These messages appear randomly */
if(msg->message == WM_DEVICECHANGE) { if(msg->message == WM_DEVICECHANGE ||
msg->message == WM_DWMCOLORIZATIONCOLORCHANGED) {
trace("skipping spurious message %04x\n", msg->message); trace("skipping spurious message %04x\n", msg->message);
return TRUE; 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