Microsoft Windows CE 3.0  

CBaseList::Prev

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 previous position in the list.

POSITION Prev(
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 end of the list. Calling the CBaseList::Prevmember function with a null value is similar to calling the CBaseList::GetTailPositionImember function.

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