MSI: add and fix some stubs
Mike McCormack
mike at codeweavers.com
Mon Jan 3 01:05:11 CST 2005
ChangeLog:
<steven at codeweavers.com>
* add and fix some stubs
-------------- next part --------------
Index: dlls/msi/msi.c
===================================================================
RCS file: /home/wine/wine/dlls/msi/msi.c,v
retrieving revision 1.44
diff -u -r1.44 msi.c
--- dlls/msi/msi.c 23 Dec 2004 11:22:00 -0000 1.44
+++ dlls/msi/msi.c 3 Jan 2005 07:04:10 -0000
@@ -68,6 +68,7 @@
INSTALLUILEVEL gUILevel;
HWND gUIhwnd;
INSTALLUI_HANDLERA gUIHandler;
+INSTALLUI_HANDLERW gUIHandlerW;
DWORD gUIFilter;
LPVOID gUIContext;
WCHAR gszLogFile[MAX_PATH];
@@ -849,8 +850,14 @@
INSTALLUI_HANDLERW WINAPI MsiSetExternalUIW(INSTALLUI_HANDLERW puiHandler,
DWORD dwMessageFilter, LPVOID pvContext)
{
- TRACE(" STUB (%p %lx %p)\n",puiHandler,dwMessageFilter,pvContext);
- return NULL;
+ INSTALLUI_HANDLERW prev = gUIHandlerW;
+
+ 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)
@@ -1596,10 +1603,34 @@
return S_FALSE;
}
-UINT WINAPI MsiEnumRelatedProductsA (LPCSTR lpUpgradeCode, DWORD dwReserved,
+UINT WINAPI MsiEnumRelatedProductsW(LPCWSTR szUpgradeCode, DWORD dwReserved,
+ DWORD iProductIndex, LPWSTR lpProductBuf)
+{
+ FIXME("%s %lu %lu %p\n", debugstr_w(szUpgradeCode), dwReserved,
+ iProductIndex, lpProductBuf);
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+UINT WINAPI MsiEnumRelatedProductsA(LPCSTR szUpgradeCode, DWORD dwReserved,
DWORD iProductIndex, LPSTR lpProductBuf)
{
- FIXME("STUB: (%s, %li %li %s)\n",lpUpgradeCode, dwReserved, iProductIndex,
- 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;
}
Index: dlls/msi/msi.spec
===================================================================
RCS file: /home/wine/wine/dlls/msi/msi.spec,v
retrieving revision 1.25
diff -u -r1.25 msi.spec
--- dlls/msi/msi.spec 23 Dec 2004 11:22:00 -0000 1.25
+++ dlls/msi/msi.spec 3 Jan 2005 07:04:10 -0000
@@ -56,8 +56,8 @@
56 stub MsiGetFeatureInfoW
57 stdcall MsiGetFeatureStateA(long str ptr ptr)
58 stdcall MsiGetFeatureStateW(long wstr ptr ptr)
-59 stub MsiGetFeatureUsageA
-60 stub MsiGetFeatureUsageW
+59 stdcall MsiGetFeatureUsageA(str str ptr ptr)
+60 stdcall MsiGetFeatureUsageW(wstr wstr ptr ptr)
61 stub MsiGetFeatureValidStatesA
62 stub MsiGetFeatureValidStatesW
63 stub MsiGetLanguage
@@ -201,8 +201,8 @@
201 stub MsiDecomposeDescriptorW
202 stub MsiProvideQualifiedComponentExA
203 stub MsiProvideQualifiedComponentExW
-204 stdcall MsiEnumRelatedProductsA(str long long str)
-205 stub MsiEnumRelatedProductsW
+204 stdcall MsiEnumRelatedProductsA(str long long ptr)
+205 stdcall MsiEnumRelatedProductsW(wstr long long ptr)
206 stub MsiSetFeatureAttributesA
207 stub MsiSetFeatureAttributesW
208 stub MsiSourceListClearAllA
More information about the wine-patches
mailing list