EDCS Reference Manual
Concept Mapping from EDCS 4.4 to FACC 2.1
Functions
EDCS to FACC MapAttributeWithValue
extern EDCS_Status_Code
EDCS_to_FACC_MapAttributeWithValue
(
EDCS_Attribute_Code ea_code_in, (notes)
constEDCS_Attribute_Value_Entry *attribute_value_in_ptr, (notes)
constFACC_Attribute_With_Value_Mapping_Structure **mapping_info_out_ptr (notes)
);

Definition

Retrieves FACC 2.1 mapping information for the given EDCS Attribute Code with the given specific value.


Returns

EDCS_SC_SUCCESS and a handle to the requested mapping information is copied into *mapping_info_out_ptr, if valid parameters were passed in.
EDCS_SC_NULL_REQUIRED_PARAMETER and *mapping_info_out_ptr is left unaltered, if any parameter was NULL.
EDCS_SC_OTHER_FAILURE and *mapping_info_out_ptr is left unaltered, if the mapping library has not been initialized with EDCS_to_FACC_InitMappingInfo().
EDCS_SC_INVALID_CODE and *mapping_info_out_ptr is set to NULL, if ea_code_in does not correspond to a valid EDCS 4.4 Attribute.

Parameters Notes


ea_code_in

the EDCS 4.4 Attribute Code for which FACC mapping information is being retrieved for the specific value represented in attribute_value_in_ptr

attribute_value_in_ptr

pointer to a structure containing the specific attribute being mapped.

mapping_info_out_ptr

pointer to a pointer variable in the user's memory space where a handle to the mapping information will be copied


Prev: EDCS_to_FACC_MapAttributeCode. Next: EDCS_to_FACC_MapClassificationCode. Up:Function Index.