Zebediah Figura : msi/tests: Test the "VersionNT" property.

Alexandre Julliard julliard at winehq.org
Mon Nov 16 15:28:56 CST 2020


Module: wine
Branch: master
Commit: 990fc66274d68b915df62005ab93792129612fc1
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=990fc66274d68b915df62005ab93792129612fc1

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Sun Nov 15 18:28:14 2020 -0600

msi/tests: Test the "VersionNT" property.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/msi/tests/package.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dlls/msi/tests/package.c b/dlls/msi/tests/package.c
index f8bf431883b..3b98d9ef111 100644
--- a/dlls/msi/tests/package.c
+++ b/dlls/msi/tests/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);




More information about the wine-cvs mailing list