title: Is there a way to get the string representation of HRESULT value using win API?
body: <p>Is there a function in win API which can be used to extract the string representation of HRESULT value?</p>
  
  <p>The problem is that not all return values are documented in MSDN, for example <a href="http://msdn.microsoft.com/en-us/library/ms164411.aspx">ExecuteInDefaultAppDomain()</a> function is not documented to return "0x80070002 - The system cannot find the file specified.", however, it does! Therefore, I was wondering whether there is a function to be used in common case.</p>