MSI: MsiSetComponent[AW] stubs
Johan Dahlin
jdahlin at async.com.br
Tue Aug 23 19:17:23 CDT 2005
This adds stubs for MsiSetComponentStateA and MsiSetComponentStateB.
-------------- next part --------------
Index: install.c
===================================================================
RCS file: /home/wine/wine/dlls/msi/install.c,v
retrieving revision 1.6
diff -u -B -p -r1.6 install.c
--- install.c 23 Aug 2005 18:15:44 -0000 1.6
+++ install.c 24 Aug 2005 00:15:53 -0000
@@ -526,6 +526,17 @@ piAction);
/***********************************************************************
* MsiGetComponentStateA (MSI.@)
*/
+UINT WINAPI MsiSetComponentStateA(MSIHANDLE hInstall, LPSTR szComponent,
+ INSTALLSTATE iState)
+{
+ FIXME("STUB (szComponent=%s,iState=%i)\n",szComponent,iState);
+
+ return ERROR_SUCCESS;
+}
+
+/***********************************************************************
+ * MsiGetComponentStateA (MSI.@)
+ */
UINT WINAPI MsiGetComponentStateA(MSIHANDLE hInstall, LPSTR szComponent,
INSTALLSTATE *piInstalled, INSTALLSTATE *piAction)
{
@@ -560,6 +571,17 @@ UINT MSI_GetComponentStateW(MSIPACKAGE *
*piAction = comp->Action;
TRACE("states (%i, %i)\n", comp->Installed, comp->Action );
+
+ return ERROR_SUCCESS;
+}
+
+/***********************************************************************
+ * MsiSetComponentStateA (MSI.@)
+ */
+UINT WINAPI MsiSetComponentStateW(MSIHANDLE hInstall, LPSTR szComponent,
+ INSTALLSTATE iState)
+{
+ FIXME("STUB (szComponent=%s,iState=%i)\n",szComponent,iState);
return ERROR_SUCCESS;
}
Index: msi.spec
===================================================================
RCS file: /home/wine/wine/dlls/msi/msi.spec,v
retrieving revision 1.42
diff -u -B -p -r1.42 msi.spec
--- msi.spec 10 Aug 2005 13:02:43 -0000 1.42
+++ msi.spec 24 Aug 2005 00:15:53 -0000
@@ -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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jdahlin.vcf
Type: text/x-vcard
Size: 414 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050823/e197952e/jdahlin.vcf
More information about the wine-patches
mailing list