André Hentschel : shlwapi: Implement wow64 reporting.

Alexandre Julliard julliard at winehq.org
Thu Apr 7 07:36:57 CDT 2011


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

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

shlwapi: Implement wow64 reporting.
(cherry picked from commit a4d8b22f4377bd4a3ec11e5f1911601117d6c4a3)

---

 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 5f332f3..f508a95 100644
--- a/dlls/shlwapi/ordinal.c
+++ b/dlls/shlwapi/ordinal.c
@@ -4000,8 +4000,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