Add a stub implementation of msi.MsiSetMode.

This commit is contained in:
Mike McCormack 2005-10-30 19:05:13 +00:00 committed by Alexandre Julliard
parent f8853e4a9f
commit 06c477fec8
3 changed files with 20 additions and 1 deletions

View File

@ -459,6 +459,24 @@ BOOL WINAPI MsiGetMode(MSIHANDLE hInstall, MSIRUNMODE iRunMode)
return TRUE; return TRUE;
} }
/***********************************************************************
* 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.@) * MsiSetFeatureStateA (MSI.@)
* *

View File

@ -136,7 +136,7 @@
140 stub MsiSetInstallLevel 140 stub MsiSetInstallLevel
141 stdcall MsiSetInternalUI(long ptr) 141 stdcall MsiSetInternalUI(long ptr)
142 stub MsiVerifyDiskSpace 142 stub MsiVerifyDiskSpace
143 stub MsiSetMode 143 stdcall MsiSetMode(long long long)
144 stdcall MsiSetPropertyA(long str str) 144 stdcall MsiSetPropertyA(long str str)
145 stdcall MsiSetPropertyW(long wstr wstr) 145 stdcall MsiSetPropertyW(long wstr wstr)
146 stdcall MsiSetTargetPathA(long str str) 146 stdcall MsiSetTargetPathA(long str str)

View File

@ -261,6 +261,7 @@ UINT WINAPI MsiSummaryInfoGetPropertyCount(MSIHANDLE,UINT*);
UINT WINAPI MsiEnableUIPreview(MSIHANDLE, MSIHANDLE*); UINT WINAPI MsiEnableUIPreview(MSIHANDLE, MSIHANDLE*);
BOOL WINAPI MsiGetMode(MSIHANDLE, MSIRUNMODE); BOOL WINAPI MsiGetMode(MSIHANDLE, MSIRUNMODE);
BOOL WINAPI MsiSetMode(MSIHANDLE, MSIRUNMODE, BOOL);
UINT WINAPI MsiViewModify(MSIHANDLE, MSIMODIFY, MSIHANDLE); UINT WINAPI MsiViewModify(MSIHANDLE, MSIMODIFY, MSIHANDLE);