title: Why is FormatMessage() failing to find a message for WinINet errors?
body: <p>I'm running this to test <a href="http://msdn.microsoft.com/en-us/library/ms679351%28VS.85%29.aspx" rel="noreferrer">FormatMessage</a>:</p>
  
  <pre><code>LPVOID lpMsgBuf;
  errCode=12163;
  
  FormatMessage(
      FORMAT_MESSAGE_ALLOCATE_BUFFER | 
      FORMAT_MESSAGE_FROM_SYSTEM ,
      0,
      errCode,
      0,
      (LPTSTR) &amp;lpMsgBuf,
      0, NULL );
  </code></pre>
  
  <p>However, when it returns <code>lpMsgBuf</code> contains NULL...  I was expecting something like <a href="http://msdn.microsoft.com/en-us/library/aa385465%28VS.85%29.aspx" rel="noreferrer">ERROR_INTERNET_DISCONNECTED</a>.</p>
  
  <p>Anything look wrong? Thanks.</p>