ntdll: Fix the version reported for 64-bit Windows XP.

Alexandre Julliard julliard at winehq.org
Tue Oct 1 05:15:42 CDT 2013


Hans Leidekker <hans at codeweavers.com> writes:

> @@ -129,11 +129,19 @@ static const RTL_OSVERSIONINFOEXW VersionData[NB_WINDOWS_VERSIONS] =
>          4, 0, 0, VER_NT_WORKSTATION, 30 /* FIXME: Great, a reserved field with a value! */
>      },
>      /* WINXP */
> +#ifdef _WIN64
> +    {
> +        sizeof(RTL_OSVERSIONINFOEXW), 5, 2, 0xECE, VER_PLATFORM_WIN32_NT,
> +        {'S','e','r','v','i','c','e',' ','P','a','c','k',' ','1',0},
> +        1, 0, VER_SUITE_SINGLEUSERTS, VER_NT_WORKSTATION, 0
> +    },
> +#else
>      {
>          sizeof(RTL_OSVERSIONINFOEXW), 5, 1, 0xA28, VER_PLATFORM_WIN32_NT,
>          {'S','e','r','v','i','c','e',' ','P','a','c','k',' ','3',0},
>          3, 0, VER_SUITE_SINGLEUSERTS, VER_NT_WORKSTATION, 30 /* FIXME: Great, a reserved field with a value! */
>      },
> +#endif

This would mean that the 32-bit side sees a different version. I don't
think that's correct.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list