CBaseList.AddBeforeI method

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
Wxlist.h (include Streams.h)
Library
Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CBaseList Class