From: Jactry Zeng jzeng@codeweavers.com
So that we can get "user friendly" diaplay names from IShellFolder_GetDisplayNameOf() for these CLSIDs. --- dlls/shell32/shell32.rc | 2 ++ dlls/shell32/shell32.rgs | 2 ++ dlls/shell32/shresdef.h | 2 ++ dlls/shell32/tests/shfldr_special.c | 2 ++ 4 files changed, 8 insertions(+)
diff --git a/dlls/shell32/shell32.rc b/dlls/shell32/shell32.rc index f899a27f12c..6c1798201fb 100644 --- a/dlls/shell32/shell32.rc +++ b/dlls/shell32/shell32.rc @@ -154,6 +154,8 @@ STRINGTABLE IDS_MYCOMPUTER "My Computer" IDS_RECYCLEBIN_FOLDER_NAME "Trash" IDS_CONTROLPANEL "Control Panel" + IDS_INTERNET "The Internet" + IDS_PRINTERS "Printers and Faxes"
/* context menus */ IDS_VIEW_LARGE "Lar&ge Icons" diff --git a/dlls/shell32/shell32.rgs b/dlls/shell32/shell32.rgs index 877be6bc814..1523fd52210 100644 --- a/dlls/shell32/shell32.rgs +++ b/dlls/shell32/shell32.rgs @@ -5,12 +5,14 @@ HKCR '{00021400-0000-0000-C000-000000000046}' { val LocalizedString = s '@%MODULE%,-20' } '{20D04FE0-3AEA-1069-A2D8-08002B30309D}' { val LocalizedString = s '@%MODULE%,-21' } '{21EC2020-3AEA-1069-A2DD-08002B30309D}' { val LocalizedString = s '@%MODULE%,-22' } + '{2227a280-3aea-1069-a2de-08002b30309d}' { val LocalizedString = s '@%MODULE%,-30' } '{450D8FBA-AD25-11D0-98A8-0800361B1103}' { val LocalizedString = s '@%MODULE%,-46' } '{645FF040-5081-101B-9F08-00AA002F954E}' { val LocalizedString = s '@%MODULE%,-8964' DefaultIcon = s '%MODULE%,-33' } + '{871c5380-42a0-1069-a2ea-08002b30309d}' { val LocalizedString = s '@%MODULE%,-29' } '{00021401-0000-0000-C000-000000000046}' { shellex { MayChangeDefaultMenu } } } } diff --git a/dlls/shell32/shresdef.h b/dlls/shell32/shresdef.h index af8eb46a09f..16cbf0fe5a4 100644 --- a/dlls/shell32/shresdef.h +++ b/dlls/shell32/shresdef.h @@ -55,6 +55,8 @@ #define IDS_VIEW_SMALL 26 #define IDS_VIEW_LIST 27 #define IDS_VIEW_DETAILS 28 +#define IDS_INTERNET 29 +#define IDS_PRINTERS 30
#define IDS_RESTART_TITLE 40 #define IDS_RESTART_PROMPT 41 diff --git a/dlls/shell32/tests/shfldr_special.c b/dlls/shell32/tests/shfldr_special.c index ca5a19d7e19..6f884d34a39 100644 --- a/dlls/shell32/tests/shfldr_special.c +++ b/dlls/shell32/tests/shfldr_special.c @@ -359,6 +359,8 @@ static void test_desktop_displaynameof(void) { CLSID_MyComputer, CLSID_NULL }, { CLSID_MyDocuments, CLSID_NULL }, { CLSID_RecycleBin, CLSID_NULL }, + { CLSID_Printers, CLSID_NULL }, + { CLSID_Internet, CLSID_NULL }, { CLSID_MyComputer, CLSID_ControlPanel }, };