Microsoft DirectX 9.0

CGenericList::AddTail

The AddTail method appends an item or list to the end of the list.

Syntax

POSITION AddTail(
    OBJECT *pObj
);

Parameters

pObj

Pointer to an object of type OBJECT (the template type).

Return Value

Returns a POSITION value for the new tail position. If the method fails, it returns NULL.

Syntax

BOOL AddTail(
    CGenericList<OBJECT> *pList
);

Parameters

pList

Pointer to the list to append.

Return Value

Returns TRUE if successful, or FALSE otherwise.

See Also