mirror of
https://github.com/reactos/reactos.git
synced 2025-05-17 16:27:00 +00:00
[SHELL32]
* Remove the loading new item service hack. * Implement proper loading of dynamic background item context. svn path=/trunk/; revision=54959
This commit is contained in:
parent
654ebc6892
commit
6b49e8c209
1 changed files with 2 additions and 6 deletions
|
@ -565,13 +565,9 @@ CDefaultContextMenu::BuildBackgroundContextMenu(
|
|||
}
|
||||
|
||||
/* load create new shell extension */
|
||||
if (RegOpenKeyExW(HKEY_CLASSES_ROOT,
|
||||
L"CLSID\\{D969A300-E7FF-11d0-A93B-00A0C90F2719}",
|
||||
0,
|
||||
KEY_READ,
|
||||
&hKey) == ERROR_SUCCESS)
|
||||
if (RegOpenKeyExW(HKEY_CLASSES_ROOT, L"Directory\\Background", 0, KEY_READ, &hKey) == ERROR_SUCCESS)
|
||||
{
|
||||
LoadDynamicContextMenuHandler(hKey, &CLSID_NewMenu, TRUE);
|
||||
EnumerateDynamicContextHandlerForKey(hKey);
|
||||
RegCloseKey(hKey);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue