Partager via


CBaseList::MoveToHead

 
Microsoft DirectShow 9.0

CBaseList::MoveToHead

The MoveToHead method splits the list and inserts the tail portion at the head of another list.

Syntax

  BOOL MoveToHead(
    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 before the position specified by the pos parameter. The head portion remains in the list. The tail portion is inserted at the head 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