Mercurial > minori
comparison dep/animia/include/win32.h @ 56:6ff7aabeb9d7
deps: add animia for open files detection
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Thu, 28 Sep 2023 12:35:21 -0400 |
| parents | |
| children | 4c6dd5999b39 |
comparison
equal
deleted
inserted
replaced
| 54:466ac9870df9 | 56:6ff7aabeb9d7 |
|---|---|
| 1 #ifndef __animia__windows_h | |
| 2 #define __animia__windows_h | |
| 3 #include <vector> | |
| 4 #include <string> | |
| 5 #include <unordered_map> | |
| 6 | |
| 7 namespace Animia::Windows { | |
| 8 | |
| 9 std::vector<int> get_all_pids(); | |
| 10 std::string get_process_name(int pid); | |
| 11 std::vector<std::string> get_open_files(int pid); | |
| 12 std::unordered_map<int, std::vector<std::string>> get_all_open_files(); | |
| 13 | |
| 14 } | |
| 15 | |
| 16 #endif // __animia__windows_h |
