ImageUnload

The ImageUnload function is used to deallocate resources from a previous call to the ImageLoad function.

BOOL ImageUnload(

IN PLOADED_IMAGE LoadedImage  
);  

Parameters

LoadedImage

A pointer to a LOADED_IMAGE structure that is returned from a call to the ImageLoad function.

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

Use this function to deallocate resources from a previous call to ImageLoad.