mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08:00
[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:
committed by
GitHub
parent
6b1ca2895b
commit
8f129932dd
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user