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
db35807e
Commit
db35807e
authored
Mar 02, 2015
by
Andrew Eikum
Committed by
Alexandre Julliard
Mar 03, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Fall back on CSIDL path for knownfolders without a path in the registry.
parent
103f158c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
shellpath.c
dlls/shell32/shellpath.c
+3
-2
No files found.
dlls/shell32/shellpath.c
View file @
db35807e
...
...
@@ -3589,7 +3589,7 @@ static HRESULT get_known_folder_path_by_id(
DWORD
dwFlags
,
LPWSTR
*
ppszPath
)
{
HRESULT
hr
;
HRESULT
hr
=
E_FAIL
;
WCHAR
sGuid
[
39
];
DWORD
dwAttributes
;
...
...
@@ -3603,7 +3603,8 @@ static HRESULT get_known_folder_path_by_id(
hr
=
get_known_folder_path
(
sGuid
,
lpRegistryPath
,
ppszPath
);
}
/* in other case, use older way */
else
if
(
FAILED
(
hr
))
hr
=
SHGetKnownFolderPath
(
folderId
,
dwFlags
,
NULL
,
ppszPath
);
if
(
FAILED
(
hr
))
return
hr
;
...
...
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