| 50 | } |
| 51 | |
| 52 | bool FindProcess(ULONG pid) { |
| 53 | if (g_ProtectData.PidsCount == 0) |
| 54 | return false; |
| 55 | |
| 56 | for (int i = 0; i < MaxPids; i++) |
| 57 | if (g_ProtectData.Pids[i] == pid) |
| 58 | return true; |
| 59 | return false; |
| 60 | } |
| 61 | |
| 62 | bool AddProcess(ULONG pid) { |
| 63 | for (int i = 0; i < MaxPids; i++) |