[SHELL32] Simply return S_OK if *pdwEffect is none (#2039)

IDropTarget::DragEnter must simply return S_OK if *pdwEffect == DROPEFFECT_NONE. CORE-11238
This commit is contained in:
Katayama Hirofumi MZ
2019-11-15 18:02:06 +09:00
committed by GitHub
parent 6b1ca2895b
commit 8f129932dd
4 changed files with 14 additions and 0 deletions

View File

@@ -3107,6 +3107,10 @@ HRESULT STDMETHODCALLTYPE CShellLink::DragEnter(IDataObject *pDataObject,
DWORD dwKeyState, POINTL pt, DWORD *pdwEffect)
{
TRACE("(%p)->(DataObject=%p)\n", this, pDataObject);
if (*pdwEffect == DROPEFFECT_NONE)
return S_OK;
LPCITEMIDLIST pidlLast;
CComPtr<IShellFolder> psf;