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");
ok(droptarget_refs>=1,"DropTarget refs should be at least one\n");
OleUninitialize();
ok(droptarget_release_called==0,"DropTarget_Release shouldn't have been called\n");
ok(droptarget_refs>=1,"DropTarget refs should be at least one\n");
hr=RevokeDragDrop(hwnd);
ok_ole_success(hr,"RevokeDragDrop");
ok(droptarget_release_called==1||
broken(droptarget_release_called==0),/* NT4 */
"DropTarget_Release should have been called once, not %d times\n",droptarget_release_called);
ok(droptarget_refs==0||
broken(droptarget_refs==1),/* NT4 */
"DropTarget refs should be zero not %d\n",droptarget_refs);
hr=RevokeDragDrop(NULL);
ok(hr==DRAGDROP_E_INVALIDHWND,"RevokeDragDrop with NULL hwnd should return DRAGDROP_E_INVALIDHWND instead of 0x%08x\n",hr);