mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
RegisterDragDrop: fail on NULL drop target.
This commit is contained in:
parent
b64c627022
commit
49b3982255
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue