Platform SDK: Debugging and Error Handling |
The ImageLoad function maintains a list of loaded DLLs.
PLOADED_IMAGE ImageLoad( PSTR DllName, PSTR 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/2000: Requires Windows NT 4.0 or later.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in Imagehlp.h.
Library: Use Imagehlp.lib.
Image Help Library Overview, ImageHlp Functions, ImageUnload, LOADED_IMAGE