|Microsoft DirectX 9.0|
The Next method retrieves the next n elements in the collection.
HRESULT Next( ULONG cRequest, STREAM_ID_MAP* pStreamIdMap, ULONG* pcReceived );
[in] The number of elements to retrieve.
[in, out, size_is (cRequest)] Address of a user-allocated array containing cRequest elements that will receive the retrieved STREAM_ID_MAP structures.
[out] Pointer to a variable of type ULONG that receives the number of elements actually retrieved.
Returns S_OK if successful. If the method fails,an HRESULT error code is returned.
If cRequest> = 0 and pcReceived is not NULL, upon return pcReceived contains the number of stream ID maps remaining in the collection.