Skip to content

Latest commit

 

History

History
74 lines (60 loc) · 1.55 KB

nf-winerror-is_error.md

File metadata and controls

74 lines (60 loc) · 1.55 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.IS_ERROR
IS_ERROR macro (winerror.h)
Provides a generic test for errors on any status value.
IS_ERROR
IS_ERROR macro [COM]
_com_IS_ERROR
com.is_error
com.is_error_macro
winerror/IS_ERROR
com\is_error_macro.htm
com
74497f4b-1c88-4c8a-b9e7-606e77364f48
12/05/2018
IS_ERROR, IS_ERROR macro [COM], _com_IS_ERROR, com.is_error, com.is_error_macro, winerror/IS_ERROR
winerror.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Windows
19H1
IS_ERROR
winerror/IS_ERROR
c++
APIRef
kbSyntax
HeaderDef
Winerror.h
IS_ERROR

IS_ERROR macro

-description

Provides a generic test for errors on any status value.

-parameters

-param Status

The status code. This value can be an HRESULT or an SCODE.

-remarks

This macro is defined as follows:

#define SEVERITY_ERROR     1
#define IS_ERROR(Status) (((unsigned long)(Status)) >> 31 == SEVERITY_ERROR)

-see-also

Error Handling