Share via


IDiaAddressMap::get_addressMapEnabled

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. 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 an address map has been established for a particular session.

Syntax

HRESULT get_addressMapEnabled ( 
   BOOL* pRetVal
);

Parameters

pRetVal

[out] Returns TRUE if the address mapping is enabled.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

Executable post-processors sometimes update the executable. DIA contains a mechanism to support the translation of symbols to the new layout.

Client applications can set the address map for a particular session by getting the IDiaAddressMap interface from the IDiaSession interface and calling the IDiaAddressMap::set_addressMap method followed by a call to the IDiaAddressMap::put_addressMapEnabled method. The get_addressMapEnabled method returns the results of calling the put_addressMapEnabled method.

See also