Share via


CBaseList::AddBeforeI

 
Microsoft DirectShow 9.0

CBaseList::AddBeforeI

The AddBeforeI method inserts an item before the specified position.

Syntax

  POSITION AddBeforeI(
    POSITION pos,
    void *pObj
);

Parameters

pos

Position before which to add the item.

pObj

Pointer to the item.

Return Value

Returns the position indicator for the inserted item.

Remarks

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

Requirements

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

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

See Also