diff --git a/src/lib/arch/win32/ArchSystemWindows.cpp b/src/lib/arch/win32/ArchSystemWindows.cpp index 8e4738074..bb1070d02 100644 --- a/src/lib/arch/win32/ArchSystemWindows.cpp +++ b/src/lib/arch/win32/ArchSystemWindows.cpp @@ -71,21 +71,3 @@ void ArchSystemWindows::clearSettings() const { ArchMiscWindows::deleteKeyTree(HKEY_LOCAL_MACHINE, kWindowsRegistryKey); } - -bool ArchSystemWindows::isWOW64() const -{ -#if WINVER >= _WIN32_WINNT_WINXP - typedef BOOL(WINAPI * LPFN_ISWOW64PROCESS)(HANDLE, PBOOL); - HMODULE hModule = GetModuleHandle(TEXT("kernel32")); - if (!hModule) - return FALSE; - - LPFN_ISWOW64PROCESS fnIsWow64Process = (LPFN_ISWOW64PROCESS)GetProcAddress(hModule, "IsWow64Process"); - - BOOL bIsWow64 = FALSE; - if (NULL != fnIsWow64Process && fnIsWow64Process(GetCurrentProcess(), &bIsWow64) && bIsWow64) { - return true; - } -#endif - return false; -} diff --git a/src/lib/arch/win32/ArchSystemWindows.h b/src/lib/arch/win32/ArchSystemWindows.h index 88e1e1e05..1a69e6662 100644 --- a/src/lib/arch/win32/ArchSystemWindows.h +++ b/src/lib/arch/win32/ArchSystemWindows.h @@ -23,6 +23,4 @@ public: virtual std::string setting(const std::string &valueName) const; virtual void setting(const std::string &valueName, const std::string &valueString) const; virtual void clearSettings() const; - - bool isWOW64() const; };