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
f8fe2744
Commit
f8fe2744
authored
Mar 10, 1999
by
Sergey Turchanov
Committed by
Alexandre Julliard
Mar 10, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added some extra CSIDLs.
parent
aa23b0bd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
1 deletion
+24
-1
shell32_main.c
dlls/shell32/shell32_main.c
+18
-0
shell.h
include/shell.h
+6
-1
No files found.
dlls/shell32/shell32_main.c
View file @
f8fe2744
...
@@ -527,6 +527,15 @@ HRESULT WINAPI SHGetSpecialFolderLocation(HWND hwndOwner, INT nFolder, LPITEMIDL
...
@@ -527,6 +527,15 @@ HRESULT WINAPI SHGetSpecialFolderLocation(HWND hwndOwner, INT nFolder, LPITEMIDL
case
CSIDL_TEMPLATES
:
case
CSIDL_TEMPLATES
:
strcpy
(
buffer
,
"Templates"
);
strcpy
(
buffer
,
"Templates"
);
break
;
break
;
case
CSIDL_INTERNET_CACHE
:
strcpy
(
buffer
,
"Cache"
);
break
;
case
CSIDL_HISTORY
:
strcpy
(
buffer
,
"History"
);
break
;
case
CSIDL_COOKIES
:
strcpy
(
buffer
,
"Cookies"
);
break
;
default:
default:
ERR
(
shell
,
"unknown CSIDL 0x%08x
\n
"
,
nFolder
);
ERR
(
shell
,
"unknown CSIDL 0x%08x
\n
"
,
nFolder
);
tFolder
=
FT_UNKNOWN
;
tFolder
=
FT_UNKNOWN
;
...
@@ -595,6 +604,15 @@ HRESULT WINAPI SHGetSpecialFolderLocation(HWND hwndOwner, INT nFolder, LPITEMIDL
...
@@ -595,6 +604,15 @@ HRESULT WINAPI SHGetSpecialFolderLocation(HWND hwndOwner, INT nFolder, LPITEMIDL
case
CSIDL_TEMPLATES
:
case
CSIDL_TEMPLATES
:
strcat
(
npath
,
"Templates"
);
strcat
(
npath
,
"Templates"
);
break
;
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:
default:
RegCloseKey
(
key
);
RegCloseKey
(
key
);
return
E_OUTOFMEMORY
;
return
E_OUTOFMEMORY
;
...
...
include/shell.h
View file @
f8fe2744
...
@@ -349,6 +349,11 @@ DWORD WINAPI SHFree(LPVOID x);
...
@@ -349,6 +349,11 @@ DWORD WINAPI SHFree(LPVOID x);
#define CSIDL_COMMON_DESKTOPDIRECTORY 0x0019
#define CSIDL_COMMON_DESKTOPDIRECTORY 0x0019
#define CSIDL_APPDATA 0x001a
#define CSIDL_APPDATA 0x001a
#define CSIDL_PRINTHOOD 0x001b
#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 */
#endif
/* __WINE_SHELL_H */
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