Stores information about the modules (DLL's) loaded by a process into an array.

AProcessModules(cArrayName, nProcessID)

Parameters

cArrayName
On return the array contains the following information from the MODULEENTRY32 structure.
ColumnContentDatatype
1ModuleC
2Executable pathC
3Module handleN
4Base SizeN
5Base AddressN
nProcessID

The process ID of the process for which to enumerate the loaded modules.

Return Value

The number of modules.

See Also

Reference

AHeapBlocks
AProcesses
AProcessHeaps
AProcessThreads

Used WinApi functions

CreateToolhelp32Snapshot
Module32First
Module32Next