IDebugHostFunctionIntrospection2::FindSourceLocationByRVA method (dbgmodel.h)
The FindSourceLocationByRVA method retrieves the source file name and the line number for a specific Relative Virtual Address (RVA).
Syntax
HRESULT FindSourceLocationByRVA(
ULONG64 rva,
BSTR *sourceFile,
ULONG64 *sourceLine
);
Parameters
rva
A ULONG64 value that specifies the Relative Virtual Address.
sourceFile
A pointer to a BSTR variable. This parameter receives the source file name.
sourceLine
A pointer to a ULONG64 variable. This parameter receives the source line number.
Return value
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Header | dbgmodel.h |