Author: akhaldi Date: Sat Jan 14 17:03:40 2012 New Revision: 54959
URL: http://svn.reactos.org/svn/reactos?rev=54959&view=rev Log: [SHELL32] * Remove the loading new item service hack. * Implement proper loading of dynamic background item context.
Modified: trunk/reactos/dll/win32/shell32/defcontextmenu.cpp
Modified: trunk/reactos/dll/win32/shell32/defcontextmenu.cpp URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/defcontex... ============================================================================== --- trunk/reactos/dll/win32/shell32/defcontextmenu.cpp [iso-8859-1] (original) +++ trunk/reactos/dll/win32/shell32/defcontextmenu.cpp [iso-8859-1] Sat Jan 14 17:03:40 2012 @@ -565,13 +565,9 @@ }
/* load create new shell extension */ - if (RegOpenKeyExW(HKEY_CLASSES_ROOT, - L"CLSID\{D969A300-E7FF-11d0-A93B-00A0C90F2719}", - 0, - KEY_READ, - &hKey) == ERROR_SUCCESS) - { - LoadDynamicContextMenuHandler(hKey, &CLSID_NewMenu, TRUE); + if (RegOpenKeyExW(HKEY_CLASSES_ROOT, L"Directory\Background", 0, KEY_READ, &hKey) == ERROR_SUCCESS) + { + EnumerateDynamicContextHandlerForKey(hKey); RegCloseKey(hKey); }