Commit f8fe2744 authored by Sergey Turchanov's avatar Sergey Turchanov Committed by Alexandre Julliard

Added some extra CSIDLs.

parent aa23b0bd
...@@ -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;
......
...@@ -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 */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment