IDiaImageData::get_imageBase
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
Retrieves the memory location where the image should be based.
Syntax
HRESULT get_imageBase (
ULONGLONG* pRetVal
);
Parameters
pRetVal
[out] Returns the suggested image base value.
Return Value
If successful, returns S_OK
; otherwise, returns an error code.
Remarks
Due to image base conflicts, an image may be rebased automatically to an unused memory location when it is loaded. This method returns the base hint (suggested memory location) that was stored in the module at compile time.