Share via


CBaseList::Next (Compact 2013)

3/26/2014

Retrieves the next position in the list.

Syntax

POSITION Next(
  POSITION pos
);

Parameters

  • pos
    Current position in the list.

Return Value

Returns a position cursor.

Remarks

This member function returns NULL when going past the beginning of the list.

Calling the CBaseList::Next member function with a null value is similar to calling the CBaseList::GetHeadPositionI member function.

To return the object at the returned position, use the CBaseList::GetI member function.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBaseList Class