This function returns one of the following values of the am_status_t enumeration (defined in the <am_types.h> header file):
If the entry was successfully inserted into the map object.
If unable to allocate memory for the value and, if necessary, the key.
If either the map, key, or value argument is NULL.