Function Name: Label To CC

Definition

Given a string label, retrieves the equivalent EDCS Classification Code (ECC), if there is one.

Returns

EDCS_SUCCESS - and *result_out_ptr is set to the appropriate value, if valid parameters were passed in and all operations succeeded.

EDCS_NULL_REQUIRED_PARAMETER - and *result_out_ptr is left unaltered, if value_ptr or result_out_ptr is NULL.

EDCS_INVALID_CODE - and *result_out_ptr is set to EDCS_CC_NULL, if value_ptr does not represent a valid EDCS Classification Code (ECC).

Prototype


extern EDCS_STATUS_CODE_ENUM
EDCS_LabelToCC
(
constchar *value_ptr, (notes)
EDCS_CC_ID *result_out_ptr (notes)
);

Parameters Notes

value_ptr

 the string label of the EDCS Classification Code (ECC) being requested.

result_out_ptr

 pointer to a variable in the user's memory space where the answer
 will be stored.

Prev: Label To AC. Next: Lookup AC. Up:Index.