IDiaSession::get_loadAddress
Примечание
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.
HRESULT get_loadAddress (
ULONGLONG* pRetVal
);
pRetVal
[out] Returns a virtual address (VA) where an .exe file or .dll file is loaded.
If successful, returns S_OK
; otherwise, returns an error code.
The returned load address is always zero unless specifically set using the IDiaSession::put_loadAddress method.