Fix winapi_check's type warnings

Francois Gouget fgouget at free.fr
Thu May 5 12:13:37 CDT 2005


Changelog:

  * tools/winapi/win32.api
    dlls/urlmon/urlmon_main.c
    include/urlmon.idl

    Francois Gouget <fgouget at free.fr>
    Update win32.api to match the current sources.
    Declare CoGetClassObjectFromURL() in urlmon.h.

-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
                   A black hole is just God dividing by zero.
-------------- next part --------------
Index: tools/winapi/win32.api
===================================================================
RCS file: /var/cvs/wine/tools/winapi/win32.api,v
retrieving revision 1.29
diff -u -p -r1.29 win32.api
--- tools/winapi/win32.api	22 Apr 2005 21:17:57 -0000	1.29
+++ tools/winapi/win32.api	5 May 2005 14:57:44 -0000
@@ -209,7 +209,6 @@ LPVOID *
 REFCLSID
 REFIID
 struct _ATL_REGMAP_ENTRY *
-void *
 
 %str
 
@@ -4004,6 +4003,7 @@ IMoniker **
 IServiceProvider *
 IUnknown *
 LPBC
+LPBINDCTX
 LPBINDSTATUSCALLBACK
 LPWSTR *
 LPUNKNOWN
Index: dlls/urlmon/urlmon_main.c
===================================================================
RCS file: /var/cvs/wine/dlls/urlmon/urlmon_main.c,v
retrieving revision 1.23
diff -u -p -r1.23 urlmon_main.c
--- dlls/urlmon/urlmon_main.c	5 May 2005 09:50:57 -0000	1.23
+++ dlls/urlmon/urlmon_main.c	5 May 2005 14:57:29 -0000
@@ -348,7 +348,7 @@ HRESULT WINAPI FaultInIEFeature( HWND hw
 HRESULT WINAPI CoGetClassObjectFromURL( REFCLSID rclsid, LPCWSTR szCodeURL, DWORD dwFileVersionMS,
                                         DWORD dwFileVersionLS, LPCWSTR szContentType,
                                         LPBINDCTX pBindCtx, DWORD dwClsContext, LPVOID pvReserved,
-                                        REFIID riid, VOID **ppv )
+                                        REFIID riid, LPVOID *ppv )
 {
     FIXME("(%s %s %ld %ld %s %p %ld %p %s %p) Stub!\n", debugstr_guid(rclsid), debugstr_w(szCodeURL),
 	dwFileVersionMS, dwFileVersionLS, debugstr_w(szContentType), pBindCtx, dwClsContext, pvReserved,
Index: include/urlmon.idl
===================================================================
RCS file: /var/cvs/wine/include/urlmon.idl,v
retrieving revision 1.14
diff -u -p -r1.14 urlmon.idl
--- include/urlmon.idl	30 Mar 2005 17:05:22 -0000	1.14
+++ include/urlmon.idl	5 May 2005 14:57:21 -0000
@@ -1044,6 +1044,7 @@ cpp_quote("#define INET_E_REDIRECT_TO_DI
 cpp_quote("#define INET_E_CANNOT_LOCK_REQUEST       0x800C0016L")
 cpp_quote("#define INET_E_ERROR_LAST                INET_E_REDIRECT_TO_DIR")
 
+cpp_quote("HRESULT WINAPI CoGetClassObjectFromURL(REFCLSID, LPCWSTR, DWORD, DWORD, LPCWSTR, LPBINDCTX, DWORD, LPVOID, REFIID, LPVOID*);")
 cpp_quote("HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPCWSTR szURL, IMoniker **ppmk);")
 cpp_quote("HRESULT WINAPI RegisterBindStatusCallback(IBindCtx *pbc, IBindStatusCallback *pbsc, IBindStatusCallback **ppbsc, DWORD dwReserved);")
 cpp_quote("HRESULT WINAPI CompareSecurityIds(BYTE*,DWORD,BYTE*,DWORD,DWORD);")


More information about the wine-patches mailing list