https://git.reactos.org/?p=reactos.git;a=commitdiff;h=dbebec30653cd45ee69d9…
commit dbebec30653cd45ee69d90a556b3b33321b35cdc
Author: winesync <ros-dev(a)reactos.org>
AuthorDate: Sat Mar 12 23:57:42 2022 +0100
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Sun Mar 20 19:28:02 2022 +0100
[WINESYNC] msi/tests: Also test full range of properties for
MsiSummaryInfoSetPropertyW.
Signed-off-by: Dmitry Timoshkov <dmitry(a)baikal.ru>
Signed-off-by: Hans Leidekker <hans(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
wine commit id ff0129370869ed4ffb4acd69d7123f3d5ca294c3 by Dmitry Timoshkov
<dmitry(a)baikal.ru>
---
modules/rostests/winetests/msi/custom.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/modules/rostests/winetests/msi/custom.c
b/modules/rostests/winetests/msi/custom.c
index f06aee06755..c9ec82fd930 100644
--- a/modules/rostests/winetests/msi/custom.c
+++ b/modules/rostests/winetests/msi/custom.c
@@ -510,12 +510,14 @@ static void test_db(MSIHANDLE hinst)
for (i = 0; i < 20; i++)
{
+ WCHAR emptyW[1] = { 0 };
+
r = MsiSummaryInfoSetPropertyA(suminfo, i, prop_type[i], 1252, &ft,
"");
ok(hinst, r == ERROR_FUNCTION_FAILED, "%u: got %u\n", i, r);
- }
- r = MsiSummaryInfoSetPropertyW(suminfo, PID_CODEPAGE, VT_I2, 1252, &ft, NULL);
- ok(hinst, r == ERROR_FUNCTION_FAILED, "got %u\n", r);
+ r = MsiSummaryInfoSetPropertyW(suminfo, i, prop_type[i], 1252, &ft, emptyW);
+ ok(hinst, r == ERROR_FUNCTION_FAILED, "%u: got %u\n", i, r);
+ }
r = MsiCloseHandle(suminfo);
ok(hinst, !r, "got %u\n", r);