IDiaImageData::get_imageBase

Retrieves the memory location where the image should be based.

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.

See Also

Reference

IDiaImageData