| 131 | HHOOK g_hook = nullptr; |
| 132 | |
| 133 | bool IsWndClass(HWND hWnd, const TCHAR* classname) { |
| 134 | TCHAR buf[512]; |
| 135 | GetClassName(hWnd, buf, 512); |
| 136 | return _wcsicmp(classname, buf) == 0; |
| 137 | } |
| 138 | |
| 139 | bool IsUnityWndClass(HWND hWnd) { |
| 140 | return IsWndClass(hWnd, L"UnityContainerWndClass"); |
no outgoing calls
no test coverage detected