摘要:
#include #include bool IsAppRunning(){ bool m_running = false; HANDLE hSnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); if (hSnapshot == INVALID_HANDLE_VALUE) { return m_running; } PROCESSENTRY32 pe = {0}; pe.dwSize = sizeof(PROCESSENTRY32); if (!Process32Fi... 阅读全文
posted @ 2013-12-18 16:14 浮萍晓生 阅读(252) 评论(0) 推荐(0) 编辑