Share via


IEnumComponentTypes::Next Method

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

Syntax

HRESULT Next(
  [in]   ULONG celt,
  [out]  IComponentType **pprgelt,
  [out]  ULONG *pceltFetched
);

Parameters

  • celt [in]
    The number of elements to retrieve.

  • pprgelt [out]
    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 Value

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

Requirements

Header Declared in Dshow.h.
DLL Requires Quartz.dll.

See Also

IEnumComponentTypes Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008