I always use WinError.h. It has the vast majority of Windows error codes of all kinds.
, , : . 0x80nnmmmm, nn - . , . , 7, Windows, HRESULT, WinError.h. , (, - 12000 12999 - WinInet, WinInet.h).
, , .
FACILITY_ITF ( 4, HRESULT 0x8004) , , ; , , .
, COM IErrorInfo : GetErrorInfo . ISupportErrorInfo InterfaceSupportsErrorInfo , , (, , , ).