Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
81fba926
Commit
81fba926
authored
May 09, 2011
by
André Hentschel
Committed by
Alexandre Julliard
May 10, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Also test without flags.
parent
bb6c1f06
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
brsfolder.c
dlls/shell32/tests/brsfolder.c
+9
-1
No files found.
dlls/shell32/tests/brsfolder.c
View file @
81fba926
...
@@ -323,7 +323,6 @@ static void test_selection(void)
...
@@ -323,7 +323,6 @@ static void test_selection(void)
bi
.
hwndOwner
=
NULL
;
bi
.
hwndOwner
=
NULL
;
bi
.
pszDisplayName
=
NULL
;
bi
.
pszDisplayName
=
NULL
;
bi
.
lpszTitle
=
(
LPTSTR
)
title
;
bi
.
lpszTitle
=
(
LPTSTR
)
title
;
bi
.
ulFlags
=
BIF_NEWDIALOGSTYLE
;
bi
.
lpfn
=
selection_callback
;
bi
.
lpfn
=
selection_callback
;
SHGetDesktopFolder
(
&
desktop_object
);
SHGetDesktopFolder
(
&
desktop_object
);
...
@@ -331,6 +330,15 @@ static void test_selection(void)
...
@@ -331,6 +330,15 @@ static void test_selection(void)
selected_folderW
,
0UL
,
&
selected_folder_pidl
,
0UL
);
selected_folderW
,
0UL
,
&
selected_folder_pidl
,
0UL
);
bi
.
pidlRoot
=
selected_folder_pidl
;
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
);
pidl
=
SHBrowseForFolder
(
&
bi
);
if
(
pidl
)
if
(
pidl
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment