diff --git a/src/Shared/Win32Utils.cpp b/src/Shared/Win32Utils.cpp index df070fd0..16c4ddb5 100644 --- a/src/Shared/Win32Utils.cpp +++ b/src/Shared/Win32Utils.cpp @@ -64,7 +64,7 @@ wil::unique_process_handle Win32Utils::GetWndProcessHandle(HWND hWnd) noexcept { } std::wstring Win32Utils::GetPathOfWnd(HWND hWnd) noexcept { - wil::unique_process_handle hProc = ::GetWndProcessHandle(hWnd); + wil::unique_process_handle hProc = Win32Utils::GetWndProcessHandle(hWnd); if (!hProc) { return {}; }