Partager via


CBaseList::AddAfter

 
Microsoft DirectShow 9.0

CBaseList::AddAfter

The AddAfter method inserts a list after the specified position.

Syntax

  BOOL AddAfter(
    POSITION pos,
    CBaseList *pList
);

Parameters

pos

Position after which to insert the list.

pList

Pointer to the list to insert.

Return Value

Returns TRUE if successful, or FALSE otherwise.

Return Remarks

Existing position indicators, including the one specified in the pos parameter, remain valid. If the method fails, some of the items might have been added.

Requirements

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

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

See Also