PowerToys/tools/HandlesExperiment/FileLocksmithLib/FileLocksmith.h
2022-10-20 16:40:51 +02:00

15 lines
358 B
C++

#pragma once
#include "pch.h"
struct ProcessResult
{
std::wstring name;
DWORD pid;
uint64_t num_files;
};
// First version, checks handles towards the given objects themselves.
// In particular, if the object is a directory, its entries are not considered
std::vector<ProcessResult> find_processes_nonrecursive(const std::vector<std::wstring>& paths);