From e848a6f6e45b291fd8fa2c0bf536ff4bbe208b19 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Wed, 16 Sep 2009 14:27:43 +0200 Subject: [PATCH] comdlg32/tests: Fix a test failure on Vista/W2K. --- dlls/comdlg32/tests/filedlg.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dlls/comdlg32/tests/filedlg.c b/dlls/comdlg32/tests/filedlg.c index be3cf8c949b..8c32866f533 100644 --- a/dlls/comdlg32/tests/filedlg.c +++ b/dlls/comdlg32/tests/filedlg.c @@ -200,6 +200,11 @@ static UINT_PTR CALLBACK create_view_window2_hook(HWND dlg, UINT msg, WPARAM wPa view_params.hwndView = NULL; hr = IShellView2_CreateViewWindow2(shell_view2, &view_params); + if (hr == E_FAIL) + { + win_skip("CreateViewWindow2 is broken on Vista/W2K8\n"); + goto cleanup; + } ok(SUCCEEDED(hr), "CreateViewWindow2 returned %#x\n", hr); if (FAILED(hr)) goto cleanup;