Commit 49b39822 authored by Jon Griffiths's avatar Jon Griffiths Committed by Alexandre Julliard

RegisterDragDrop: fail on NULL drop target.

parent b64c6270
...@@ -332,6 +332,9 @@ HRESULT WINAPI RegisterDragDrop( ...@@ -332,6 +332,9 @@ HRESULT WINAPI RegisterDragDrop(
TRACE("(%p,%p)\n", hwnd, pDropTarget); TRACE("(%p,%p)\n", hwnd, pDropTarget);
if (!pDropTarget)
return E_INVALIDARG;
/* /*
* First, check if the window is already registered. * First, check if the window is already registered.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment