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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

All Process ID 1

Status
Not open for further replies.

JustBeginer

Programmer
Mar 13, 2003
39
0
0
How can I see the list of the all ProcessID. Somethink like Task Manager on WIN 2000.
 
You can do that with the EnumProcesses API.
Greetings,
Rick
 
Rick thanks. But this function don't work under XP. I am forgot to write this.
 
It doesn't?

Does it say why not?
I have no experience with XP...
Greetings,
Rick
 
EnumProcesses might be restricted by policy, try it again running as an administrator.
 
This Sample "Enumerating All Processes" given in MSDN will work fine..please check Group Policy snap in then login as admin
 
Hi,

I am new to WinAPI, i can't found EnumProcesses api function but EnumWindows, How to use EnumProcesses API function?

Thanks a lot.
 
EnumProcesses
It is one of the SDK apis

Requires Windows NT 4.0 or later.
Header: Declared in Psapi.h.
Library: Use Psapi.lib.

You can find how to use it in MSDN.

best luck


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top