mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 18:03:37 +00:00
msi: Add a stub for MsiGetFeatureCost.
This commit is contained in:
parent
d4a27358a5
commit
485484deac
|
@ -633,6 +633,30 @@ UINT WINAPI MsiGetFeatureStateW(MSIHANDLE hInstall, LPCWSTR szFeature,
|
|||
return ret;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* MsiGetFeatureCostA (MSI.@)
|
||||
*/
|
||||
UINT WINAPI MsiGetFeatureCostA(MSIHANDLE hInstall, LPCSTR szFeature,
|
||||
MSICOSTTREE iCostTree, INSTALLSTATE iState, INT *piCost)
|
||||
{
|
||||
FIXME("(%ld %s %i %i %p): stub\n", hInstall, debugstr_a(szFeature),
|
||||
iCostTree, iState, piCost);
|
||||
if (piCost) *piCost = 0;
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* MsiGetFeatureCostW (MSI.@)
|
||||
*/
|
||||
UINT WINAPI MsiGetFeatureCostW(MSIHANDLE hInstall, LPCWSTR szFeature,
|
||||
MSICOSTTREE iCostTree, INSTALLSTATE iState, INT *piCost)
|
||||
{
|
||||
FIXME("(%ld %s %i %i %p): stub\n", hInstall, debugstr_w(szFeature),
|
||||
iCostTree, iState, piCost);
|
||||
if (piCost) *piCost = 0;
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* MsiSetComponentStateA (MSI.@)
|
||||
*/
|
||||
|
|
|
@ -46,8 +46,8 @@
|
|||
50 stdcall MsiGetComponentStateA(long str ptr ptr)
|
||||
51 stdcall MsiGetComponentStateW(long wstr ptr ptr)
|
||||
52 stdcall MsiGetDatabaseState(long)
|
||||
53 stub MsiGetFeatureCostA
|
||||
54 stub MsiGetFeatureCostW
|
||||
53 stdcall MsiGetFeatureCostA(long str long long ptr)
|
||||
54 stdcall MsiGetFeatureCostW(long wstr long long ptr)
|
||||
55 stub MsiGetFeatureInfoA
|
||||
56 stub MsiGetFeatureInfoW
|
||||
57 stdcall MsiGetFeatureStateA(long str ptr ptr)
|
||||
|
|
|
@ -37,6 +37,14 @@ typedef enum tagMSICOLINFO
|
|||
MSICOLINFO_TYPES = 1
|
||||
} MSICOLINFO;
|
||||
|
||||
typedef enum tagMSICOSTTREE
|
||||
{
|
||||
MSICOSTTREE_SELFONLY = 0,
|
||||
MSICOSTTREE_CHILDREN = 1,
|
||||
MSICOSTTREE_PARENTS = 2,
|
||||
MSICOSTTREE_PRODUCT = 3,
|
||||
} MSICOSTTREE;
|
||||
|
||||
typedef enum tagMSIMODIFY
|
||||
{
|
||||
MSIMODIFY_REFRESH = 0,
|
||||
|
|
Loading…
Reference in a new issue