[PATCH 4/5] wined3d: Don't minimize hidden Windows.

Henri Verbeet hverbeet at gmail.com
Thu Nov 20 04:35:04 CST 2014


On 19 November 2014 20:13, Stefan Dösinger <stefan at codeweavers.com> wrote:
> @@ -2189,6 +2189,13 @@ static LRESULT CALLBACK test_proc(HWND hwnd, UINT message, WPARAM wparam, LPARAM
>          }
>      }
>
> +    if (unexpected_messages)
> +    {
> +        const struct message *i;
> +        for (i = unexpected_messages; i->message; i++)
> +            ok(i->message != message, "Got unexpected message %x on window %p.\n", message, hwnd);
Note that putting the ok() in test_proc() makes it hard to find the
actual test that failed.



More information about the wine-devel mailing list