Microsoft DirectX 8.1 (C++) |
The AddAfter method inserts an item or list after the specified position.
Syntax
POSITION AddAfter(
POSITION p,
OBJECT *pObj
);
Parameters
p
Position after which to add the item. If p is NULL, the method adds the item to the head of the list.
pObj
Pointer to an object of type OBJECT (the template type).
Return Value
Returns the position indicator of the inserted item.
Syntax
BOOL AddAfter(
POSITION pos,
CGenericList<OBJECT> *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.
See Also