msi: Added stub for MsiGetFeatureValidStatesA/W.
This commit is contained in:
parent
7486f47b19
commit
723abff804
|
@ -827,3 +827,32 @@ UINT WINAPI MsiSetInstallLevel(MSIHANDLE hInstall, int iInstallLevel)
|
|||
|
||||
return r;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* MsiGetFeatureValidStatesW (MSI.@)
|
||||
*/
|
||||
UINT WINAPI MsiGetFeatureValidStatesW(MSIHANDLE hInstall, LPCWSTR szFeature,
|
||||
DWORD* pInstallState)
|
||||
{
|
||||
if(pInstallState) *pInstallState = 1<<INSTALLSTATE_LOCAL;
|
||||
FIXME("%ld %s %p stub returning %d\n",
|
||||
hInstall, debugstr_w(szFeature), pInstallState, pInstallState ? *pInstallState : 0);
|
||||
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* MsiGetFeatureValidStatesA (MSI.@)
|
||||
*/
|
||||
UINT WINAPI MsiGetFeatureValidStatesA(MSIHANDLE hInstall, LPCSTR szFeature,
|
||||
DWORD* pInstallState)
|
||||
{
|
||||
UINT ret;
|
||||
LPWSTR szwFeature = strdupAtoW(szFeature);
|
||||
|
||||
ret = MsiGetFeatureValidStatesW(hInstall, szwFeature, pInstallState);
|
||||
|
||||
msi_free(szwFeature);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -54,8 +54,8 @@
|
|||
58 stdcall MsiGetFeatureStateW(long wstr ptr ptr)
|
||||
59 stdcall MsiGetFeatureUsageA(str str ptr ptr)
|
||||
60 stdcall MsiGetFeatureUsageW(wstr wstr ptr ptr)
|
||||
61 stub MsiGetFeatureValidStatesA
|
||||
62 stub MsiGetFeatureValidStatesW
|
||||
61 stdcall MsiGetFeatureValidStatesA(long str ptr)
|
||||
62 stdcall MsiGetFeatureValidStatesW(long wstr ptr)
|
||||
63 stdcall MsiGetLanguage(long)
|
||||
64 stdcall MsiGetMode(long long)
|
||||
65 stdcall MsiGetProductCodeA(str str)
|
||||
|
|
Loading…
Reference in New Issue