ddraw.txt and gui

Dimitrie O. Paun dpaun at rogers.com
Mon Sep 29 09:33:27 CDT 2003

On September 29, 2003 04:57 am, Dmitry Timoshkov wrote:
> I'm attaching a diff between your output and an output of
> the test run under win2k (line numbers were stripped before
> the diff).

Thanks, but there is still something fishy with the test.
I've changed the InSendMessage() test to something more

        if (sequence.current->posted)
            ok (!InSendMessage(),
                "%s: msg 0x%x should have been posted\n",
                sequence.context, message);
            ok (InSendMessage(),
                "%s: msg 0x%x should have been sent\n",
                sequence.context, message);

(here, the ->posted flag is TRUE iff the message should be posted)

However, I still get:

msg.c:401: Test failed: CreateWindow:overlapped: msg 0x24 should have been sent

Now, msg 0x24 is WM_GETMINMAXINFO:

#define WM_GETMINMAXINFO        0x0024

But this one we are actually sending:

/windows/winpos.c:    SendMessageA( hwnd, WM_GETMINMAXINFO, 0, (LPARAM)&MinMax );

So it seems that InSendMessage() always returns FALSE. 
Alexandre, is this function supposed to work?


More information about the wine-devel mailing list