mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[NETSHELL] Improvements to the network setup (2a/x)
Step 2a: Really check the binding between network components. Next Step: Bind the Tcpip transport to all enumerated network adapters.
This commit is contained in:
parent
73ca084e96
commit
214692ff5e
1 changed files with 1 additions and 3 deletions
|
@ -101,7 +101,7 @@ CNetConnectionPropertyUi::EnumComponents(HWND hDlgCtrl, INetCfg *pNCfg, const GU
|
||||||
pHelpText = NULL;
|
pHelpText = NULL;
|
||||||
hr = pNCfgComp->GetDisplayName(&pDisplayName);
|
hr = pNCfgComp->GetDisplayName(&pDisplayName);
|
||||||
hr = pNCfgComp->GetHelpText(&pHelpText);
|
hr = pNCfgComp->GetHelpText(&pHelpText);
|
||||||
bChecked = TRUE; //ReactOS hack
|
bChecked = FALSE;
|
||||||
hr = pNCfgComp->QueryInterface(IID_PPV_ARG(INetCfgComponentBindings, &pCompBind));
|
hr = pNCfgComp->QueryInterface(IID_PPV_ARG(INetCfgComponentBindings, &pCompBind));
|
||||||
if (SUCCEEDED(hr))
|
if (SUCCEEDED(hr))
|
||||||
{
|
{
|
||||||
|
@ -110,8 +110,6 @@ CNetConnectionPropertyUi::EnumComponents(HWND hDlgCtrl, INetCfg *pNCfg, const GU
|
||||||
hr = pCompBind->IsBoundTo(pAdapterCfgComp);
|
hr = pCompBind->IsBoundTo(pAdapterCfgComp);
|
||||||
if (hr == S_OK)
|
if (hr == S_OK)
|
||||||
bChecked = TRUE;
|
bChecked = TRUE;
|
||||||
else
|
|
||||||
bChecked = FALSE;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue