JCL Help:GetTasksList

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns a list of running tasks.


Pascal

 function GetTasksList(const List: TStrings): Boolean;


Parameters

Parameters Description
const List: TStrings List which receives the running tasks.


Return Value

If the function succeeds it returns True, otherwise it returns False. In this latter case the contents of the list are undefined.


Description

Returns a list of running tasks. This is similar to the items visible on the Applications tab of the Windows NT task manager. The routine uses a similar method to discover all running tasks (described on http://msdn.microsoft.com/library/periodic/period97/win321197.htm) but is not always accurate.


About

Unit

JclSysInfo


Donator

Petr Vones


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page