Add and fix some stubs.

This commit is contained in:
Steven Edwards 2005-01-03 16:54:43 +00:00 committed by Alexandre Julliard
parent 918214313e
commit d06a464ce9
2 changed files with 41 additions and 10 deletions

View File

@ -68,6 +68,7 @@ static const WCHAR szComponents[] = {
INSTALLUILEVEL gUILevel; INSTALLUILEVEL gUILevel;
HWND gUIhwnd; HWND gUIhwnd;
INSTALLUI_HANDLERA gUIHandler; INSTALLUI_HANDLERA gUIHandler;
INSTALLUI_HANDLERW gUIHandlerW;
DWORD gUIFilter; DWORD gUIFilter;
LPVOID gUIContext; LPVOID gUIContext;
WCHAR gszLogFile[MAX_PATH]; WCHAR gszLogFile[MAX_PATH];
@ -849,8 +850,14 @@ INSTALLUI_HANDLERA WINAPI MsiSetExternalUIA(INSTALLUI_HANDLERA puiHandler,
INSTALLUI_HANDLERW WINAPI MsiSetExternalUIW(INSTALLUI_HANDLERW puiHandler, INSTALLUI_HANDLERW WINAPI MsiSetExternalUIW(INSTALLUI_HANDLERW puiHandler,
DWORD dwMessageFilter, LPVOID pvContext) DWORD dwMessageFilter, LPVOID pvContext)
{ {
TRACE(" STUB (%p %lx %p)\n",puiHandler,dwMessageFilter,pvContext); INSTALLUI_HANDLERW prev = gUIHandlerW;
return NULL;
TRACE("(%p %lx %p)\n",puiHandler,dwMessageFilter,pvContext);
gUIHandlerW = puiHandler;
gUIFilter = dwMessageFilter;
gUIContext = pvContext;
return prev;
} }
UINT WINAPI MsiLoadStringA(HINSTANCE hInstance, UINT uID, LPSTR lpBuffer, int nBufferMax, DWORD e) UINT WINAPI MsiLoadStringA(HINSTANCE hInstance, UINT uID, LPSTR lpBuffer, int nBufferMax, DWORD e)
@ -1596,10 +1603,34 @@ BOOL WINAPI MSI_DllCanUnloadNow(void)
return S_FALSE; return S_FALSE;
} }
UINT WINAPI MsiEnumRelatedProductsA (LPCSTR lpUpgradeCode, DWORD dwReserved, UINT WINAPI MsiEnumRelatedProductsW(LPCWSTR szUpgradeCode, DWORD dwReserved,
DWORD iProductIndex, LPSTR lpProductBuf) DWORD iProductIndex, LPWSTR lpProductBuf)
{ {
FIXME("STUB: (%s, %li %li %s)\n",lpUpgradeCode, dwReserved, iProductIndex, FIXME("%s %lu %lu %p\n", debugstr_w(szUpgradeCode), dwReserved,
lpProductBuf); iProductIndex, lpProductBuf);
return ERROR_CALL_NOT_IMPLEMENTED;
}
UINT WINAPI MsiEnumRelatedProductsA(LPCSTR szUpgradeCode, DWORD dwReserved,
DWORD iProductIndex, LPSTR lpProductBuf)
{
FIXME("%s %lu %lu %p\n", debugstr_a(szUpgradeCode), dwReserved,
iProductIndex, lpProductBuf);
return ERROR_CALL_NOT_IMPLEMENTED;
}
UINT WINAPI MsiGetFeatureUsageW(LPCWSTR szProduct, LPCWSTR szFeature,
DWORD* pdwUseCount, WORD* pwDateUsed)
{
FIXME("%s %s %p %p\n",debugstr_w(szProduct), debugstr_w(szFeature),
pdwUseCount, pwDateUsed);
return ERROR_CALL_NOT_IMPLEMENTED;
}
UINT WINAPI MsiGetFeatureUsageA(LPCSTR szProduct, LPCSTR szFeature,
DWORD* pdwUseCount, WORD* pwDateUsed)
{
FIXME("%s %s %p %p\n", debugstr_a(szProduct), debugstr_a(szFeature),
pdwUseCount, pwDateUsed);
return ERROR_CALL_NOT_IMPLEMENTED; return ERROR_CALL_NOT_IMPLEMENTED;
} }

View File

@ -56,8 +56,8 @@
56 stub MsiGetFeatureInfoW 56 stub MsiGetFeatureInfoW
57 stdcall MsiGetFeatureStateA(long str ptr ptr) 57 stdcall MsiGetFeatureStateA(long str ptr ptr)
58 stdcall MsiGetFeatureStateW(long wstr ptr ptr) 58 stdcall MsiGetFeatureStateW(long wstr ptr ptr)
59 stub MsiGetFeatureUsageA 59 stdcall MsiGetFeatureUsageA(str str ptr ptr)
60 stub MsiGetFeatureUsageW 60 stdcall MsiGetFeatureUsageW(wstr wstr ptr ptr)
61 stub MsiGetFeatureValidStatesA 61 stub MsiGetFeatureValidStatesA
62 stub MsiGetFeatureValidStatesW 62 stub MsiGetFeatureValidStatesW
63 stub MsiGetLanguage 63 stub MsiGetLanguage
@ -201,8 +201,8 @@
201 stub MsiDecomposeDescriptorW 201 stub MsiDecomposeDescriptorW
202 stub MsiProvideQualifiedComponentExA 202 stub MsiProvideQualifiedComponentExA
203 stub MsiProvideQualifiedComponentExW 203 stub MsiProvideQualifiedComponentExW
204 stdcall MsiEnumRelatedProductsA(str long long str) 204 stdcall MsiEnumRelatedProductsA(str long long ptr)
205 stub MsiEnumRelatedProductsW 205 stdcall MsiEnumRelatedProductsW(wstr long long ptr)
206 stub MsiSetFeatureAttributesA 206 stub MsiSetFeatureAttributesA
207 stub MsiSetFeatureAttributesW 207 stub MsiSetFeatureAttributesW
208 stub MsiSourceListClearAllA 208 stub MsiSourceListClearAllA