title: Official way to get the Thread Information/Environment Block (TIB/TEB)
body: <p>In Windows, it's long been common, if undocumented, knowledge that the Thread Information Block (TIB) of the current thread can be found at FS:0. But that only works on Intel CPUs, where the FS register exists in the first place. Now I wanna get to the TIB on an ARM-based Windows system (Windows Phone and maybe Windows RT). Is there an API for that, please?</p>
  
  <p>EDIT: I want to get the thread stack base for crash reporting purposes.</p>
  
  <p>Information about TIB/TEB: <a href="http://www.microsoft.com/msj/archive/S2CE.aspx" rel="noreferrer">http://www.microsoft.com/msj/archive/S2CE.aspx</a></p>