从进程ID得到句柄

return OpenProcess(PROCESS_ALL_ACCESS,TRUE,(DWORD)processID);
原文地址:https://www.cnblogs.com/xiaotaoliang/p/243761.html