ok(hr==DRAGDROP_E_ALREADYREGISTERED,"RegisterDragDrop with already registered hwnd should return DRAGDROP_E_ALREADYREGISTERED instead of 0x%08x\n",hr);
ok(droptarget_release_called==0,"DropTarget_Release shouldn't have been called\n");
OleUninitialize();
todo_wine
ok(droptarget_release_called==0,"DropTarget_Release shouldn't have been called\n");
hr=RevokeDragDrop(GetDesktopWindow());
todo_wine
ok_ole_success(hr,"RevokeDragDrop");
todo_wine
ok(droptarget_release_called==1,"DropTarget_Release should have been called once, not %d times\n",droptarget_release_called);
hr=RevokeDragDrop(NULL);
todo_wine
ok(hr==DRAGDROP_E_INVALIDHWND,"RevokeDragDrop with NULL hwnd should return DRAGDROP_E_INVALIDHWND instead of 0x%08x\n",hr);