Thomas Faber : shell32/tests: Destroy shell view windows.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jul 6 06:37:37 CDT 2015
Module: wine
Branch: master
Commit: eff884f19b2ace1d475bdaa5fcc519f68d3b7c7f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=eff884f19b2ace1d475bdaa5fcc519f68d3b7c7f
Author: Thomas Faber <thomas.faber at reactos.org>
Date: Thu Jul 2 06:25:46 2015 -0400
shell32/tests: Destroy shell view windows.
---
dlls/shell32/tests/shlview.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/dlls/shell32/tests/shlview.c b/dlls/shell32/tests/shlview.c
index 1cfffaa..2134a49 100644
--- a/dlls/shell32/tests/shlview.c
+++ b/dlls/shell32/tests/shlview.c
@@ -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);
More information about the wine-cvs
mailing list