mirror of
https://github.com/reactos/wine.git
synced 2025-03-03 02:05:48 +00:00
shell32/tests: Destroy shell view windows.
This commit is contained in:
parent
71f1c90628
commit
eff884f19b
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user