Open sancarn opened 1 year ago
Currently uses https://learn.microsoft.com/en-us/windows/win32/api/tlhelp32/nf-tlhelp32-createtoolhelp32snapshot but this seems overcomplicated when there is also https://learn.microsoft.com/en-us/windows/win32/api/psapi/nf-psapi-enumprocesses which returns an array of pids? Not sure...
Currently uses https://learn.microsoft.com/en-us/windows/win32/api/tlhelp32/nf-tlhelp32-createtoolhelp32snapshot but this seems overcomplicated when there is also https://learn.microsoft.com/en-us/windows/win32/api/psapi/nf-psapi-enumprocesses which returns an array of pids? Not sure...