title: Getting the Windows System Error Code title/description from its hex number
body: <p>I'm messing around with some windows functions using p/invoke. Occasionally, I get an error code that is not ERROR_SUCCESS (such an odd name).</p>
  
  <p>Is there a way to look these up within the program? Forexample, if I get error 1017. Can I tell the user</p>
  
  <blockquote>
    <p>The system has attempted to load or
    restore a file into the registry, but
    the specified file is not in a
    registry file format.
    (ERROR_NOT_REGISTRY_FILE: 0x3F9)</p>
  </blockquote>
  
  <p>Instead of </p>
  
  <blockquote>
    <p>Error Code: 1017</p>
  </blockquote>