netcfgx: Return pointer to interface.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bbae410a2b
commit
271f8a7072
|
@ -233,7 +233,7 @@ HRESULT INetCfg_CreateInstance(IUnknown **ppUnk)
|
|||
This->INetCfgLock_iface.lpVtbl = &NetCfgLockVtbl;
|
||||
This->ref = 1;
|
||||
|
||||
*ppUnk = (IUnknown*)This;
|
||||
*ppUnk = (IUnknown*)&This->INetCfg_iface;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue