Microsoft Windows CE 3.0  

CBaseList::Next

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Retrieves the next position in the list.

POSITION Next(
POSITION
pos
);

Parameters

pos
Current position in the list.

Return Values

Returns a position cursor.

Remarks

This member function returns NULL when going past the beginning of the list. Calling the CBaseList::Nextmember function with a null value is similar to calling the CBaseList::GetHeadPositionImember function.

Use the CBaseList::GetImember function to return the object at the returned position.