Platform SDK: Debugging and Error Handling |
The EnumLoadedModulesProc function is an application-defined callback function used with the EnumerateLoadedModules function.
The PENUMLOADED_MODULES_CALLBACK type defines a pointer to this callback function. EnumLoadedModulesProc is a placeholder for the application-defined function name.
BOOL EnumLoadedModulesProc( PSTR ModuleName, ULONG ModuleBase, ULONG ModuleSize, PVOID UserContext );
The PENUMLOADED_MODULES_CALLBACK64 type defines a pointer to this callback function. EnumLoadedModulesProc64 is a placeholder for the application-defined function name.
BOOL EnumLoadedModulesProc64( PSTR ModuleName, DWORD64 ModuleBase, ULONG ModuleSize, PVOID UserContext );
To continue enumeration, the callback function must return TRUE.
To stop enumeration, the callback function must return FALSE.
Windows NT/2000: Requires Windows 2000. Available as a redistributable for Windows NT 4.0.
Windows 95/98: Requires Available as a redistributable for Windows 98.
Header: Declared in Dbghelp.h.
Debug Help Library Overview, DbgHelp Functions, EnumerateLoadedModules