Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to know what tasks are running(Liket Task Manager)

Status
Not open for further replies.

decoy250

Technical User
Jan 11, 2003
1
SE
Can anyone please help me how to know which applications are running (as they are listed in the task manager!)
 
Code:
BOOL EnumProcesses(
  DWORD *lpidProcess,  // array of process identifiers
  DWORD cb,            // size of array
  DWORD *cbNeeded      // number of bytes returned
);

there are examples on MSDN that use this API to obtain a list of running processes.

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top