EDCS Reference Manual
Functions
EDCS ValidUnitForAttribute
extern EDCS_Status_Code
EDCS_ValidUnitForAttribute
(
constEDCS_Unit_Code eu_code_in, (notes)
constEDCS_Attribute_Code ea_code_in, (notes)
EDCS_Boolean *result_out_ptr (notes)
);

Definition

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


Returns

EDCS_SC_SUCCESSEDCS_SC_SUCCESS and *result_out_ptr is set to the appropriate value, if valid parameters were passed in.
EDCS_SC_NULL_REQUIRED_PARAMETER EDCS_SC_NULL_REQUIRED_PARAMETER and *result_out_ptr is left unchanged, if result_out_ptr is NULL.
EDCS_SC_INVALID_INPUT_CODE 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


eu_code_in

 EU being checked

ea_code_in

 EA being checked

result_out_ptr

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


Prev: EDCS_ValidUnitEquivalenceDictionaryEntry. Next: EDCS_ValidUnitStatus. Up:Index.

Last updated: August 23, 2005 Copyright © 2005 SEDRIS