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