Partager via


CBaseList::Prev (Compact 2013)

3/26/2014

Retrieves the previous position in the list.

Syntax

POSITION Prev(
  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 end of the list.

Calling the CBaseList::Prev member function with a null value is similar to calling the CBaseList::GetTailPositionI 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