browseui: Return interface pointer instead of impl pointer.
This commit is contained in:
parent
961b1a270f
commit
77a63b7245
|
@ -325,7 +325,7 @@ HRESULT ACLMulti_Constructor(IUnknown *pUnkOuter, IUnknown **ppOut)
|
|||
This->refCount = 1;
|
||||
|
||||
TRACE("returning %p\n", This);
|
||||
*ppOut = (IUnknown *)This;
|
||||
*ppOut = (IUnknown *)&This->IEnumString_iface;
|
||||
BROWSEUI_refCount++;
|
||||
return S_OK;
|
||||
}
|
||||
|
|
|
@ -147,6 +147,6 @@ HRESULT ACLShellSource_Constructor(IUnknown *pUnkOuter, IUnknown **ppOut)
|
|||
This->refCount = 1;
|
||||
|
||||
TRACE("returning %p\n", This);
|
||||
*ppOut = (IUnknown *)This;
|
||||
*ppOut = (IUnknown *)&This->IACList2_iface;
|
||||
return S_OK;
|
||||
}
|
||||
|
|
|
@ -158,7 +158,7 @@ HRESULT CompCatCacheDaemon_Constructor(IUnknown *pUnkOuter, IUnknown **ppOut)
|
|||
This->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": CompCatCacheDaemon.cs");
|
||||
|
||||
TRACE("returning %p\n", This);
|
||||
*ppOut = (IUnknown *)This;
|
||||
*ppOut = (IUnknown *)&This->IRunnableTask_iface;
|
||||
InterlockedIncrement(&BROWSEUI_refCount);
|
||||
return S_OK;
|
||||
}
|
||||
|
|
|
@ -579,7 +579,7 @@ HRESULT ProgressDialog_Constructor(IUnknown *pUnkOuter, IUnknown **ppOut)
|
|||
This->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": ProgressDialog.cs");
|
||||
|
||||
TRACE("returning %p\n", This);
|
||||
*ppOut = (IUnknown *)This;
|
||||
*ppOut = (IUnknown *)&This->IProgressDialog_iface;
|
||||
InterlockedIncrement(&BROWSEUI_refCount);
|
||||
return S_OK;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue