Lines Matching refs:StatusCode
965 @param StatusCode The status code value to convert into a warning code.
966 StatusCode must be in the range 0x00000000..0x7FFFFFFF.
968 @return The value specified by StatusCode with the highest bit set.
971 #define ENCODE_ERROR(StatusCode) ((RETURN_STATUS)(MAX_BIT | (StatusCode)))
976 @param StatusCode The status code value to convert into a warning code.
977 StatusCode must be in the range 0x00000000..0x7FFFFFFF.
979 @return The value specified by StatusCode with the highest bit clear.
982 #define ENCODE_WARNING(StatusCode) ((RETURN_STATUS)(StatusCode))
987 This function returns TRUE if StatusCode has the high bit set. Otherwise, FALSE is returned.
989 @param StatusCode The status code value to evaluate.
991 @retval TRUE The high bit of StatusCode is set.
992 @retval FALSE The high bit of StatusCode is clear.
995 #define RETURN_ERROR(StatusCode) (((INTN)(RETURN_STATUS)(StatusCode)) < 0)