RegisterDragDrop: fail on NULL drop target.

This commit is contained in:
Jon Griffiths 2004-03-30 05:13:58 +00:00 committed by Alexandre Julliard
parent b64c627022
commit 49b3982255

View file

@ -332,6 +332,9 @@ HRESULT WINAPI RegisterDragDrop(
TRACE("(%p,%p)\n", hwnd, pDropTarget);
if (!pDropTarget)
return E_INVALIDARG;
/*
* First, check if the window is already registered.
*/