msi: Add a stub implementation of MsiQueryComponentStateA.
This commit is contained in:
parent
46222aee6e
commit
ee89cfca53
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue