GetImageConfigInformation

The GetImageConfigInformation function locates and returns the load configuration data of an image.

BOOL GetImageConfigInformation(

IN PLOADED_IMAGE LoadedImage,  
OUT PIMAGE_LOAD_CONFIG_DIRECTORY ImageConfigInformation  
);  

Parameters

LoadedImage

A pointer to a LOADED_IMAGE structure that is returned from a call to MapAndLoad or LoadImage.

ImageConfigInformation

A pointer to an IMAGE_LOAD_CONFIG_DIRECTORY structure.

Return Values

If the function succeeds, the return value is TRUE.

If the function fails, then the return value is FALSE. To retrieve extended error information, call GetLastError.

Remarks

The GetImageConfigInformation function locates and returns the load configuration data of an image.