[PATCH 4/4] Fix a test failure on Vista/W2K
Paul Vriens
Paul.Vriens.Wine at gmail.com
Wed Sep 16 07:27:43 CDT 2009
---
dlls/comdlg32/tests/filedlg.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/comdlg32/tests/filedlg.c b/dlls/comdlg32/tests/filedlg.c
index 900dc72..6583130 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;
--
1.6.2.5
--------------050204080307090305030107--
More information about the wine-patches
mailing list