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
bc371a83
Commit
bc371a83
authored
Sep 21, 2004
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 21, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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.
parent
7cfe3c9f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
shellpath.c
dlls/shell32/shellpath.c
+7
-3
No files found.
dlls/shell32/shellpath.c
View file @
bc371a83
...
...
@@ -705,6 +705,8 @@ static const WCHAR szCurrentVersion[] = {'S','o','f','t','w','a','r','e','\\','M
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_PicturesW[] = {'A','l','l',' ','U','
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 @@ static const CSIDL_DATA CSIDL_Data[] =
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_String
W
All_Users__Start_Menu__Programs
W
},
{
/* CSIDL_COMMON_STARTUP */
CSIDL_MYFLAG_SHFOLDER
|
CSIDL_MYFLAG_RELATIVE
,
...
...
@@ -970,7 +974,7 @@ static const CSIDL_DATA CSIDL_Data[] =
CSIDL_MYFLAG_SHFOLDER
|
CSIDL_MYFLAG_RELATIVE
,
HKLM
,
Common_DesktopW
,
DesktopW
All_Users__
DesktopW
},
{
/* CSIDL_APPDATA */
CSIDL_MYFLAG_SHFOLDER
|
CSIDL_MYFLAG_RELATIVE
,
...
...
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