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
c26fd262
Commit
c26fd262
authored
Apr 08, 2023
by
Jactry Zeng
Committed by
Alexandre Julliard
Apr 10, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Assign a default flags for view information of IShellView.
parent
b659fd28
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
shlview.c
dlls/shell32/shlview.c
+1
-0
shlview.c
dlls/shell32/tests/shlview.c
+1
-1
No files found.
dlls/shell32/shlview.c
View file @
c26fd262
...
...
@@ -3780,6 +3780,7 @@ IShellView *IShellView_Constructor(IShellFolder *folder)
sv
->
ptLastMousePos
.
x
=
0
;
sv
->
ptLastMousePos
.
y
=
0
;
sv
->
FolderSettings
.
ViewMode
=
FVM_TILE
;
sv
->
FolderSettings
.
fFlags
=
FWF_USESEARCHFOLDER
;
TRACE
(
"(%p)->(%p)
\n
"
,
sv
,
folder
);
return
(
IShellView
*
)
&
sv
->
IShellView3_iface
;
...
...
dlls/shell32/tests/shlview.c
View file @
c26fd262
...
...
@@ -1504,7 +1504,7 @@ static void test_folder_flags(void)
ok
(
hr
==
S_OK
,
"Got hr %#lx.
\n
"
,
hr
);
ok
(
settings
.
ViewMode
==
FVM_TILE
||
broken
(
!
settings
.
ViewMode
)
/* pre win7 */
,
"Got view mode %u.
\n
"
,
settings
.
ViewMode
);
todo_wine
ok
(
settings
.
fFlags
==
FWF_USESEARCHFOLDER
||
broken
(
!
settings
.
fFlags
)
/* pre vista */
,
ok
(
settings
.
fFlags
==
FWF_USESEARCHFOLDER
||
broken
(
!
settings
.
fFlags
)
/* pre vista */
,
"Got flags %#x.
\n
"
,
settings
.
fFlags
);
destroy_interfaces
(
desktop
,
shellview
);
...
...
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