Stores information about the processes currently running on the system into an array.
AProcesses(cArrayName)
Parameters
- cArrayName
On return the array contains the following information from the PROCESSENTRY32 structure. Column Content Datatype 1 Executable filename C 2 Process ID N 3 Parent Process ID N 4 Number of threads N 5 Base Priority Class N
Return Value
The number of processes.
See Also
Reference
AHeapBlocks
AProcessHeaps
AProcessModules
AProcessThreads
Used WinApi functions
CreateToolhelp32Snapshot
Process32First
Process32Next
EnumProcesses (Windows NT only)
OpenProcess (Windows NT only)
EnumProcessModules (Windows NT only)
NtQueryInformationProcess (Windows NT only)
CloseHandle (Windows NT only)