Maintains a list of loaded DLLs.
PLOADED_IMAGE IMAGEAPI ImageLoad( PCSTR DllName, PCSTR DllPath );
The name of the image.
The path used to locate the image if the name provided cannot be found. If NULL is used, then the search path rules set forth in the SearchPath function apply.
If the function succeeds, the return value is a pointer to a LOADED_IMAGE structure.
If the function fails, the return value is NULL. To retrieve extended error information, call GetLastError.
The ImageLoad function is used to maintain a list of loaded DLLs. If the image has already been loaded, the prior LOADED_IMAGE is returned. Otherwise, the new image is added to the list.
All ImageHlp functions, such as this one, are single threaded. Therefore, calls from more than one thread to this function will likely result in unexpected behavior or memory corruption. To avoid this, you must synchronize all concurrent calls from more than one thread to this function.
|Minimum supported client||Windows XP [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|