CBaseList::AddAfterI

 
Microsoft DirectShow 9.0

CBaseList::AddAfterI

The AddAfterI method inserts an item after the specified position.

Syntax

  POSITION AddAfterI(
    POSITION pos,
    void *pObj
);

Parameters

pos

Position after which to add the item.

pObj

Pointer to the item to add.

Return Value

Returns the position indicator of the inserted item.

Remarks

If pos is NULL, this method adds the item to the head of the list (equivalent to calling the CBaseList::AddHeadI method.)

Requirements

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

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

See Also