Share via


IEnumTuningSpaces::Next Method

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

Syntax

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

Parameters

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

  • pprgelt [out]
    Address of an array of ITuningSpace interface pointers that will receive the retrieved Tuning Space objects.

  • pceltFetched [out]
    Pointer to a variable of type ULONG that receives the number of elements actually retrieved.

Return Value

Returns S_OK if successful. This method will succeed even if celt is zero. 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

IEnumTuningSpaces Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008