diff --git a/dlls/shell32/shell32_main.c b/dlls/shell32/shell32_main.c index f0b3c605d4..cbf1a13c24 100644 --- a/dlls/shell32/shell32_main.c +++ b/dlls/shell32/shell32_main.c @@ -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; diff --git a/include/shell.h b/include/shell.h index 4d80bbc3af..9c802de888 100644 --- a/include/shell.h +++ b/include/shell.h @@ -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 */