[1/2] shlwapi/ordinal: Partially implement SHGetShellKey

Alexandre Julliard julliard at winehq.org
Tue Jul 20 05:23:01 CDT 2010


Nikolay Sivov <nsivov at codeweavers.com> writes:

> @@ -2398,6 +2457,7 @@ START_TEST(ordinal)
>  {
>      hShlwapi = GetModuleHandleA("shlwapi.dll");
>      is_win2k_and_lower = GetProcAddress(hShlwapi, "StrChrNW") == 0;
> +    is_win9x = (GetVersion() & 0x80000000);

You should never check the version, check for features instead.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list