Skip to content

Latest commit

 

History

History
73 lines (59 loc) · 1.59 KB

nf-winerror-hresult_severity.md

File metadata and controls

73 lines (59 loc) · 1.59 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:winerror.HRESULT_SEVERITY
HRESULT_SEVERITY macro (winerror.h)
Extracts the severity field of the specified HRESULT.
HRESULT_SEVERITY
HRESULT_SEVERITY macro [COM]
_com_HRESULT_SEVERITY
com.hresult_severity
com.hresult_severity_macro
winerror/HRESULT_SEVERITY
com\hresult_severity_macro.htm
com
e574ddc2-e950-4618-bc16-1b99989a4a68
12/05/2018
HRESULT_SEVERITY, HRESULT_SEVERITY macro [COM], _com_HRESULT_SEVERITY, com.hresult_severity, com.hresult_severity_macro, winerror/HRESULT_SEVERITY
winerror.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Windows
19H1
HRESULT_SEVERITY
winerror/HRESULT_SEVERITY
c++
APIRef
kbSyntax
HeaderDef
Winerror.h
HRESULT_SEVERITY

HRESULT_SEVERITY macro

-description

Extracts the severity field of the specified HRESULT.

-parameters

-param hr

The HRESULT.

-remarks

This macro is defined as follows:

#define HRESULT_SEVERITY(hr)  (((hr) >> 31) & 0x1)

-see-also

Error Handling