comdlg32/tests: Fix a test failure on Vista/W2K.

This commit is contained in:
Paul Vriens 2009-09-16 14:27:43 +02:00 committed by Alexandre Julliard
parent 749c86cd3f
commit e848a6f6e4
1 changed files with 5 additions and 0 deletions

View File

@ -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;