Function Name: Label To AC

Definition

Given a string label, retrieves the equivalent EDCS Attribute Code (EAC), 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_AC_NULL, if value_ptr does not represent a valid EDCS Attribute Code (EAC).

Prototype


extern EDCS_STATUS_CODE_ENUM
EDCS_LabelToAC
(
constchar *value_ptr, (notes)
EDCS_AC_ID *result_out_ptr (notes)
);

Parameters Notes

value_ptr

 the string label of the EDCS Attribute Code (EAC) being requested.

result_out_ptr

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

Prev: Is State Code. Next: Label To CC. Up:Index.