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

This commit is contained in:
Dmitry Timoshkov 2013-12-30 18:20:54 +09:00 committed by Alexandre Julliard
parent da0c40326a
commit ab8237c8c5
3 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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)
{

View File

@ -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 *