摘要:
/// <summary> /// 判断是否重复运行 /// </summary> /// <returns>FALSE 没运行,TRUE 已运行</returns> BOOL IsAlreadyRun() { HANDLE hMutex = NULL; hMutex = ::CreateMutex 阅读全文
摘要:
/// <summary> /// 模块遍历 /// </summary> /// <param name="dwProcessId">进程PID</param> /// <returns></returns> BOOL EnumProcessModule(DWORD dwProcessId) { 阅读全文
摘要:
/// <summary> /// 线程遍历 /// </summary> /// <returns></returns> BOOL EnumThread() { THREADENTRY32 te32 = { 0 }; te32.dwSize = sizeof(THREADENTRY32); HAN 阅读全文
摘要:
/// <summary> /// 进程遍历 /// </summary> /// <returns></returns> BOOL EnumProcess() { PROCESSENTRY32 pe32 = { 0 }; pe32.dwSize = sizeof(PROCESSENTRY32); 阅读全文
摘要:
/// <summary> /// 提示错误代码 /// </summary> /// <param name="lpszText">提示内容</param> VOID ShowError(TCHAR* lpszText) { TCHAR szErr[MAX_PATH] = { 0 }; ::wsp 阅读全文
摘要:
/// <summary> /// 获取模块地址 /// </summary> /// <param name="pid">进程PID</param> /// <param name="ModuleName">模块名称</param> /// <param name="StartAddress">开 阅读全文