Commit ab8237c8 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

wiaservc: Remove unused IUnknown *outer parameter from object constructor.

parent da0c4032
......@@ -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 *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment