Whither SwitchToThread()?

Ryan Cumming ryan at completely.kicks-ass.org
Tue Nov 26 20:39:04 CST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On November 26, 2002 16:33, Francois Gouget wrote:
> > According to MSDN, it should be in winbase.h.  Anyone know why it isn't?
>
> Because someone forgot to update winbase.h, that's all. Use this patch:
...
> +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?

- -Ryan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE95DBOLGMzRzbJfbQRAkifAJ9bhqB8hXWGoS+dMQp9vjEbL9q+dgCdGXcX
dxKu0J9AnF35jROn+p0ex7o=
=z9sa
-----END PGP SIGNATURE-----



More information about the wine-devel mailing list