Where Can I Look Up Win32 Error Codes?

WINERROR.H in the INCLUDE directory of your default system installation contains the error code definitions for the Win32 API functions. For an overview of error codes, see “Error Handling” in the ActiveX Programmer’s Reference in the Win32 SDK or Raising Software Exceptions.