description | title | ms.date | ms.topic | dev_langs | helpviewer_keywords | author | ms.author | manager | ms.subservice | ||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the source code bytes. |
IDiaInjectedSource::get_source |
11/04/2016 |
reference |
|
|
mikejo5000 |
mikejo |
mijacobs |
debug-diagnostics |
Retrieves the source code bytes.
HRESULT get_source (
DWORD cbData,
DWORD* pcbData,
BYTE data[]
);
cbData
[in] The number of bytes that represents the size of the data buffer.
pcbData
[out] Returns the number of bytes that represents the bytes returned. If data
is NULL
, then pcbData
is the total number of bytes of data available.
data[]
[out] A buffer that is to be filled in with the source bytes.
If successful, returns S_OK
. Returns S_FALSE
if this property is not supported. Otherwise, returns an error code.