IDiaAddressMap::get_relativeVirtualAddressEnabled
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
Indicates whether the calculation and use of relative virtual addresses (RVA) is enabled.
Syntax
HRESULT get_relativeVirtualAddressEnabled (
BOOL* pRetVal
);
Parameters
pRetVal
[out] Returns TRUE
if the calculation of RVAs is enabled.
Return Value
If successful, returns S_OK
; otherwise, returns an error code.
Remarks
RVAs are enabled if the segments have been initially loaded from a PDB file. The use of RVAs can be temporarily disabled by calling the IDiaAddressMap::put_relativeVirtualAddressEnabled method.
Also, new image headers can be established by calling the IDiaAddressMap::set_imageHeaders method followed by a call to the put_relativeVirtualAddressEnabled
method to enable use of the RVAs using the new image headers.
See Also
IDiaAddressMap
IDiaAddressMap::set_imageHeaders
IDiaAddressMap::put_relativeVirtualAddressEnabled