Commit 271f8a70 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

netcfgx: Return pointer to interface.

parent bbae410a
......@@ -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;
}
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