[SHELL32] -CFSDropTarger: Improve the debug message that shows the first thing that...
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Sat, 19 Aug 2017 15:48:47 +0000 (15:48 +0000)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Sat, 19 Aug 2017 15:48:47 +0000 (15:48 +0000)
svn path=/trunk/; revision=75625

reactos/dll/win32/shell32/droptargets/CFSDropTarget.cpp

index 287138e..468f6c1 100644 (file)
@@ -75,7 +75,7 @@ HRESULT WINAPI CFSDropTarget::CopyItems(IShellFolder * pSFFrom, UINT cidl,
         return hr;
 
     pszSrcList = BuildPathsList(strretFrom.pOleStr, cidl, apidl);
-    ERR("Source file (just the first) = %s, target path = %s\n", debugstr_w(strretFrom.pOleStr), debugstr_w(sPathTarget));
+    ERR("Source file (just the first) = %s, target path = %s, bCopy: %d\n", debugstr_w(pszSrcList), debugstr_w(sPathTarget), bCopy);
     CoTaskMemFree(strretFrom.pOleStr);
     if (!pszSrcList)
         return E_OUTOFMEMORY;
@@ -468,7 +468,7 @@ HRESULT WINAPI CFSDropTarget::_DoDrop(IDataObject *pDataObject,
                 return E_FAIL;
             }
             pszSrcList = (LPWSTR) (((byte*) lpdf) + lpdf->pFiles);
-            ERR("Source file (just the first) = %s, target path = %s\n", debugstr_w(pszSrcList), debugstr_w(wszTargetPath));
+            ERR("Source file (just the first) = %s, target path = %s, bCopy: %d\n", debugstr_w(pszSrcList), debugstr_w(wszTargetPath), bCopy);
 
             SHFILEOPSTRUCTW op;
             ZeroMemory(&op, sizeof(op));