#include <nnsys/fnd.h>
void* NNS_FndGetNextListObject( const NNSFndList* list, const void* object );
list |
Pointer to the list structure |
object |
Pointer to the current object |
Returns the pointer to the next object from the designated object. Returns NULL
if there is no next object.
Returns the pointer to the next object in the list designated with object
. Returns the pointer to the object connected to the top of the list if object
is set to NULL
. Returns NULL
if there is no next object.
The following process can be performed to access all objects in order from the top of the list.
void* object = NULL;
while ( ( object = NNS_FndGetNextListObject( list , object ) ) != NULL )
{
......
}
NNS_FndGetPrevListObject
NNS_FndNthListObject
2004/10/21 Corrected the sample code in Description.
2004/02/02 Initial version.
CONFIDENTIAL