Compartilhar via


IDiaEnumDebugStreamData::Next

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Retrieves a specified number of records in the enumerated sequence.

Syntax

HRESULT Next (   
   ULONG  celt,  
   DWORD  cbData,  
   DWORD* pcbData,  
   BYTE   data[],  
   ULONG* pceltFetched  
);  

Parameters

celt
[in] The number of records to be retrieved.

cbData
[in] Size of the data buffer, in bytes.

pcbData
[out] Returns the number of bytes returned. If data is NULL, then pcbData contains the total number of bytes of data available for all requested records.

data[]
[out] A buffer that is to be filled with the debug stream record data.

pceltFetched
[in, out] Returns the number of records in data.

Return Value

If successful, returns S_OK. Returns S_FALSE if there are no more records. Otherwise, returns an error code.

See Also

IDiaEnumDebugStreamData
IDiaEnumDebugStreams::Next