CBaseList::Prev

 
Microsoft DirectShow 9.0

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.

Requirements

**  Header:** Declared in Wxlist.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also