How do i get the process handle of another program

Started by
2 comments, last by calculator 22 years, 8 months ago
how do i get the process handle of another program ie. Getcurrentprocess() gets pseudohandle for the current process, how do i get the pseudohandle for another program? I know the processId, the hwnd of the program but i need the process handle of the program. thank you.
Advertisement
DWORD pid = 0;
GetWindowThreadProcessId(hWnd, &pid);


Arkon
[QSoft Systems]
This is for getting processID which i already know... I have the hwnd and the processID, how do i get the pseudohandle(process handle) for another program? Thank you.
up...

This topic is closed to new replies.

Advertisement