CGenericList::Remove

 
Microsoft DirectShow 9.0

CGenericList::Remove

The Remove method removes the item at the specified position.

Syntax

  OBJECT *Remove(
    POSITION pos
);

Parameters

pos

POSITION value indicating the item to remove.

Return Value

Returns a pointer to an object of type OBJECT (the template type).

Remarks

This method deletes the node from the list, but does not delete the item contained in that node.

If pos is NULL, the method returns NULL.

Requirements

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

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

See Also