From 5dc2626ba4b22eb6cb48aea129d4851e559529de Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Tue, 12 Jul 2016 10:07:53 +0200 Subject: [PATCH] avifil32: Avoid using the LPCLASSFACTORY COM iface type. Signed-off-by: Michael Stefaniuc Signed-off-by: Alexandre Julliard --- dlls/avifil32/factory.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/dlls/avifil32/factory.c b/dlls/avifil32/factory.c index 8ada02b71a1..30fa604b8d2 100644 --- a/dlls/avifil32/factory.c +++ b/dlls/avifil32/factory.c @@ -53,8 +53,8 @@ static inline IClassFactoryImpl *impl_from_IClassFactory(IClassFactory *iface) return CONTAINING_RECORD(iface, IClassFactoryImpl, IClassFactory_iface); } -static HRESULT WINAPI IClassFactory_fnQueryInterface(LPCLASSFACTORY iface, - REFIID riid,LPVOID *ppobj) +static HRESULT WINAPI IClassFactory_fnQueryInterface(IClassFactory *iface, REFIID riid, + void **ppobj) { TRACE("(%p,%p,%p)\n", iface, riid, ppobj); @@ -90,9 +90,8 @@ static ULONG WINAPI IClassFactory_fnRelease(IClassFactory *iface) return ref; } -static HRESULT WINAPI IClassFactory_fnCreateInstance(LPCLASSFACTORY iface, - LPUNKNOWN pOuter, - REFIID riid,LPVOID *ppobj) +static HRESULT WINAPI IClassFactory_fnCreateInstance(IClassFactory *iface, IUnknown *pOuter, + REFIID riid, void **ppobj) { IClassFactoryImpl *This = impl_from_IClassFactory(iface); @@ -122,7 +121,7 @@ static HRESULT WINAPI IClassFactory_fnCreateInstance(LPCLASSFACTORY iface, return E_NOINTERFACE; } -static HRESULT WINAPI IClassFactory_fnLockServer(LPCLASSFACTORY iface,BOOL dolock) +static HRESULT WINAPI IClassFactory_fnLockServer(IClassFactory *iface, BOOL dolock) { TRACE("(%p,%d)\n",iface,dolock); -- 2.11.4.GIT