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