Prevent the use of windowsx.h with Wine source.

Alexandre Julliard julliard at
Sun Mar 19 12:44:18 CST 2006

Robert Shearman <rob at> writes:

> It seemed to be ignored by both you and Alexandre last time it was
> sent, and all of your patches applied anyway despite objections from
> several developers.

I think these windowsx macros are confusing things more than helping,
especially since they don't look like macros. It's better to have
explicit SendMessage calls than some pseudo function calls, it makes
much more obvious what's going on, especially for people who try to
debug the code without being very familiar with the Windows API. The
fact that getting rid of the macros also avoids the warnings is just
icing on the cake.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list