Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.04 KB

idiainjectedsource-get-source.md

File metadata and controls

50 lines (35 loc) · 1.04 KB
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
C++
IDiaInjectedSource::get_source method
mikejo5000
mikejo
mijacobs
debug-diagnostics

IDiaInjectedSource::get_source

Retrieves the source code bytes.

Syntax

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

Parameters

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.

Return Value

If successful, returns S_OK. Returns S_FALSE if this property is not supported. Otherwise, returns an error code.

See also