From: panhui panhui@uniontech.com
--- dlls/wmp/tests/oleobj.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/dlls/wmp/tests/oleobj.c b/dlls/wmp/tests/oleobj.c index fa593eb3c3f..1be9b1d65cf 100644 --- a/dlls/wmp/tests/oleobj.c +++ b/dlls/wmp/tests/oleobj.c @@ -1328,6 +1328,9 @@ static void test_wmp(void)
test_wmp_ifaces(oleobj);
+ hres = IOleObject_DoVerb(oleobj, OLEIVERB_SHOW, NULL, &ClientSite, 0, container_hwnd, &pos); + ok(hres == S_OK, "DoVerb failed: %08lx\n", hres); + hres = IOleObject_DoVerb(oleobj, OLEIVERB_HIDE, NULL, &ClientSite, 0, container_hwnd, &pos); ok(hres == S_OK, "DoVerb failed: %08lx\n", hres); ok(!IsWindowVisible(hwnd), "Window is visible\n");