https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b6228b299ca2639d98f6d0...
commit b6228b299ca2639d98f6d0a0664e8a9f71b801ee Author: winesync ros-dev@reactos.org AuthorDate: Sun Mar 13 21:40:10 2022 +0100 Commit: Mark Jansen mark.jansen@reactos.org CommitDate: Sun Mar 20 19:28:36 2022 +0100
[WINESYNC] msi/tests: Test the "VersionNT" property.
Signed-off-by: Zebediah Figura z.figura12@gmail.com Signed-off-by: Hans Leidekker hans@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
wine commit id 990fc66274d68b915df62005ab93792129612fc1 by Zebediah Figura z.figura12@gmail.com --- modules/rostests/winetests/msi/package.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/modules/rostests/winetests/msi/package.c b/modules/rostests/winetests/msi/package.c index f8bf431883b..3b98d9ef111 100644 --- a/modules/rostests/winetests/msi/package.c +++ b/modules/rostests/winetests/msi/package.c @@ -5735,6 +5735,9 @@ static void test_installprops(void)
GetNativeSystemInfo(&si);
+ sprintf(buf, "%d", LOBYTE(LOWORD(GetVersion())) * 100 + HIBYTE(LOWORD(GetVersion()))); + check_prop(hpkg, "VersionNT", buf, 1); + if (S(U(si)).wProcessorArchitecture == PROCESSOR_ARCHITECTURE_AMD64) { sprintf(buf, "%d", si.wProcessorLevel);