Whither SwitchToThread()?

Francois Gouget fgouget at free.fr
Tue Nov 26 21:36:44 CST 2002

On Tue, 26 Nov 2002, Ryan Cumming wrote:
> > +BOOL        WINAPI SwitchToThread(void);
> Looking at MSDN, at the very bottom of SwitchToThread's remarks section it
> says:
> "To compile an application that uses this function, define the _WIN32_WINNT
> macro as 0x0400 or later."
> Should we put an #ifdef around its definition also, or is it not worth it?

I think it's not worth it. It seems we rarely put such checks in the
headers although there are a couple (3 to be exact).
It might be worth clarifying our position though. Anybody for or

Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
           Cahn's Axiom: When all else fails, read the instructions.

More information about the wine-devel mailing list