Commit 0e90cebc authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

msi: 'optional' only applies to VARIANT and VARIANT* types.

parent 87d85357
...@@ -251,14 +251,14 @@ library WindowsInstaller ...@@ -251,14 +251,14 @@ library WindowsInstaller
[id(DISPID_INSTALLER_OPENPACKAGE)] [id(DISPID_INSTALLER_OPENPACKAGE)]
Session* OpenPackage( Session* OpenPackage(
[in] VARIANT PackagePath, [in] VARIANT PackagePath,
[in, optional, defaultvalue(0)] long Options); [in, defaultvalue(0)] long Options);
[id(DISPID_INSTALLER_OPENPRODUCT)] [id(DISPID_INSTALLER_OPENPRODUCT)]
Session* OpenProduct( Session* OpenProduct(
[in] BSTR ProductCode); [in] BSTR ProductCode);
[id(DISPID_INSTALLER_SUMMARYINFORMATION)] [id(DISPID_INSTALLER_SUMMARYINFORMATION)]
SummaryInfo* SummaryInformation( SummaryInfo* SummaryInformation(
[in] BSTR PackagePath, [in] BSTR PackagePath,
[in, optional, defaultvalue(0)] long UpdateCount); [in, defaultvalue(0)] long UpdateCount);
[id(DISPID_INSTALLER_OPENDATABASE)] [id(DISPID_INSTALLER_OPENDATABASE)]
Database *OpenDatabase( Database *OpenDatabase(
[in] BSTR DatabasePath, [in] BSTR DatabasePath,
...@@ -270,7 +270,7 @@ library WindowsInstaller ...@@ -270,7 +270,7 @@ library WindowsInstaller
[id(DISPID_INSTALLER_INSTALLPRODUCT)] [id(DISPID_INSTALLER_INSTALLPRODUCT)]
void InstallProduct( void InstallProduct(
[in] BSTR PackagePath, [in] BSTR PackagePath,
[in, optional, defaultvalue("0")] BSTR PropertyValues); [in, defaultvalue("0")] BSTR PropertyValues);
[id(DISPID_INSTALLER_VERSION)] [id(DISPID_INSTALLER_VERSION)]
BSTR Version(); BSTR Version();
[id(DISPID_INSTALLER_LASTERRORRECORD)] [id(DISPID_INSTALLER_LASTERRORRECORD)]
...@@ -393,7 +393,7 @@ library WindowsInstaller ...@@ -393,7 +393,7 @@ library WindowsInstaller
properties: properties:
methods: methods:
[id(DISPID_VIEW_EXECUTE)] [id(DISPID_VIEW_EXECUTE)]
void Execute([in, optional, defaultvalue(0)] Record *Params); void Execute([in, defaultvalue(0)] Record *Params);
[id(DISPID_VIEW_FETCH)] [id(DISPID_VIEW_FETCH)]
Record* Fetch(); Record* Fetch();
[id(DISPID_VIEW_MODIFY)] [id(DISPID_VIEW_MODIFY)]
...@@ -412,7 +412,7 @@ library WindowsInstaller ...@@ -412,7 +412,7 @@ library WindowsInstaller
[id(DISPID_DATABASE_OPENVIEW)] [id(DISPID_DATABASE_OPENVIEW)]
View* OpenView([in] BSTR Sql); View* OpenView([in] BSTR Sql);
[id(DISPID_DATABASE_SUMMARYINFORMATION), propget] [id(DISPID_DATABASE_SUMMARYINFORMATION), propget]
SummaryInfo *SummaryInformation([in, optional, defaultvalue(0)] long UpdateCount); SummaryInfo *SummaryInformation([in, defaultvalue(0)] long UpdateCount);
} }
typedef enum { typedef enum {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment