Commit in reactos/lib/shell32 on MAIN
shellpath.c+7-31.10 -> 1.11
Francois Gouget <fgouget@codeweavers.com>
- Fix CSIDL_COMMON_{STARTMENU,PROGRAMS,DESKTOPDIRECTORY} so they all use
  paths in 'All Users' like CSIDL_COMMON_STARTUP.
  The CSIDL_COMMON_PROGRAMS fix solves many menu creation problems.

reactos/lib/shell32
shellpath.c 1.10 -> 1.11
diff -u -r1.10 -r1.11
--- shellpath.c	20 Sep 2004 18:07:54 -0000	1.10
+++ shellpath.c	21 Sep 2004 21:13:49 -0000	1.11
@@ -705,6 +705,8 @@
 static const WCHAR Administrative_ToolsW[] = {'A','d','m','i','n','i','s','t','r','a','t','i','v','e',' ','T','o','o','l','s','\0'};
 static const WCHAR All_Users__Application_DataW[] = {'A','l','l',' ','U','s','e','r','s','\\',
                                                      'A','p','p','l','i','c','a','t','i','o','n',' ','D','a','t','a','\0'};
+static const WCHAR All_Users__DesktopW[] = {'A','l','l',' ','U','s','e','r','s','\\',
+                                              'D','e','s','k','t','o','p','\0'};
 static const WCHAR All_Users__DocumentsW[] = {'A','l','l',' ','U','s','e','r','s','\\',
                                               'D','o','c','u','m','e','n','t','s','\0'};
 static const WCHAR All_Users__Documents__My_MusicW[] = {'A','l','l',' ','U','s','e','r','s','\\',
@@ -716,6 +718,8 @@
 static const WCHAR All_Users__Documents__My_VideoW[] = {'A','l','l',' ','U','s','e','r','s','\\',
                                                         'D','o','c','u','m','e','n','t','s','\\',
                                                         'M','y',' ','V','i','d','e','o','\0'};
+static const WCHAR All_Users__Start_MenuW[] = {'A','l','l',' ','U','s','e','r','s','\\','S','t','a','r','t',' ','M','e','n','u','\0'};
+static const WCHAR All_Users__Start_Menu__ProgramsW[] = {'A','l','l',' ','U','s','e','r','s','\\','S','t','a','r','t',' ','M','e','n','u','\\','P','r','o','g','r','a','m','s','\0'};
 static const WCHAR All_Users__Start_Menu__Programs__Administrative_ToolsW[] = {'A','l','l',' ','U','s','e','r','s','\\',
                                 'S','t','a','r','t',' ','M','e','n','u','\\','P','r','o','g','r','a','m','s','\\',
                                 'A','d','m','i','n','i','s','t','r','a','t','i','v','e',' ','T','o','o','l','s','\0'};
@@ -952,13 +956,13 @@
 	CSIDL_MYFLAG_SHFOLDER | CSIDL_MYFLAG_RELATIVE,
         HKLM,
 	Common_Start_MenuW,
-	Start_MenuW
+	All_Users__Start_MenuW
     },
     { /* CSIDL_COMMON_PROGRAMS */
 	CSIDL_MYFLAG_SHFOLDER | CSIDL_MYFLAG_RELATIVE,
         HKLM,
 	Common_ProgramsW,
-	Empty_StringW
+	All_Users__Start_Menu__ProgramsW
     },
     { /* CSIDL_COMMON_STARTUP */
 	CSIDL_MYFLAG_SHFOLDER | CSIDL_MYFLAG_RELATIVE,
@@ -970,7 +974,7 @@
 	CSIDL_MYFLAG_SHFOLDER | CSIDL_MYFLAG_RELATIVE,
         HKLM,
 	Common_DesktopW,
-	DesktopW
+	All_Users__DesktopW
     },
     { /* CSIDL_APPDATA */
 	CSIDL_MYFLAG_SHFOLDER | CSIDL_MYFLAG_RELATIVE,
CVSspam 0.2.8