Skip to content

Commit e644ac1

Browse files
committed
[WLANWIZ] Remove __REACTOS__ guard as the functions are implemented
1 parent d56d35b commit e644ac1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

dll/shellext/wlanwiz/advsettings.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ LRESULT CWlanWizard::OnAdvancedSettings(WORD wNotifyCode, WORD wID, HWND hWndCtl
1010
{
1111
ATL::CStringW cswNetworkAdapterPath = L"";
1212
LPOLESTR lpwszNetConCLSID;
13-
#if !defined(__REACTOS__)
1413
CComPtr<IShellFolder> sfConn;
1514
LPITEMIDLIST pidl = NULL;
1615
LPCITEMIDLIST pidlChild = NULL;
@@ -30,10 +29,7 @@ LRESULT CWlanWizard::OnAdvancedSettings(WORD wNotifyCode, WORD wID, HWND hWndCtl
3029

3130
ILFree(pidl);
3231
sfConn.Release();
33-
#else
34-
if (FAILED(StringFromIID(CLSID_NetworkConnections, &lpwszNetConCLSID)))
35-
goto Exit;
36-
#endif
32+
3733
cswNetworkAdapterPath.Format(L"::%s\\::%s", lpwszNetConCLSID, this->m_sGUID);
3834

3935
/* NT 5.1 & 5.2 would still try to open the property sheet if you unplug the adapter. */

0 commit comments

Comments
 (0)