This commit is contained in:
2026-07-28 15:11:47 +08:00
parent 9b00c5f6eb
commit e91e372b19
80 changed files with 246075 additions and 0 deletions
+68
View File
@@ -0,0 +1,68 @@
#include "active_check.h"
#include "utils.h"
namespace active_check
{
auto check_awesun_process() -> bool
{
auto dwPid = utils::GetProcessByName(L"AweSun.exe");
auto hwnd = FindWindow(L"FLUTTERVIEW", NULL);
if (dwPid || hwnd)
return true;
return false;
}
auto check_todesk_process() -> bool
{
auto dwPid = utils::GetProcessByName(L"ToDesk.exe");
auto hwnd = FindWindow(NULL, L"ToDesk");
if (dwPid || hwnd)
return true;
return false;
}
auto check_asklink_process() -> bool
{
auto dwPid = utils::GetProcessByName(L"AskLink.exe");
auto hwnd = FindWindow(NULL, L"AskLink");
if (dwPid || hwnd)
return true;
return false;
}
auto check_uu_remote_process() -> bool
{
auto dwPid = utils::GetProcessByName(L"GameViewer.exe");
auto hwnd = FindWindow(NULL, L"ÍøÒ×UUÔ¶³Ì");
if (dwPid || hwnd)
return true;
return false;
}
auto check_remote_app_process() -> bool
{
if (check_awesun_process() ||
check_todesk_process() ||
check_asklink_process() ||
check_uu_remote_process())
{
return true;
}
return false;
}
}