次の方法で共有


IDiaEnumDebugStreamData::Item

[Note: This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

[このトピックはプレリリース版のため将来変更される可能性があります。また、プレースホルダとしてブランクのトピックが含まれています。]

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

IDiaEnumDebugStreamData
IDiaEnumDebugStreamData::Next
IDiaEnumDebugStreams::Item
IDiaEnumDebugStreamData::get_Count
IDiaEnumDebugStreamData::Skip