The ImageLoad function maintains a list of loaded DLLs.
PLOADED_IMAGE ImageLoad(
IN LPSTR DllName,
IN LPSTR DllPath
);
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.
The LOADED_IMAGE structure must be deallocated by the ImageUnload function.
Windows NT: Requires version 4.0 or later.
Windows: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Windows CE: Unsupported.
Header: Declared in imagehlp.h.
Import Library: Use imagehlp.lib.
PE Image Helper (ImageHlp) Overview, Image Access, ImageUnload, LOADED_IMAGE