winetest: Detect real version values

André Hentschel nerv at
Mon Oct 6 15:31:47 CDT 2014

Starting with Win8.1 there are faked version infos.
See GetVersionEx on msdn...
Three possible solutions to get the real info (AFAICT):
	use a proper manifest ... err no
	use those new yes/no "Version Helper functions" (e.g. IsWindows8Point1OrGreater) ... sure
	use RtlGetVersion

 programs/winetest/main.c | 69 +++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 54 insertions(+), 15 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-winetest-Detect-real-version-values.txt
Type: text/x-patch
Size: 4879 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list