Windows中根據進程名找到進程並殺死

  #include <windows.h> #include <stdio.h> #include <shellapi.h> #include <tlhelp32.h> int SearchProcessByName(const char * process_name, int kill_if_found) { int found = 0; PROCESSENTRY32 entry; e
相關文章
相關標籤/搜索