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 was detected.
If unable to allocate memory for the key iterator.
If the value_iter_ptr argument is NULL.
If value_iter_ptr is not NULL and an error is returned, the location that it references will be set to NULL.
If the entry_iter argument is NULL or does not reference a valid entry.