Commit 81fba926 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

shell32/tests: Also test without flags.

parent bb6c1f06
......@@ -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)
......
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