shell32/tests: Also test without flags.

This commit is contained in:
André Hentschel 2011-05-09 20:03:32 +02:00 committed by Alexandre Julliard
parent bb6c1f06af
commit 81fba92625
1 changed files with 9 additions and 1 deletions

View File

@ -323,7 +323,6 @@ static void test_selection(void)
bi.hwndOwner = NULL;
bi.pszDisplayName = NULL;
bi.lpszTitle = (LPTSTR) title;
bi.ulFlags = BIF_NEWDIALOGSTYLE;
bi.lpfn = selection_callback;
SHGetDesktopFolder(&desktop_object);
@ -331,6 +330,15 @@ static void test_selection(void)
selected_folderW, 0UL, &selected_folder_pidl, 0UL);
bi.pidlRoot = selected_folder_pidl;
/* test without flags */
bi.ulFlags = 0;
pidl = SHBrowseForFolder(&bi);
if (pidl)
CoTaskMemFree(pidl);
/* test with flag */
bi.ulFlags = BIF_NEWDIALOGSTYLE;
pidl = SHBrowseForFolder(&bi);
if (pidl)