IDiaSession::get_loadAddress
Note
This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
Retrieves the load address for the executable file that corresponds to the symbols in this symbol store.
Syntax
HRESULT get_loadAddress (
ULONGLONG* pRetVal
);
Parameters
pRetVal
[out] Returns a virtual address (VA) where an .exe file or .dll file is loaded.
Return Value
If successful, returns S_OK
; otherwise, returns an error code.
Remarks
The returned load address is always zero unless specifically set using the IDiaSession::put_loadAddress method.