Edit

Share via


IDiaImageData::get_imageBase

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 might 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