shell32/tests: Destroy shell view windows.

This commit is contained in:
Thomas Faber 2015-07-02 06:25:46 -04:00 committed by Alexandre Julliard
parent 71f1c90628
commit eff884f19b

View File

@ -676,6 +676,10 @@ if (0)
ok(hr == S_OK, "got (0x%08x)\n", hr);
IDropTarget_Release(dt);
hr = IShellView_DestroyViewWindow(view);
ok(hr == S_OK, "got (0x%08x)\n", hr);
ok(!IsWindow(hwnd_view), "hwnd %p still valid\n", hwnd_view);
IShellView_Release(view);
IShellFolder_Release(desktop);
}
@ -835,6 +839,10 @@ if (0)
win_skip("IFolderView2 is not supported.\n");
if (fv2) IFolderView2_Release(fv2);
hr = IShellView_DestroyViewWindow(view);
ok(hr == S_OK, "got (0x%08x)\n", hr);
ok(!IsWindow(hwnd_view), "hwnd %p still valid\n", hwnd_view);
IShellBrowser_Release(browser);
IFolderView_Release(fv);
IShellView_Release(view);