user32: Add a test for PeekMessage((HWND)-1), make it pass under Wine.

Paul Vriens paul.vriens.wine at gmail.com
Fri Jun 12 12:32:52 CDT 2009


Dmitry Timoshkov wrote:
> ---
>  dlls/user32/message.c   |    2 +
>  dlls/user32/tests/msg.c |   54 +++++++++++++++++++++++++++++++++++++++++++++++
>  server/queue.c          |   10 +++++++-
>  3 files changed, 65 insertions(+), 1 deletions(-)
> 

Hi Dmitry,

These new tests introduce some failures on Win9x. Could you have a look?

> +                ok(ret && msg.hwnd == hwnd && msg.message == WM_USER+1 &&
> +                   msg.wParam == 0x1234 && msg.lParam == 0x5678,
> +                   "got ret %d hwnd %p msg %04x wParam %08lx lParam %08lx instead of TRUE/0/WM_USER/0x1234/0x5678\n",
> +                   ret, msg.hwnd, msg.message, msg.wParam, msg.lParam);

This ok() message is also not totally correct as the msg.hwnd should not 
be 0 but hwnd, I guess.

-- 
Cheers,

Paul.



More information about the wine-devel mailing list