Share via


CBaseList::Next

 
Microsoft DirectShow 9.0

CBaseList::Next

The Next method retrieves the next position in the list.

Syntax

  POSITION Next(
    POSITION pos
);

Parameters

pos

POSITION value.

Return Value

Returns the position indicator that follows the position specified by pos.

Remarks

If pos is the last position in the list, the method returns NULL. If pos is NULL, the method returns the first 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