Commit eff884f1 authored by Thomas Faber's avatar Thomas Faber Committed by Alexandre Julliard

shell32/tests: Destroy shell view windows.

parent 71f1c906
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment