How Thread Local Storage works in WIN32 and in Visual C++