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:
Nikolay Sivov 2016-09-01 03:16:34 +03:00 committed by Alexandre Julliard
parent bbae410a2b
commit 271f8a7072
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ HRESULT INetCfg_CreateInstance(IUnknown **ppUnk)
This->INetCfgLock_iface.lpVtbl = &NetCfgLockVtbl; This->INetCfgLock_iface.lpVtbl = &NetCfgLockVtbl;
This->ref = 1; This->ref = 1;
*ppUnk = (IUnknown*)This; *ppUnk = (IUnknown*)&This->INetCfg_iface;
return S_OK; return S_OK;
} }