From 68d4e65c5e549f6e37ded1ea9275cfb07b1bee73 Mon Sep 17 00:00:00 2001 From: Misha Koshelev Date: Fri, 1 Jun 2007 20:06:37 -0500 Subject: [PATCH] msi: automation: Database::SummaryInformation is a propget, not a method. --- dlls/msi/automation.c | 2 +- dlls/msi/msiserver.idl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/msi/automation.c b/dlls/msi/automation.c index c4d1ba2028a..95fb8c4c8cf 100644 --- a/dlls/msi/automation.c +++ b/dlls/msi/automation.c @@ -1116,7 +1116,7 @@ static HRESULT WINAPI DatabaseImpl_Invoke( switch (dispIdMember) { case DISPID_DATABASE_SUMMARYINFORMATION: - if (wFlags & DISPATCH_METHOD) + if (wFlags & DISPATCH_PROPERTYGET) { hr = DispGetParam(pDispParams, 0, VT_I4, &varg0, puArgErr); if (FAILED(hr)) diff --git a/dlls/msi/msiserver.idl b/dlls/msi/msiserver.idl index 12045eb8f96..fd268e1592c 100644 --- a/dlls/msi/msiserver.idl +++ b/dlls/msi/msiserver.idl @@ -190,7 +190,7 @@ library WindowsInstaller methods: [id(DISPID_DATABASE_OPENVIEW)] View* OpenView([in] BSTR Sql); - [id(DISPID_DATABASE_SUMMARYINFORMATION)] + [id(DISPID_DATABASE_SUMMARYINFORMATION), propget] SummaryInfo *SummaryInformation([in, optional, defaultvalue(0)] long UpdateCount); } -- 2.11.4.GIT