how to get process handle from process id?

OpenProcess(PROCESS_ALL_ACCESS, TRUE, procId);

You’ll need to verify that you’re using a valid process ID, and that you’re permitted the access rights you request from the process.

Leave a Comment