Microsoft DirectX 8.1 (C++)

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).

See Also