Share via


CBaseList::MoveToTail

 
Microsoft DirectShow 9.0

CBaseList::MoveToTail

The MoveToTail method splits the list and appends the head portion to the tail of another list.

Syntax

  BOOL MoveToTail(
    POSITION pos,
    CBaseList *pList
);

Parameters

pos

Position indicator that marks the split in the list.

pList

Pointer to another list.

Return Value

Returns TRUE if successful, or FALSE otherwise.

Remarks

This method splits the list after the position specified by the pos parameter. The tail portion remains in the list. The head portion is appended to the tail of the other list.

Requirements

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

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

See Also