usingnamespacestd; intKillProcess(DWORDpid){ HANDLEhProcess=OpenProcess(PROCESS_ALL_ACCESS,false,pid); if(hProcess==NULL){ printf("OpenProcess error\n"); } if(TerminateProcess(hProcess,0)){ printf("kill process success\n"); return0; } else{ printf("kill process faild\n"); return0; } ...