Udostępnij za pośrednictwem


IDiaEnumDebugStreamData::Next

Retrieves a specified number of records in the enumerated sequence.

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

Reference

IDiaEnumDebugStreamData

IDiaEnumDebugStreams::Next