Commit 06c477fe authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Add a stub implementation of msi.MsiSetMode.

parent f8853e4a
......@@ -460,6 +460,24 @@ BOOL WINAPI MsiGetMode(MSIHANDLE hInstall, MSIRUNMODE iRunMode)
}
/***********************************************************************
* MsiSetMode (MSI.@)
*/
BOOL WINAPI MsiSetMode(MSIHANDLE hInstall, MSIRUNMODE iRunMode, BOOL fState)
{
switch (iRunMode)
{
case MSIRUNMODE_RESERVED11:
case MSIRUNMODE_WINDOWS9X:
case MSIRUNMODE_RESERVED14:
case MSIRUNMODE_RESERVED15:
return FALSE;
default:
FIXME("%ld %d %d\n", hInstall, iRunMode, fState);
}
return TRUE;
}
/***********************************************************************
* MsiSetFeatureStateA (MSI.@)
*
* According to the docs, when this is called it immediately recalculates
......
......@@ -136,7 +136,7 @@
140 stub MsiSetInstallLevel
141 stdcall MsiSetInternalUI(long ptr)
142 stub MsiVerifyDiskSpace
143 stub MsiSetMode
143 stdcall MsiSetMode(long long long)
144 stdcall MsiSetPropertyA(long str str)
145 stdcall MsiSetPropertyW(long wstr wstr)
146 stdcall MsiSetTargetPathA(long str str)
......
......@@ -261,6 +261,7 @@ UINT WINAPI MsiSummaryInfoGetPropertyCount(MSIHANDLE,UINT*);
UINT WINAPI MsiEnableUIPreview(MSIHANDLE, MSIHANDLE*);
BOOL WINAPI MsiGetMode(MSIHANDLE, MSIRUNMODE);
BOOL WINAPI MsiSetMode(MSIHANDLE, MSIRUNMODE, BOOL);
UINT WINAPI MsiViewModify(MSIHANDLE, MSIMODIFY, MSIHANDLE);
......
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