version 2003
PA_CountTotalProcess long
| Parameter | Type | Description | ||||
| This command does not require any parameters | ||||||
| Function result | long | Count of all processes, including aborted one. | ||||
Description
The routine PA_CountTotalProcess returns the total number of processes listed in the process table, including aborted processes. To get only the count of running processes, call PA_CountActiveProcess.
Example
Get free space in the 4D process list
return ( PA_CountTotalProcess() - PA_CountActiveProcess() );
See Also
Error Handling
PA_GetLastError always returns eER_NoErr