EDCS Reference Manual
Concept Mapping from EDCS 3.1 to EDCS 4.x Functions
EDCS 3p1CharacteristicCodeFromLabel
extern EDCS_Status_Code
EDCS_3p1CharacteristicCodeFromLabel
(
const char  *ev_3p1_label_in,1
const EDCS_Integer  *ev_3p1_code_out2
);

Definition

Retrieves integer-based characteristic code for the given EDCS 3.1 characteristic label.


Returns

EDCS_SC_SUCCESS and the requested characteristic code is copied into *ev_3p1_code_out, if valid parameters were passed in.
EDCS_SC_NULL_REQUIRED_PARAMETER and *ev_3p1_code_out is left unaltered, if any parameter was NULL.
EDCS_SC_INVALID_INPUT_LABEL and *ev_3p1_code_out is set to 0, if *ev_3p1_label_in does not correspond to a valid EDCS 3.1 characteristic.

Parameters Notes

1 the EDCS 3.1 characteristic label whose EDCS 3.1 code is being retrieved.

2 pointer to a pointer variable in the user's memory space where the EDCS 3.1 characteristic code value will be copied.


Prev: EDCS_3p1AttributeCodeFromLabel. Next: EDCS_3p1ClassificationCodeFromLabel. Up:Index.