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
ae379a44
Commit
ae379a44
authored
Mar 17, 2003
by
Paul Rupe
Committed by
Alexandre Julliard
Mar 17, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add CSIDL_PROFILES. Improved logging for non-existent CSIDL values.
parent
3e919318
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
shellpath.c
dlls/shell32/shellpath.c
+9
-3
shlobj.h
include/shlobj.h
+1
-0
No files found.
dlls/shell32/shellpath.c
View file @
ae379a44
...
...
@@ -995,6 +995,11 @@ static const CSIDL_DATA CSIDL_Data[] =
0
,
0
,
/* FIXME */
NULL
,
NULL
,
},
{
/* CSIDL_PROFILES */
0
,
0
,
/* FIXME */
NULL
,
NULL
,
}
};
#undef HKCU
...
...
@@ -1017,14 +1022,15 @@ BOOL WINAPI SHGetSpecialFolderPathA (
TRACE
(
"%p,%p,csidl=%lu,0x%04x
\n
"
,
hwndOwner
,
szPath
,
csidl
,
bCreate
);
if
((
folder
>
CSIDL_COMPUTERSNEARME
)
||
(
CSIDL_Data
[
folder
].
hRootKey
==
0
))
if
((
folder
>=
sizeof
(
CSIDL_Data
)
/
sizeof
(
CSIDL_Data
[
0
]))
||
(
CSIDL_Data
[
folder
].
hRootKey
==
0
))
{
ERR
(
"folder
unknown or not allowed
\n
"
);
ERR
(
"folder
0x%04lx unknown or not allowed
\n
"
,
folder
);
return
FALSE
;
}
if
(
CSIDL_Data
[
folder
].
hRootKey
==
(
HKEY
)
1
)
{
FIXME
(
"folder
unknown, please add.
\n
"
);
FIXME
(
"folder
0x%04lx unknown, please add.
\n
"
,
folder
);
return
FALSE
;
}
...
...
include/shlobj.h
View file @
ae379a44
...
...
@@ -566,6 +566,7 @@ HRESULT WINAPI SHGetSpecialFolderLocation(HWND, INT, LPITEMIDLIST *);
#define CSIDL_COMMON_OEM_LINKS 0x003a
#define CSIDL_CDBURN_AREA 0x003b
#define CSIDL_COMPUTERSNEARME 0x003d
#define CSIDL_PROFILES 0x003e
#define CSIDL_FOLDER_MASK 0x00ff
#define CSIDL_FLAG_PER_USER_INIT 0x0800
#define CSIDL_FLAG_NO_ALIAS 0x1000
...
...
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