diff --git a/reactos/base/shell/explorer/startmnucust.cpp b/reactos/base/shell/explorer/startmnucust.cpp index e64240bbbef..690548b22f0 100644 --- a/reactos/base/shell/explorer/startmnucust.cpp +++ b/reactos/base/shell/explorer/startmnucust.cpp @@ -21,6 +21,7 @@ #include "precomp.h" +// TODO: Windows Explorer appears to be calling NewLinkHere / ConfigStartMenu directly for both items. VOID OnAddStartMenuItems(HWND hDlg) { WCHAR szPath[MAX_PATH]; @@ -33,6 +34,11 @@ VOID OnAddStartMenuItems(HWND hDlg) } } +VOID OnRemoveStartmenuItems(HWND hDlg) +{ + ShellExecuteW(hDlg, L"open", L"rundll32.exe", L"appwiz.cpl,ConfigStartMenu", NULL, SW_SHOWNORMAL); +} + VOID OnAdvancedStartMenuItems() { WCHAR szPath[MAX_PATH]; @@ -77,6 +83,9 @@ INT_PTR CALLBACK CustomizeClassicProc(HWND hwnd, UINT Message, WPARAM wParam, LP case IDC_CLASSICSTART_ADD: OnAddStartMenuItems(hwnd); break; + case IDC_CLASSICSTART_REMOVE: + OnRemoveStartmenuItems(hwnd); + break; case IDC_CLASSICSTART_ADVANCED: OnAdvancedStartMenuItems(); break;