Hello im an IT student & currently following OS as a subject... I would like to know how to get da Process ID & process attributes of a running process. Is thereAny methods to be used ?? in windows 2000 ofcourse Thankx in advance !!
Now one can enumerate processes on Win9x, WinNT or Win2000 machines using new Microsoft technology WMI.
It's a set of COM interfaces that are very easy to use and give full information about working processes on local or remote computer.
With minor chages you can easely get information on anything on computer (threads, hard disks, heat pipe cooling devices... etc.).
Here's a small sample, showing how to enumerate processes on local computer :