mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
Stubs for MsiUseFeature.
This commit is contained in:
parent
b8d6b310f9
commit
2e24400cc9
2 changed files with 61 additions and 11 deletions
|
@ -1441,7 +1441,10 @@ INSTALLSTATE WINAPI MsiQueryFeatureStateA(LPCSTR szProduct, LPCSTR szFeature)
|
|||
INSTALLSTATE WINAPI MsiQueryFeatureStateW(LPCWSTR szProduct, LPCWSTR szFeature)
|
||||
{
|
||||
FIXME("%s %s\n", debugstr_w(szProduct), debugstr_w(szFeature));
|
||||
return INSTALLSTATE_UNKNOWN;
|
||||
/*
|
||||
* Iterates all the features components and the features parents components
|
||||
*/
|
||||
return INSTALLSTATE_LOCAL;
|
||||
}
|
||||
|
||||
UINT WINAPI MsiGetFileVersionA(LPCSTR szFilePath, LPSTR lpVersionBuf,
|
||||
|
@ -1707,11 +1710,42 @@ UINT WINAPI MsiGetFeatureUsageA(LPCSTR szProduct, LPCSTR szFeature,
|
|||
return ERROR_CALL_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
UINT WINAPI MsiUseFeatureExW(LPCWSTR szProduct, LPCWSTR szFeature,
|
||||
INSTALLSTATE WINAPI MsiUseFeatureExW(LPCWSTR szProduct, LPCWSTR szFeature,
|
||||
DWORD dwInstallMode, DWORD dwReserved)
|
||||
{
|
||||
FIXME("%s %s %li %li\n", debugstr_w(szProduct), debugstr_w(szFeature),
|
||||
dwInstallMode, dwReserved);
|
||||
|
||||
/*
|
||||
* Polls all the components of the feature to find install state and then
|
||||
* writes:
|
||||
* Software\\Microsoft\\Windows\\CurrentVersion\\
|
||||
* Installer\\Products\\<squishguid>\\<feature>
|
||||
* "Usage"=dword:........
|
||||
*/
|
||||
|
||||
return INSTALLSTATE_LOCAL;
|
||||
}
|
||||
|
||||
INSTALLSTATE WINAPI MsiUseFeatureExA(LPCSTR szProduct, LPCSTR szFeature,
|
||||
DWORD dwInstallMode, DWORD dwReserved)
|
||||
{
|
||||
FIXME("%s %s %li %li\n", debugstr_a(szProduct), debugstr_a(szFeature),
|
||||
dwInstallMode, dwReserved);
|
||||
|
||||
return INSTALLSTATE_LOCAL;
|
||||
}
|
||||
|
||||
INSTALLSTATE WINAPI MsiUseFeatureW(LPCWSTR szProduct, LPCWSTR szFeature)
|
||||
{
|
||||
FIXME("%s %s\n", debugstr_w(szProduct), debugstr_w(szFeature));
|
||||
|
||||
return INSTALLSTATE_LOCAL;
|
||||
}
|
||||
|
||||
INSTALLSTATE WINAPI MsiUseFeatureA(LPCSTR szProduct, LPCSTR szFeature)
|
||||
{
|
||||
FIXME("%s %s\n", debugstr_a(szProduct), debugstr_a(szFeature));
|
||||
|
||||
return INSTALLSTATE_LOCAL;
|
||||
}
|
||||
|
@ -1769,17 +1803,33 @@ UINT WINAPI MsiCreateAndVerifyInstallerDirectory(void)
|
|||
}
|
||||
|
||||
UINT WINAPI MsiGetShortcutTargetA( LPCSTR szShortcutTarget,
|
||||
LPSTR szProductCode, LPSTR szFeatureId,
|
||||
LPSTR szComponentCode)
|
||||
LPSTR szProductCode, LPSTR szFeatureId,
|
||||
LPSTR szComponentCode )
|
||||
{
|
||||
FIXME("\n");
|
||||
return ERROR_CALL_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
UINT WINAPI MsiGetShortcutTargetW( LPCWSTR szShortcutTarget,
|
||||
LPWSTR szProductCode, LPWSTR szFeatureId,
|
||||
LPWSTR szComponentCode)
|
||||
LPWSTR szProductCode, LPWSTR szFeatureId,
|
||||
LPWSTR szComponentCode )
|
||||
{
|
||||
FIXME("\n");
|
||||
return ERROR_CALL_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
UINT WINAPI MsiReinstallFeatureW( LPCWSTR szProduct, LPCWSTR szFeature,
|
||||
DWORD dwReinstallMode )
|
||||
{
|
||||
FIXME("%s %s %li\n", debugstr_w(szProduct), debugstr_w(szFeature),
|
||||
dwReinstallMode);
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
UINT WINAPI MsiReinstallFeatureA( LPCSTR szProduct, LPCSTR szFeature,
|
||||
DWORD dwReinstallMode )
|
||||
{
|
||||
FIXME("%s %s %li\n", debugstr_a(szProduct), debugstr_a(szFeature),
|
||||
dwReinstallMode);
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
|
|
@ -123,10 +123,10 @@
|
|||
123 stdcall MsiRecordSetStreamW(long long wstr)
|
||||
124 stdcall MsiRecordSetStringA(long long str)
|
||||
125 stdcall MsiRecordSetStringW(long long wstr)
|
||||
126 stub MsiReinstallFeatureA
|
||||
126 stdcall MsiReinstallFeatureA(str str long)
|
||||
127 stub MsiReinstallFeatureFromDescriptorA
|
||||
128 stub MsiReinstallFeatureFromDescriptorW
|
||||
129 stub MsiReinstallFeatureW
|
||||
129 stdcall MsiReinstallFeatureW(wstr wstr long)
|
||||
130 stdcall MsiReinstallProductA(str long)
|
||||
131 stdcall MsiReinstallProductW(wstr long)
|
||||
132 stub MsiSequenceA
|
||||
|
@ -151,8 +151,8 @@
|
|||
151 stdcall MsiSummaryInfoPersist(long)
|
||||
152 stdcall MsiSummaryInfoSetPropertyA(long long long long ptr str)
|
||||
153 stdcall MsiSummaryInfoSetPropertyW(long long long long ptr wstr)
|
||||
154 stub MsiUseFeatureA
|
||||
155 stub MsiUseFeatureW
|
||||
154 stdcall MsiUseFeatureA(str str)
|
||||
155 stdcall MsiUseFeatureW(wstr wstr)
|
||||
156 stdcall MsiVerifyPackageA(str)
|
||||
157 stdcall MsiVerifyPackageW(wstr)
|
||||
158 stdcall MsiViewClose(long)
|
||||
|
@ -189,7 +189,7 @@
|
|||
189 stdcall MsiConfigureProductExA(str long long str)
|
||||
190 stdcall MsiConfigureProductExW(wstr long long wstr)
|
||||
191 stub MsiInvalidateFeatureCache
|
||||
192 stub MsiUseFeatureExA
|
||||
192 stdcall MsiUseFeatureExA(str str long long)
|
||||
193 stdcall MsiUseFeatureExW(wstr wstr long long)
|
||||
194 stdcall MsiGetFileVersionA(str str ptr str ptr)
|
||||
195 stdcall MsiGetFileVersionW(wstr wstr ptr wstr ptr)
|
||||
|
|
Loading…
Reference in a new issue