mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 16:03:00 +00:00
[SHELL32] CNewMenu: Don't use CWM_GETISHELLBROWSER.
CDefaultContextMenu: Set the site for context menu extensions CNewMenu: Get SID_IFolderView service of the site to get the IShellView
This commit is contained in:
parent
b97886ea9f
commit
67f99833cd
3 changed files with 13 additions and 13 deletions
|
@ -376,6 +376,9 @@ CDefaultContextMenu::LoadDynamicContextMenuHandler(HKEY hKey, const CLSID *pclsi
|
|||
return hr;
|
||||
}
|
||||
|
||||
if (m_site)
|
||||
IUnknown_SetSite(pcm, m_site);
|
||||
|
||||
PDynamicShellEntry pEntry = (DynamicShellEntry *)HeapAlloc(GetProcessHeap(), 0, sizeof(DynamicShellEntry));
|
||||
if (!pEntry)
|
||||
return E_OUTOFMEMORY;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue