IS_ERROR 5.X8_PB
#define IS_ERROR(Status) ((unsigned long)(Status) >> 31 == SEVERITY_ERROR)
Provides a generic test for errors on any status value.