Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
5b680692
Commit
5b680692
authored
Sep 10, 2008
by
Roy Shea
Committed by
Alexandre Julliard
Sep 11, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Use default system icons if PrivateExtractIconsW in SHGetFileInfoW fails.
parent
e0dd7216
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
shell32_main.c
dlls/shell32/shell32_main.c
+8
-4
No files found.
dlls/shell32/shell32_main.c
View file @
5b680692
...
...
@@ -596,18 +596,22 @@ DWORD_PTR WINAPI SHGetFileInfoW(LPCWSTR path,DWORD dwFileAttributes,
}
else
{
IconNotYetLoaded
=
FALSE
;
UINT
ret
;
if
(
flags
&
SHGFI_SMALLICON
)
PrivateExtractIconsW
(
sTemp
,
icon_idx
,
ret
=
PrivateExtractIconsW
(
sTemp
,
icon_idx
,
GetSystemMetrics
(
SM_CXSMICON
),
GetSystemMetrics
(
SM_CYSMICON
),
&
psfi
->
hIcon
,
0
,
1
,
0
);
else
PrivateExtractIconsW
(
sTemp
,
icon_idx
,
ret
=
PrivateExtractIconsW
(
sTemp
,
icon_idx
,
GetSystemMetrics
(
SM_CXICON
),
GetSystemMetrics
(
SM_CYICON
),
&
psfi
->
hIcon
,
0
,
1
,
0
);
psfi
->
iIcon
=
icon_idx
;
if
(
ret
!=
0
&&
ret
!=
0xFFFFFFFF
)
{
IconNotYetLoaded
=
FALSE
;
psfi
->
iIcon
=
icon_idx
;
}
}
}
}
...
...
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