| 36 | }; |
| 37 | |
| 38 | class ProcessInfo |
| 39 | { |
| 40 | public: |
| 41 | ProcessInfo(); |
| 42 | void Clear(); |
| 43 | static size_t GetPrivateBytes(); |
| 44 | static std::wstring GetProcessName(HANDLE handle); |
| 45 | static std::wstring GetProcessInfo(HANDLE handle); |
| 46 | static std::wstring GetProcessNameByPid(DWORD processId); |
| 47 | |
| 48 | DWORD GetUid(DWORD processId, const std::wstring& processName); |
| 49 | ProcessProperties GetProcessProperties(DWORD processId, const std::wstring& processName); |
| 50 | ProcessProperties GetProcessProperties(DWORD uid) const; |
| 51 | |
| 52 | private: |
| 53 | std::unordered_map<DWORD, InternalProcessProperties> m_processProperties; |
| 54 | DWORD m_unqiueId; |
| 55 | }; |
| 56 | |
| 57 | } // namespace debugviewpp |
| 58 | } // namespace fusion |