André Hentschel : shlwapi: Implement wow64 reporting.

Alexandre Julliard julliard at winehq.org
Fri Apr 1 09:41:05 CDT 2011


Module: wine
Branch: master
Commit: a4d8b22f4377bd4a3ec11e5f1911601117d6c4a3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a4d8b22f4377bd4a3ec11e5f1911601117d6c4a3

Author: André Hentschel <nerv at dawncrow.de>
Date:   Thu Mar 31 19:44:26 2011 +0200

shlwapi: Implement wow64 reporting.

---

 dlls/shlwapi/ordinal.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/dlls/shlwapi/ordinal.c b/dlls/shlwapi/ordinal.c
index 5b0626d..0df1646 100644
--- a/dlls/shlwapi/ordinal.c
+++ b/dlls/shlwapi/ordinal.c
@@ -4063,8 +4063,11 @@ BOOL WINAPI IsOS(DWORD feature)
     case OS_ANYSERVER:
         ISOS_RETURN(platform == VER_PLATFORM_WIN32_NT)
     case OS_WOW6432:
-        FIXME("(OS_WOW6432) Should we check this?\n");
-        return FALSE;
+        {
+            BOOL is_wow64;
+            IsWow64Process(GetCurrentProcess(), &is_wow64);
+            return is_wow64;
+        }
     case OS_WEBSERVER:
         ISOS_RETURN(platform == VER_PLATFORM_WIN32_NT)
     case OS_SMALLBUSINESSSERVER:




More information about the wine-cvs mailing list