atl: Constify some variables

Andrew Talbot Andrew.Talbot at talbotville.com
Mon Apr 2 16:50:14 CDT 2007


Changelog:
    atl: Constify some variables.

diff -urN a/dlls/atl/registrar.c b/dlls/atl/registrar.c
--- a/dlls/atl/registrar.c	2007-03-21 22:14:24.000000000 +0000
+++ b/dlls/atl/registrar.c	2007-04-01 18:10:23.000000000 +0100
@@ -149,7 +149,7 @@
     return S_OK;
 }
 
-static HRESULT do_preprocess(Registrar *This, LPCOLESTR data, strbuf *buf)
+static HRESULT do_preprocess(const Registrar *This, LPCOLESTR data, strbuf *buf)
 {
     LPCOLESTR iter, iter2 = data;
     rep_list *rep_iter;
@@ -663,7 +663,7 @@
     Registrar_ResourceUnregister,
 };
 
-static HRESULT Registrar_create(LPUNKNOWN pUnkOuter, REFIID riid, void **ppvObject)
+static HRESULT Registrar_create(const IUnknown *pUnkOuter, REFIID riid, void **ppvObject)
 {
     Registrar *ret;
 



More information about the wine-patches mailing list