|Microsoft DirectX 9.0|
The Next method retrieves the next n elements in the collection.
HRESULT Next( ULONG cRequest, PID_MAP* pPIDMap, ULONG* pcReceived );
[in] The number of elements to retrieve.
[in, out] Address of an array allocated by the caller, containing cRequest elements. The array is filled with PID_MAP structures that describe the PID mapping.
[out] Pointer to a variable that receives the number of elements actually retrieved. This parameter cannot be NULL. If cRequest equals zero, this parameter receives the total number of items in the collection.
Returns an HRESULT value. Possible values include the following.
|E_INVALIDARG||Invalid argument; pPidMap and pcReceived cannot be NULL.|
|S_FALSE||Reached the end of the collection.|