#pragma once #include "pch.h" struct ProcessResult { std::wstring name; DWORD pid; std::wstring user; std::vector files; }; // Second version, checks handles towards files and all subfiles and folders of given dirs, if any. std::vector find_processes_recursive(const std::vector& paths); // Gives the full path of the executable, given the process id std::wstring pid_to_full_path(DWORD pid);