Commit 7234ddd2 authored by Greg Geldorp's avatar Greg Geldorp Committed by Alexandre Julliard

shell32/tests: Support for IShellFolderView::RemoveObject was removed in Win7.

parent a131886a
......@@ -776,9 +776,9 @@ static void test_IShellFolderView(void)
/* ::RemoveObject */
i = 0xdeadbeef;
hr = IShellFolderView_RemoveObject(folderview, NULL, &i);
ok(hr == S_OK, "got (0x%08x)\n", hr);
ok(i == 0 || i == -1 /* Win7 */ || broken(i == 0xdeadbeef) /* Vista, 2k8 */,
"got %d\n", i);
ok(hr == S_OK || hr == E_FAIL, "got (0x%08x)\n", hr);
if (hr == S_OK) ok(i == 0 || broken(i == 0xdeadbeef) /* Vista, 2k8 */,
"got %d\n", i);
IShellFolderView_Release(folderview);
......
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