Whither SwitchToThread()?

Andrew John Hughes hughes2002 at btinternet.com
Tue Nov 26 18:08:42 CST 2002

Hash: SHA1

- From what I can see, it doesn't appear to be in any header files, yet the 
function is there in kernel32, both the code and the spec file.  The only 
thing that is anywhere near similiar is SwitchToThreadStack defined in 
According to MSDN, it should be in winbase.h.  Anyone know why it isn't?

- -- 
Andrew :-)

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html 

On Tuesday 26 November 2002 10:31 pm, Sean Mitchell wrote:
> My apologies if this is the wrong list for this question... it seemed the
> most appropriate on the list.
> I'm doing a proof-of-concept for my boss to demonstrate that we can port a
> large-ish application developed on Windows (using mostly crossplatform
> libraries like wxWindows, STLport, Xerces) to Linux using winelib to cover
> a few WIN32 API calls we've made.
> I've just started into it, and have compiled a dozen files so far, but ran
> into trouble with the thread code. I cannot find SwitchToThread anywhere,
> not even in the winbase.h header file I expected it in. There are some
> changelogs to indicate that it exists, and the symbol does live in
> libntdll.dll.so, but I cannot find a header file that defines it.
> Can anyone point me in the right direction?
> Cheers,
> Sean
> +----------------------------------------------------------+
> |  Sean Mitchell               Phoenix Interactive Design  |
> |  Software Engineer                        137 Dundas St  |
> |  smitchell at phoenix-interactive.com           London, ON  |
> |  519-679-2913 x237                               Canada  |
> |  519-679-6773 fax                               N6A 1E9  |
> +----------------------------------------------------------+
Version: GnuPG v1.0.7 (GNU/Linux)


More information about the wine-devel mailing list