The Next method retrieves a specified number of segments in the enumeration sequence.
HRESULT Next( ULONG celt, IRemoteDebugApplicationThread** pprdat, ULONG* pceltFetched );
- celt
 [in] The number of segments to retrieve.
- pprdat
 [out] Returns an array of IRemoteDebugApplicationThread interfaces that represents the segments being retrieved.
- pceltFetched
 [out] The actual number of segments fetched by the enumerator.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Value  | Description  | 
|---|---|
S_OK  | The method succeeded.  | 
This method retrieves a specified number of segments in the enumeration sequence.