processlist TacProcess object
Properties Methods
Return to Introduction  Previous page  Next page
Unit
acProcessList  

Declaration
type  
  TacProcess = class(TObject)  
  public  
    Data: Pointer;  
 
    function Kill: Boolean;  // returns True if succeed  
 
    property AppType: TacAppType;  
    property AppTypeNameString;  
    property DescriptionString;  
    property ExeNameString;  
    property ProcID: DWord;  
    property Windows: hWndArray;  
    property WindowTitleString;  
    property SystemIconIndex: Integer;  
    property SystemIcon16Handle: hIcon;  
    property SystemIcon32Handle: hIcon;  
  end;  

Description
The TacProcess object is the item of acProcessList component, which holds the information about the system process.  
 
Each TacProcess object contains brief information about the process (it's executable file name, description, application type, process identifier, icon index in the system image list and the list of windows which belongs to the process). Also, it allows to terminate the process using its Kill method.