ddraw.txt and gui

Ove Kaaven ovehk at ping.uio.no
Mon Sep 29 10:46:57 CDT 2003

man, 29.09.2003 kl. 16.33 skrev Dimitrie O. Paun:
> 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).
> So it seems that InSendMessage() always returns FALSE. 
> Alexandre, is this function supposed to work?

What it's really supposed to do is only return TRUE if it's an
*interthread* sent message, where a different thread is waiting for a
reply. Otherwise (including intrathread sent messages) it returns FALSE.
I don't think there's a way to ask Windows whether a message is sent
from a routine in the same thread or dispatched through DispatchMessage
(DispatchMessage might even just use SendMessage internally anyway so it
could be the same thing). You'd probably have to do like I did in my
libtest/guitest.c, set a flag when you call DispatchMessage so that the
message proc knows it's a posted message.

More information about the wine-devel mailing list