Compartilhar via


IDiaAddressMap::get_relativeVirtualAddressEnabled

Indicates whether the calculation and use of relative virtual addresses (RVA) is enabled.

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

Reference

IDiaAddressMap

IDiaAddressMap::set_imageHeaders

IDiaAddressMap::put_relativeVirtualAddressEnabled