Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexey Alyaev
wine
Commits
f8fe2744
Commit
f8fe2744
authored
26 years ago
by
Sergey Turchanov
Committed by
Alexandre Julliard
26 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Added some extra CSIDLs.
parent
aa23b0bd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dlls/shell32/shell32_main.c
+18
-0
18 additions, 0 deletions
dlls/shell32/shell32_main.c
include/shell.h
+6
-1
6 additions, 1 deletion
include/shell.h
with
24 additions
and
1 deletion
dlls/shell32/shell32_main.c
+
18
−
0
View file @
f8fe2744
...
...
@@ -527,6 +527,15 @@ HRESULT WINAPI SHGetSpecialFolderLocation(HWND hwndOwner, INT nFolder, LPITEMIDL
case
CSIDL_TEMPLATES
:
strcpy
(
buffer
,
"Templates"
);
break
;
case
CSIDL_INTERNET_CACHE
:
strcpy
(
buffer
,
"Cache"
);
break
;
case
CSIDL_HISTORY
:
strcpy
(
buffer
,
"History"
);
break
;
case
CSIDL_COOKIES
:
strcpy
(
buffer
,
"Cookies"
);
break
;
default:
ERR
(
shell
,
"unknown CSIDL 0x%08x
\n
"
,
nFolder
);
tFolder
=
FT_UNKNOWN
;
...
...
@@ -595,6 +604,15 @@ HRESULT WINAPI SHGetSpecialFolderLocation(HWND hwndOwner, INT nFolder, LPITEMIDL
case
CSIDL_TEMPLATES
:
strcat
(
npath
,
"Templates"
);
break
;
case
CSIDL_INTERNET_CACHE
:
strcat
(
npath
,
"Temporary Internet Files"
);
break
;
case
CSIDL_HISTORY
:
strcat
(
npath
,
"History"
);
break
;
case
CSIDL_COOKIES
:
strcat
(
npath
,
"Cookies"
);
break
;
default:
RegCloseKey
(
key
);
return
E_OUTOFMEMORY
;
...
...
This diff is collapsed.
Click to expand it.
include/shell.h
+
6
−
1
View file @
f8fe2744
...
...
@@ -349,6 +349,11 @@ DWORD WINAPI SHFree(LPVOID x);
#define CSIDL_COMMON_DESKTOPDIRECTORY 0x0019
#define CSIDL_APPDATA 0x001a
#define CSIDL_PRINTHOOD 0x001b
#define CSIDL_ALTSTARTUP 0x001d
#define CSIDL_COMMON_ALTSTARTUP 0x001e
#define CSIDL_COMMON_FAVORITES 0x001f
#define CSIDL_INTERNET_CACHE 0x0020
#define CSIDL_COOKIES 0x0021
#define CSIDL_HISTORY 0x0022
#endif
/* __WINE_SHELL_H */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment