ProcessResult.h
1 #pragma once 2 #include "ProcessResult.g.h" 3 4 namespace winrt::PowerToys::FileLocksmithLib::Interop::implementation 5 { 6 struct ProcessResult : ProcessResultT<ProcessResult> 7 { 8 ProcessResult() = default; 9 10 ProcessResult(hstring const& name, uint32_t pid, hstring const& user, array_view<hstring const> files); 11 hstring name(); 12 uint32_t pid(); 13 hstring user(); 14 com_array<hstring> files(); 15 16 private: 17 hstring _name; 18 uint32_t _pid; 19 hstring _user; 20 com_array<hstring> _files; 21 }; 22 } 23 namespace winrt::PowerToys::FileLocksmithLib::Interop::factory_implementation 24 { 25 struct ProcessResult : ProcessResultT<ProcessResult, implementation::ProcessResult> 26 { 27 }; 28 }