#define HRESULT_SEVERITY(hr) (((hr) >> 31) & 0x1)
Returns the severity bit from the HRESULT.
Windows NT: Use version 3.1 or later. Windows: Use Windows 95 or later. Windows CE: Unsupported. Header: Declared in winerror.h.