avifil32: Avoid using the LPCLASSFACTORY COM iface type.

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2016-07-12 10:07:53 +02:00 committed by Alexandre Julliard
parent 00de4b59d1
commit 5dc2626ba4
1 changed files with 5 additions and 6 deletions

View File

@ -53,8 +53,8 @@ static inline IClassFactoryImpl *impl_from_IClassFactory(IClassFactory *iface)
return CONTAINING_RECORD(iface, IClassFactoryImpl, IClassFactory_iface); return CONTAINING_RECORD(iface, IClassFactoryImpl, IClassFactory_iface);
} }
static HRESULT WINAPI IClassFactory_fnQueryInterface(LPCLASSFACTORY iface, static HRESULT WINAPI IClassFactory_fnQueryInterface(IClassFactory *iface, REFIID riid,
REFIID riid,LPVOID *ppobj) void **ppobj)
{ {
TRACE("(%p,%p,%p)\n", iface, riid, ppobj); TRACE("(%p,%p,%p)\n", iface, riid, ppobj);
@ -90,9 +90,8 @@ static ULONG WINAPI IClassFactory_fnRelease(IClassFactory *iface)
return ref; return ref;
} }
static HRESULT WINAPI IClassFactory_fnCreateInstance(LPCLASSFACTORY iface, static HRESULT WINAPI IClassFactory_fnCreateInstance(IClassFactory *iface, IUnknown *pOuter,
LPUNKNOWN pOuter, REFIID riid, void **ppobj)
REFIID riid,LPVOID *ppobj)
{ {
IClassFactoryImpl *This = impl_from_IClassFactory(iface); IClassFactoryImpl *This = impl_from_IClassFactory(iface);
@ -122,7 +121,7 @@ static HRESULT WINAPI IClassFactory_fnCreateInstance(LPCLASSFACTORY iface,
return E_NOINTERFACE; 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); TRACE("(%p,%d)\n",iface,dolock);