Test MsiSummaryInfoGetProperty reading an empty property.
diff --git a/dlls/msi/tests/suminfo.c b/dlls/msi/tests/suminfo.c
index e51dae0..b0f81b0 100644
--- a/dlls/msi/tests/suminfo.c
+++ b/dlls/msi/tests/suminfo.c
@@ -67,8 +67,10 @@
const char *msifile = "winetest.msi";
MSIHANDLE hdb = 0, hsuminfo;
UINT r, count, type;
+ DWORD dwcount;
INT val;
FILETIME ft;
+ char buf[0x10];
DeleteFile(msifile);
@@ -108,6 +110,15 @@
ok(type == 0, "wrong type\n");
ok(val == 1234, "wrong val\n");
+ buf[0]='x';
+ buf[1]=0;
+ dwcount = 0x10;
+ r = MsiSummaryInfoGetProperty(hsuminfo, PID_REVNUMBER, &type, &val, NULL, buf, &dwcount);
+ ok(r == ERROR_SUCCESS, "getpropcount failed\n");
+ ok(buf[0]=='x', "cleared buffer\n");
+ ok(dwcount == 0x10, "count wasn't zero\n");
+ ok(type == VT_EMPTY, "should be empty\n");
+
r = MsiSummaryInfoSetProperty(hsuminfo, PID_TITLE, VT_LPSTR, 0, NULL, "Mike");
ok(r == ERROR_FUNCTION_FAILED, "MsiSummaryInfoSetProperty wrong error\n");