NNS_FndGetNthListObject

Syntax

#include <nnsys/fnd.h>
void* NNS_FndGetNthListObject( const NNSFndList* list, u16 index );

Arguments

list Pointer to the list structure
index Object index

Return Values

Returns the pointer to the nth object designated with index. Returns NULL if no object is found.

Description

Returns a pointer to the index-th object from the top of the list. Returns NULL if a value greater than the number of objects in the list is designated in index. With this function, a process can be conducted to follow the objects in order from the top of the list, so the more objects connected at the end of the list, the longer it takes to process.

See Also

NNS_FndGetNextListObject
NNS_FndGetPrevListObject

Revision History

2004/10/21 Corrected See Also section.
2004/02/02 Initial version.


CONFIDENTIAL