#ifndef __animia__animia__platform__win32__fd_h
#define __animia__animia__platform__win32__fd_h

#include <functional>
#include <set>
#include <string>

#include <windows.h>

namespace animia::win::detail {

struct OpenFile {
	DWORD proc_id;
	std::wstring path;
}

using open_file_proc_t = std::function<bool(const OpenFile&)>;

bool EnumerateOpenFiles(const std::set<DWORD>& process_ids,
	                    open_file_proc_t open_file_proc);

}

#endif // __animia__animia__platform__win32__fd_h