Possible Duplicate:
Windows API's which will show the running processes
How do I get the process ID of all the processes of the iexplorer.exe? getcurrentprocessid()
is getting the parent process id when I inject my DLL in the iexplorer.exe process.
How can I do this?