EDCS Reference Manual
Functions
EDCS ValidUnitForAttribute
extern EDCS_Status_Code
EDCS_ValidUnitForAttribute
(
const EDCS_Unit_Code  eu_code_in,1
const EDCS_Attribute_Code  ea_code_in,2
EDCS_Boolean  *result_out_ptr3
);

Definition

Determines whether the given EU is valid for the specified EA.


Returns

EDCS_SC_SUCCESS and *result_out_ptr is set to the appropriate value, if valid parameters were passed in.
EDCS_SC_NULL_REQUIRED_PARAMETER and *result_out_ptr is left unchanged, if result_out_ptr is NULL.
EDCS_SC_INVALID_INPUT_CODE and *result_out_ptr is set to EDCS_FALSE, if eu_code_in or ea_code_in is invalid.

Parameters Notes

1 EU being checked

2 EA being checked

3 pointer to a variable in the user's memory space where the result will be copied


Prev: EDCS_ValidUnitEquivalenceCode. Next: EDCS_ValidUnitScaleCode. Up:Index.