mirror of
https://github.com/reactos/reactos.git
synced 2025-07-04 20:01:23 +00:00
[SHELL32] -CFSDropTarger: Improve the debug message that shows the first thing that is copied or moved and where. This way we sort of know what parameters we pass to SHFileOperationW.
svn path=/trunk/; revision=75625
This commit is contained in:
parent
75cb0454f7
commit
b5af5aa749
1 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ HRESULT WINAPI CFSDropTarget::CopyItems(IShellFolder * pSFFrom, UINT cidl,
|
||||||
return hr;
|
return hr;
|
||||||
|
|
||||||
pszSrcList = BuildPathsList(strretFrom.pOleStr, cidl, apidl);
|
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);
|
CoTaskMemFree(strretFrom.pOleStr);
|
||||||
if (!pszSrcList)
|
if (!pszSrcList)
|
||||||
return E_OUTOFMEMORY;
|
return E_OUTOFMEMORY;
|
||||||
|
@ -468,7 +468,7 @@ HRESULT WINAPI CFSDropTarget::_DoDrop(IDataObject *pDataObject,
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
pszSrcList = (LPWSTR) (((byte*) lpdf) + lpdf->pFiles);
|
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;
|
SHFILEOPSTRUCTW op;
|
||||||
ZeroMemory(&op, sizeof(op));
|
ZeroMemory(&op, sizeof(op));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue