-----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