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
相关文章
相关标签/搜索