Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
eschan145 committed Jan 17, 2025
1 parent 8ff7b25 commit c528a2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ bool taskkill(DWORD identifier) {
}

void CALLBACK sweep(HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime) {
std::cout << "Sweeping\n";
HANDLE snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);

if (snapshot == INVALID_HANDLE_VALUE) {
Expand Down

0 comments on commit c528a2f

Please sign in to comment.