The _beginthreadex function takes as the third parameter
(the thread start location) a function which returns an unsigned int. My question is, where/when do you get access
to that return value? At the point where the thread is
finished, the thread which started the auxilliary thread
will be long past the point where the stack could be used
to examine the value that the thread function returned.