processlist FindProcessByPID method
Return to Introduction  Previous page  Next page
Applies to
acProcessList component.  

function FindProcessByPID(PID: DWord; RefreshIfNotFound: Boolean = True): TacProcess;  

The FindProcessByPID method retrieves the pointer to TacProcess object by its process identifier. Set RefreshIfNotFound parameter to True, if you would like to refresh the list automatically if the process was not found in first try.  

See also
Refresh, FindProcessByPID, FindProcessByWnd, FindExeNameByPID, FindExeNameByWnd, FindDescriptionByPID, FindDescriptionByWnd, FindWindowTitleByPID and FindWindowTitleByWnd methods;  
TacProcess object.