Microsoft DirectX 9.0 |
The Next method retrieves the next n elements in the collection.
Syntax
HRESULT Next(
ULONG celt,
ITuningSpace** 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 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 Values
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.
See Also