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
be428abd
Commit
be428abd
authored
Apr 12, 2005
by
Huw Davies
Committed by
Alexandre Julliard
Apr 12, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better icon handling for some special folders.
Identify and add defines for a bunch of shell icons.
parent
0e49a5b0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
4 deletions
+24
-4
folders.c
dlls/shell32/folders.c
+8
-1
shres.rc
dlls/shell32/shres.rc
+1
-1
shresdef.h
dlls/shell32/shresdef.h
+15
-2
No files found.
dlls/shell32/folders.c
View file @
be428abd
...
...
@@ -258,7 +258,14 @@ static HRESULT WINAPI IExtractIconW_fnGetIconLocation(
else
{
lstrcpynW
(
szIconFile
,
swShell32Name
,
cchMax
);
*
piIndex
=
-
IDI_SHELL_MYCOMPUTER
;
if
(
IsEqualGUID
(
riid
,
&
CLSID_MyComputer
))
*
piIndex
=
-
IDI_SHELL_MY_COMPUTER
;
else
if
(
IsEqualGUID
(
riid
,
&
CLSID_MyDocuments
))
*
piIndex
=
-
IDI_SHELL_FOLDER
;
else
if
(
IsEqualGUID
(
riid
,
&
CLSID_NetworkPlaces
))
*
piIndex
=
-
IDI_SHELL_MY_NETWORK_PLACES
;
else
*
piIndex
=
-
IDI_SHELL_FOLDER
;
}
}
...
...
dlls/shell32/shres.rc
View file @
be428abd
...
...
@@ -9908,7 +9908,7 @@ IDI_SHELL_RAMDISK ICON ramdisk.ico
/* BINRES mycomputer.ico */
IDI_SHELL_MYCOMPUTER ICON mycomputer.ico
IDI_SHELL_MY
_
COMPUTER ICON mycomputer.ico
/* {
'00 00 01 00 02 00 10 10 10 00 01 00 04 00 28 01'
'00 00 26 00 00 00 20 20 10 00 01 00 04 00 E8 02'
...
...
dlls/shell32/shresdef.h
View file @
be428abd
...
...
@@ -92,14 +92,27 @@
#define IDI_SHELL_DOCUMENT 1
#define IDI_SHELL_FOLDER 4
#define IDI_SHELL_FOLDER_OPEN 5
#define IDI_SHELL_FLOPPY 6
#define IDI_SHELL_5_12_FLOPPY 6
#define IDI_SHELL_3_14_FLOPPY 7
#define IDI_SHELL_FLOPPY 8
#define IDI_SHELL_DRIVE 9
#define IDI_SHELL_NETDRIVE 10
#define IDI_SHELL_NETDRIVE2 11
#define IDI_SHELL_CDROM 12
#define IDI_SHELL_RAMDISK 13
#define IDI_SHELL_MYCOMPUTER 16
#define IDI_SHELL_ENTIRE_NETWORK 14
#define IDI_SHELL_NETWORK 15
#define IDI_SHELL_MY_COMPUTER 16
#define IDI_SHELL_PRINTER 17
#define IDI_SHELL_MY_NETWORK_PLACES 18
#define IDI_SHELL_COMPUTERS_NEAR_ME 19
#define IDI_SHELL_SEARCH 23
#define IDI_SHELL_HELP 24
#define IDI_SHELL_EMPTY_RECYCLE_BIN 32
#define IDI_SHELL_FULL_RECYCLE_BIN 33
#define IDI_SHELL_DESKTOP 35
#define IDI_SHELL_CONTROL_PANEL 36
#define IDI_SHELL_PRINTERS_FOLDER 38
#define IDI_SHELL_FONTS_FOLDER 39
#endif
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