5 Feb
2016
5 Feb
'16
11:55 a.m.
Changhui LIU <chliu027028(a)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(a)winehq.org