IDiaAddressMap::get_imageAlign
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 current image alignment.
Syntax
HRESULT get_imageAlign (
DWORD* pRetVal
);
Parameters
pRetVal
[out] Returns the image alignment value from the executable.
Return Value
If successful, returns S_OK
; otherwise, returns an error code.
Remarks
Images are aligned to specific memory boundaries depending how the image was loaded and created. The alignment is typically on 1, 2, 4, 8, 16, 32, or 64 byte boundaries. The image alignment can be set with a call to the IDiaAddressMap::put_imageAlign method.