Compartilhar via


IEnumComponentTypes::Next

 
Microsoft DirectShow 9.0

IEnumComponentTypes::Next

The Next method retrieves the next n elements in the collection.

Syntax

  HRESULT Next(
    ULONG celt,
    IComponentType** pprgelt,
    ULONG* pceltFetched
    );

Parameters

celt

[in] The number of elements to retrieve.

pprgelt

[out, size_is(celt), length_is(*pceltFetched)] Address of an array of IComponentType interface pointers that will receive the returned ComponentType objects.

pceltFetched

[out] Pointer to a variable of type ULONG that will receive the number of elements actually retrieved.

Return Values

Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.

Requirements

Header: Dshow.h.

Library: Quartz.dll.

See Also