[SHELL32] Return correct CSIDL for "Network Connections" menu item (#7938)

Fixes erroneous addition of "Properties" item into its context menu.

- Addendum to 0241b5c4e9 and 5aaead3fdb. CORE-20152
- Also remove FIXME for CORE-19477 which is fixed now. CORE-20151
This commit is contained in:
Mohammad Amin Mollazadeh
2025-04-28 23:14:58 +03:30
committed by GitHub
parent dbc0c37750
commit be87e0099f

View File

@@ -357,7 +357,7 @@ private:
case IDM_MYDOCUMENTS: return CSIDL_MYDOCUMENTS;
case IDM_MYPICTURES: return CSIDL_MYPICTURES;
case IDM_CONTROLPANEL: return CSIDL_CONTROLS;
case IDM_NETWORKCONNECTIONS: return CSIDL_NETWORK;
case IDM_NETWORKCONNECTIONS: return CSIDL_CONNECTIONS;
case IDM_PRINTERSANDFAXES: return CSIDL_PRINTERS;
default: return 0;
}
@@ -371,9 +371,6 @@ private:
TRACE("csidl: 0x%X\n", csidl);
if (csidl == CSIDL_CONTROLS || csidl == CSIDL_NETWORK || csidl == CSIDL_PRINTERS)
FIXME("This CSIDL %d wrongly opens My Computer. CORE-19477\n", csidl);
CComHeapPtr<ITEMIDLIST> pidl;
SHGetSpecialFolderLocation(NULL, csidl, &pidl);