Author: gadamopoulos
Date: Sun Nov 3 13:15:52 2013
New Revision: 60845
URL:
http://svn.reactos.org/svn/reactos?rev=60845&view=rev
Log:
[shell32]
- When the caller uses SVGIO_BACKGROUND we should always return a context menu of the
background. To do it we pass no items to CDefFolderMenu even when we have selected items.
Should improve the situation for ctrl+c, ctrl+v in the shell
Modified:
trunk/reactos/dll/win32/shell32/shlview.cpp
Modified: trunk/reactos/dll/win32/shell32/shlview.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shlview.…
==============================================================================
--- trunk/reactos/dll/win32/shell32/shlview.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/shlview.cpp [iso-8859-1] Sun Nov 3 13:15:52 2013
@@ -2089,7 +2089,7 @@
if (IsEqualIID(riid, IID_IContextMenu))
{
//*ppvOut = ISvBgCm_Constructor(pSFParent, FALSE);
- CDefFolderMenu_Create2(NULL, NULL, cidl, (LPCITEMIDLIST*)apidl,
pSFParent, NULL, 0, NULL, (IContextMenu**)ppvOut);
+ CDefFolderMenu_Create2(NULL, NULL, 0, NULL, pSFParent, NULL, 0, NULL,
(IContextMenu**)ppvOut);
if (!ppvOut)
hr = E_OUTOFMEMORY;
else