Compartilhar via


CGenericList::GetNext

 
Microsoft DirectShow 9.0

CGenericList::GetNext

The GetNext method retrieves the item at the specified position, and advances the position.

Syntax

  OBJECT *GetNext(
    POSITION& rp
);

Parameters

rp

Reference to a POSITION value.

Return Value

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

Remarks

This method advances the position indicator to the next position. If the position indicator moves past the end of the list, the method sets it to NULL.

If rp 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