CGenericList::AddTail

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

Requirements

**  Header:** Declared in Wxlist.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also