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
33a6215d
Commit
33a6215d
authored
Apr 01, 2004
by
Kevin Koltzau
Committed by
Alexandre Julliard
Apr 01, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support for CSIDL_RESOURCES path.
parent
449a8a77
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
shellpath.c
dlls/shell32/shellpath.c
+11
-2
No files found.
dlls/shell32/shellpath.c
View file @
33a6215d
...
...
@@ -997,9 +997,9 @@ static const CSIDL_DATA CSIDL_Data[] =
/*"Documents and Settings\\"*/
"All Users
\\
Documents
\\
My Video"
},
{
/* CSIDL_RESOURCES */
0
,
0
,
/* FIXME */
0
,
(
HKEY
)
2
,
NULL
,
NULL
"Resources"
},
{
/* CSIDL_RESOURCES_LOCALIZED */
0
,
0
,
/* FIXME */
...
...
@@ -1070,6 +1070,15 @@ HRESULT WINAPI SHGetFolderPathW(
MultiByteToWideChar
(
CP_ACP
,
0
,
CSIDL_Data
[
folder
].
szValueName
,
-
1
,
szValueName
,
MAX_PATH
);
MultiByteToWideChar
(
CP_ACP
,
0
,
CSIDL_Data
[
folder
].
szDefaultPath
,
-
1
,
szDefaultPath
,
MAX_PATH
);
/* Special case for some values that don't exist in registry */
if
(
CSIDL_Data
[
folder
].
hRootKey
==
(
HKEY
)
2
)
{
GetWindowsDirectoryW
(
pszPath
,
MAX_PATH
);
PathAddBackslashW
(
pszPath
);
strcatW
(
pszPath
,
szDefaultPath
);
return
S_OK
;
}
if
(
dwCsidlFlags
&
CSIDL_MYFLAG_SHFOLDER
)
{
/* user shell folders */
...
...
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