RegisterDragDrop: fail on NULL drop target.
This commit is contained in:
parent
b64c627022
commit
49b3982255
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue