kernel32: Add test MultiByteToWideChar for code page is 936. (try 2)
Alexandre Julliard
julliard at winehq.org
Fri Feb 5 05:55:35 CST 2016
Changhui LIU <chliu027028 at gmail.com> writes:
> + BOOL vistaOrLater = FALSE;
> + OSVERSIONINFOA osvi;
> +
> + memset(&osvi, 0, sizeof(osvi));
> + osvi.dwOSVersionInfoSize = sizeof(osvi);
> + GetVersionExA(&osvi);
> + vistaOrLater = (osvi.dwMajorVersion > 5);
Please don't do version checks in tests. You can mark the old behavior
as broken if necessary.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list