IEnumDebugCodeContexts::Next

Retrieves a specified number of segments in the enumeration sequence.

Syntax

HRESULT Next(  
   ULONG                celt,  
   IDebugCodeContext**  pscc,  
   ULONG*               pceltFetched  
);  

Parameters

celt
[in] The number of segments to retrieve.

pscc
[out] Returns an array of IDebugCodeContext interfaces that represents the segments being retrieved.

pceltFetched
[out] The actual number of segments fetched by the enumerator.

Return Value

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.

Remarks

This method retrieves a specified number of segments in the enumeration sequence.

See also

IEnumDebugCodeContexts Interface