mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-01-21 08:29:01 +08:00
15 lines
358 B
C++
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);
|