From eebf13a1d8589c79a55b3055f358b725288d1728 Mon Sep 17 00:00:00 2001 From: Jan Van Buggenhout Date: Tue, 20 Sep 2005 11:37:30 +0000 Subject: [PATCH] implement stubs for MsiSequence[AW]. --- dlls/msi/install.c | 18 ++++++++++++++++++ dlls/msi/msi.spec | 4 ++-- include/msiquery.h | 4 ++++ 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/dlls/msi/install.c b/dlls/msi/install.c index 52e03e7a926..ca72db67c10 100644 --- a/dlls/msi/install.c +++ b/dlls/msi/install.c @@ -77,6 +77,24 @@ UINT WINAPI MsiDoActionW( MSIHANDLE hInstall, LPCWSTR szAction ) return ret; } +/*********************************************************************** + * MsiSequenceA (MSI.@) + */ +UINT WINAPI MsiSequenceA( MSIHANDLE hInstall, LPCSTR szAction, INT iSequenceMode ) +{ + TRACE("%s\n", debugstr_a(szAction)); + return ERROR_CALL_NOT_IMPLEMENTED; +} + +/*********************************************************************** + * MsiSequenceW (MSI.@) + */ +UINT WINAPI MsiSequenceW( MSIHANDLE hInstall, LPCWSTR szAction, INT iSequenceMode ) +{ + TRACE("%s\n", debugstr_w(szAction)); + return ERROR_CALL_NOT_IMPLEMENTED; +} + static UINT msi_strcpy_to_awstring( LPCWSTR str, awstring *awbuf, DWORD *sz ) { UINT len, r = ERROR_SUCCESS; diff --git a/dlls/msi/msi.spec b/dlls/msi/msi.spec index 86ea0174b5c..33f2db14641 100644 --- a/dlls/msi/msi.spec +++ b/dlls/msi/msi.spec @@ -125,8 +125,8 @@ 129 stdcall MsiReinstallFeatureW(wstr wstr long) 130 stdcall MsiReinstallProductA(str long) 131 stdcall MsiReinstallProductW(wstr long) -132 stub MsiSequenceA -133 stub MsiSequenceW +132 stdcall MsiSequenceA(long str long) +133 stdcall MsiSequenceW(long wstr long) 134 stdcall MsiSetComponentStateA(long str long) 135 stdcall MsiSetComponentStateW(long wstr long) 136 stdcall MsiSetExternalUIA(ptr long ptr) diff --git a/include/msiquery.h b/include/msiquery.h index 14c6c249e28..ab70681cb69 100644 --- a/include/msiquery.h +++ b/include/msiquery.h @@ -252,6 +252,10 @@ UINT WINAPI MsiDatabaseIsTablePersistentA(MSIHANDLE, LPSTR); UINT WINAPI MsiDatabaseIsTablePersistentW(MSIHANDLE, LPWSTR); #define MsiDatabaseIsTablePersistent WINELIB_NAME_AW(MsiDatabaseIsTablePersistent) +UINT WINAPI MsiSequenceA(MSIHANDLE, LPCSTR, INT); +UINT WINAPI MsiSequenceW(MSIHANDLE, LPCWSTR, INT); +#define MsiSequence WINELIB_NAME_AW(MsiSequence) + UINT WINAPI MsiSummaryInfoPersist(MSIHANDLE); UINT WINAPI MsiSummaryInfoGetPropertyCount(MSIHANDLE,UINT*);