次の方法で共有


IDiaAddressMap::get_relativeVirtualAddressEnabled

[Note: This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

[このトピックはプレリリース版のため将来変更される可能性があります。また、プレースホルダとしてブランクのトピックが含まれています。]

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

IDiaAddressMap
IDiaAddressMap::set_imageHeaders
IDiaAddressMap::put_relativeVirtualAddressEnabled