This function returns one of the following values of the am_status_t enumeration (defined in the <am_types.h> header file):
If no error is detected.
If unable to allocate memory for the entry iterator object.
If entry_iter_ptr is NULL.
If the specified map object contains no keys.