Improve window filter to include start menu and Cortana search box. (#474)

Also moves GetProcessPath* functions to common, renaming both to
get_process_path.
This commit is contained in:
Bartosz Sosnowski
2019-10-07 11:12:44 +02:00
committed by GitHub
parent 298a8787d5
commit 5f8c4ea143
6 changed files with 68 additions and 55 deletions

View File

@@ -43,3 +43,8 @@ bool is_process_elevated();
// Drops the elevated privilages if present
bool drop_elevated_privileges();
// Get the executable path or module name for modern apps
std::wstring get_process_path(DWORD pid) noexcept;
// Get the executable path or module name for modern apps
std::wstring get_process_path(HWND hwnd) noexcept;