From fe11241cf3d67dbca90fc79d008ccc5db239655d Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Wed, 24 Aug 2005 10:56:27 +0000 Subject: [PATCH] Added stubs for MsiSetComponentStateA and MsiSetComponentStateW. --- dlls/msi/install.c | 20 ++++++++++++++++++++ dlls/msi/msi.spec | 4 ++-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/dlls/msi/install.c b/dlls/msi/install.c index 698fdae4620..667c4aebce5 100644 --- a/dlls/msi/install.c +++ b/dlls/msi/install.c @@ -523,6 +523,16 @@ piAction); return ret; } +/*********************************************************************** + * MsiSetComponentStateA (MSI.@) + */ +UINT WINAPI MsiSetComponentStateA(MSIHANDLE hInstall, LPCSTR szComponent, + INSTALLSTATE iState) +{ + FIXME("STUB (szComponent=%s,iState=%i)\n",debugstr_a(szComponent),iState); + return ERROR_SUCCESS; +} + /*********************************************************************** * MsiGetComponentStateA (MSI.@) */ @@ -564,6 +574,16 @@ UINT MSI_GetComponentStateW(MSIPACKAGE *package, LPWSTR szComponent, return ERROR_SUCCESS; } +/*********************************************************************** + * MsiSetComponentStateW (MSI.@) + */ +UINT WINAPI MsiSetComponentStateW(MSIHANDLE hInstall, LPCWSTR szComponent, + INSTALLSTATE iState) +{ + FIXME("STUB (szComponent=%s,iState=%i)\n",debugstr_w(szComponent),iState); + return ERROR_SUCCESS; +} + /*********************************************************************** * MsiGetComponentStateW (MSI.@) */ diff --git a/dlls/msi/msi.spec b/dlls/msi/msi.spec index bb25d20ed3b..f3815037988 100644 --- a/dlls/msi/msi.spec +++ b/dlls/msi/msi.spec @@ -127,8 +127,8 @@ 131 stdcall MsiReinstallProductW(wstr long) 132 stub MsiSequenceA 133 stub MsiSequenceW -134 stub MsiSetComponentStateA -135 stub MsiSetComponentStateW +134 stdcall MsiSetComponentStateA(long str long) +135 stdcall MsiSetComponentStateW(long wstr long) 136 stdcall MsiSetExternalUIA(ptr long ptr) 137 stdcall MsiSetExternalUIW(ptr long ptr) 138 stdcall MsiSetFeatureStateA(long str long)