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 erased.
If either the map or key argument is NULL.
If the specified key is not in the map.