view 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
line wrap: on
line source

#ifndef __animia__windows_h
#define __animia__windows_h
#include <vector>
#include <string>
#include <unordered_map>

namespace Animia::Windows {

std::vector<int> get_all_pids();
std::string get_process_name(int pid);
std::vector<std::string> get_open_files(int pid);
std::unordered_map<int, std::vector<std::string>> get_all_open_files();

}

#endif // __animia__windows_h