mirror of
https://github.com/reactos/wine.git
synced 2025-01-19 10:13:01 +00:00
infosoft: Properly return interface pointers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d618c0fa00
commit
d71672eb4c
@ -81,7 +81,7 @@ static HRESULT WINAPI infosoftcf_fnQueryInterface ( LPCLASSFACTORY iface,
|
||||
if (IsEqualIID(riid, &IID_IUnknown) ||
|
||||
IsEqualIID(riid, &IID_IClassFactory))
|
||||
{
|
||||
*ppvObj = This;
|
||||
*ppvObj = &This->IClassFactory_iface;
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
@ -57,7 +57,7 @@ static HRESULT WINAPI wb_QueryInterface( IWordBreaker *iface,
|
||||
if (IsEqualIID(riid, &IID_IUnknown) ||
|
||||
IsEqualIID(riid, &IID_IWordBreaker))
|
||||
{
|
||||
*ppvObj = This;
|
||||
*ppvObj = &This->IWordBreaker_iface;
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user