Udostępnij za pośrednictwem


IDiaEnumDebugStreamData::Item

Retrieves the specified record.

HRESULT Item ( 
   DWORD  index,
   DWORD  cbData,
   DWORD* pcbData,
   BYTE   data[]
);

Parameters

  • index
    [in] Index of the record to be retrieved. The index is in the range 0 to count-1, where count is returned by IDiaEnumDebugStreamData::get_Count.

  • 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 in the specified record.

  • data[]
    [out] A buffer that is filled in with the debug stream record data.

Return Value

If successful, returns S_OK; otherwise, returns an error code. Returns E_INVALIDARG for invalid parameters and if the index parameter is out of bounds.

See Also

Reference

IDiaEnumDebugStreamData

IDiaEnumDebugStreamData::Next

IDiaEnumDebugStreams::Item

IDiaEnumDebugStreamData::get_Count

IDiaEnumDebugStreamData::Skip