shlwapi: Implement wow64 reporting.

This commit is contained in:
André Hentschel 2011-03-31 19:44:26 +02:00 committed by Alexandre Julliard
parent be24fd4b64
commit a4d8b22f43

View file

@ -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: