Microsoft DirectX 8.1 (C++)

CBaseList::Prev

The Prev method retrieves the previous position in the list.

Syntax

POSITION Prev(
    POSITION pos
);

Parameters

pos

POSITION value.

Return Value

Returns the position indicator that is previous to the position specified in pos.

Remarks

If pos is the first position in the list, the method returns NULL. If pos is NULL, the method returns the last position in the list.

See Also