PA_CountTotalProcess

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_CountTotalProcess long

ParameterTypeDescription
This command does not require any parameters
Function resultlongCount 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

PA_CountActiveProcess.

Error Handling

PA_GetLastError always returns eER_NoErr


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next