Microsoft DirectX 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.

See Also