msi: Add a stub implementation of MsiQueryComponentStateA.

This commit is contained in:
James Hawkins 2007-06-25 16:44:47 -07:00 committed by Alexandre Julliard
parent 46222aee6e
commit ee89cfca53
3 changed files with 16 additions and 1 deletions

View File

@ -732,6 +732,17 @@ UINT WINAPI MsiEnableLogW(DWORD dwLogMode, LPCWSTR szLogFile, DWORD attributes)
return ERROR_SUCCESS;
}
UINT WINAPI MsiQueryComponentStateA(LPSTR szProductCode, LPSTR szUserSid, MSIINSTALLCONTEXT dwContext, LPCSTR szComponent, INSTALLSTATE *pdwState)
{
FIXME("(%s, %s, %d, %s, %p): stub!\n", debugstr_a(szProductCode), debugstr_a(szUserSid), dwContext, debugstr_a(szComponent), pdwState);
if (!pdwState)
return ERROR_INVALID_PARAMETER;
*pdwState = INSTALLSTATE_UNKNOWN;
return ERROR_UNKNOWN_PRODUCT;
}
INSTALLSTATE WINAPI MsiQueryProductStateA(LPCSTR szProduct)
{
LPWSTR szwProduct = NULL;

View File

@ -242,7 +242,7 @@
246 stdcall MsiEnumProductsExW(wstr wstr long long ptr ptr ptr ptr)
247 stub MsiGetProductInfoExA
248 stub MsiGetProductInfoExW
249 stub MsiQueryComponentStateA
249 stdcall MsiQueryComponentStateA(str str long str ptr)
250 stub MsiQueryComponentStateW
251 stub MsiQueryFeatureStateExA
252 stub MsiQueryFeatureStateExW

View File

@ -425,6 +425,10 @@ UINT WINAPI MsiVerifyPackageA(LPCSTR);
UINT WINAPI MsiVerifyPackageW(LPCWSTR);
#define MsiVerifyPackage WINELIB_NAME_AW(MsiVerifyPackage)
UINT WINAPI MsiQueryComponentStateA(LPSTR,LPSTR,MSIINSTALLCONTEXT,LPCSTR,INSTALLSTATE*);
UINT WINAPI MsiQueryComponentStateW(LPWSTR,LPWSTR,MSIINSTALLCONTEXT,LPCWSTR,INSTALLSTATE*);
#define MsiQueryComponentState WINELIB_NAME_AW(MsiQueryComponentState)
INSTALLSTATE WINAPI MsiQueryProductStateA(LPCSTR);
INSTALLSTATE WINAPI MsiQueryProductStateW(LPCWSTR);
#define MsiQueryProductState WINELIB_NAME_AW(MsiQueryProductState)