다음을 통해 공유


IEnumTuningSpaces::Next method (tuner.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

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

Syntax

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

Parameters

[in] celt

The number of elements to retrieve.

[out] rgelt

Address of an array of ITuningSpace interface pointers that will receive the retrieved Tuning Space objects.

[out] pceltFetched

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

Requirement Value
Minimum supported client Windows�XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header tuner.h

See also

IEnumTuningSpaces Interface