JCL Help:LoadedModulesList

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the list of modules loaded by a process.


Pascal

 function LoadedModulesList(const List: TStrings; ProcessID: DWORD; HandlesOnly: Boolean = False): Boolean;


Parameters

Parameters Description
const List: TStrings List which receives the name of each loaded module. Each entry contains the full path to the modules image file.
ProcessID: DWORD Process ID of the process for which you want a list of loaded modules. To get the list of modules for the current process pass in the return value of the GetCurrentProcessID API function.


Return Value

If the function it returns True, otherwise it returns False. In this latter case the contents of the list are undefined.


Description

Returns a list of modules (dynamic link libraries) which are in use (loaded) by the process specified by ProcessID.


About

Unit

JclSysInfo


Donator

Petr Vones


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page