HRESULT_SEVERITY macro
Extracts the severity field of the specified HRESULT.
Syntax
DWORD HRESULT_SEVERITY( HRESULT hr );
Parameters
- hr
-
The HRESULT.
Return value
The severity field.
Remarks
This macro is defined as follows:
#define HRESULT_SEVERITY(hr) (((hr) >> 31) & 0x1)
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
See also
Show: