wiaservc: Remove unused IUnknown *outer parameter from object constructor.
This commit is contained in:
parent
da0c40326a
commit
ab8237c8c5
|
@ -77,7 +77,7 @@ WIASERVC_IClassFactory_CreateInstance(LPCLASSFACTORY iface, LPUNKNOWN pUnkOuter,
|
|||
if (pUnkOuter)
|
||||
return CLASS_E_NOAGGREGATION;
|
||||
|
||||
res = wiadevmgr_Constructor(pUnkOuter, (LPVOID*) &punk);
|
||||
res = wiadevmgr_Constructor((LPVOID*) &punk);
|
||||
if (FAILED(res))
|
||||
return res;
|
||||
|
||||
|
|
|
@ -164,10 +164,10 @@ static const IWiaDevMgrVtbl WIASERVC_IWiaDevMgr_Vtbl =
|
|||
wiadevmgr_AddDeviceDlg
|
||||
};
|
||||
|
||||
HRESULT wiadevmgr_Constructor(IUnknown *pUnkOuter, LPVOID *ppObj)
|
||||
HRESULT wiadevmgr_Constructor(LPVOID *ppObj)
|
||||
{
|
||||
wiadevmgr *This;
|
||||
TRACE("(%p,%p)\n", pUnkOuter, ppObj);
|
||||
TRACE("(%p)\n", ppObj);
|
||||
This = HeapAlloc(GetProcessHeap(), 0, sizeof(wiadevmgr));
|
||||
if (This)
|
||||
{
|
||||
|
|
|
@ -34,7 +34,7 @@ typedef struct
|
|||
LONG ref;
|
||||
} wiadevmgr;
|
||||
|
||||
HRESULT wiadevmgr_Constructor(IUnknown *pUnkOuter, LPVOID *ppObj) DECLSPEC_HIDDEN;
|
||||
HRESULT wiadevmgr_Constructor(LPVOID *ppObj) DECLSPEC_HIDDEN;
|
||||
|
||||
/* Little helper functions */
|
||||
static inline char *
|
||||
|
|
Loading…
Reference in New Issue