shell32: Support FOLDERID_LocalAppDataLow.

Hans Leidekker hans at codeweavers.com
Fri Sep 17 08:19:35 CDT 2010


See http://bugs.winehq.org/show_bug.cgi?id=22896
---
 dlls/shell32/shell32_En.rc |    1 +
 dlls/shell32/shellpath.c   |    4 ++--
 dlls/shell32/shresdef.h    |    1 +
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dlls/shell32/shell32_En.rc b/dlls/shell32/shell32_En.rc
index 6fb4c6c..d752f77 100644
--- a/dlls/shell32/shell32_En.rc
+++ b/dlls/shell32/shell32_En.rc
@@ -302,6 +302,7 @@ STRINGTABLE
 	IDS_COMMON_OEM_LINKS        "OEM Links"
 	IDS_DOCUMENTS               "Documents"
 	IDS_DOWNLOADS               "Downloads"
+	IDS_LOCAL_APPDATA_LOW       "AppData\\LocalLow"
 
 	IDS_NEWFOLDER		"New Folder"
 
diff --git a/dlls/shell32/shellpath.c b/dlls/shell32/shellpath.c
index ec66699..e0228ee 100644
--- a/dlls/shell32/shellpath.c
+++ b/dlls/shell32/shellpath.c
@@ -1304,9 +1304,9 @@ static const CSIDL_DATA CSIDL_Data[] =
     },
     { /* 0x4e */
         &FOLDERID_LocalAppDataLow,
-        CSIDL_Type_Disallowed, /* FIXME */
+        CSIDL_Type_User,
         NULL,
-        NULL
+        MAKEINTRESOURCEW(IDS_LOCAL_APPDATA_LOW)
     },
     { /* 0x4f */
         &FOLDERID_MusicLibrary,
diff --git a/dlls/shell32/shresdef.h b/dlls/shell32/shresdef.h
index 136201a..8ad2b91 100644
--- a/dlls/shell32/shresdef.h
+++ b/dlls/shell32/shresdef.h
@@ -111,6 +111,7 @@
 #define IDS_COMMON_OEM_LINKS        94
 #define IDS_DOCUMENTS               95
 #define IDS_DOWNLOADS               96
+#define IDS_LOCAL_APPDATA_LOW       97
 
 #define IDS_CREATEFOLDER_DENIED     128
 #define IDS_CREATEFOLDER_CAPTION    129
-- 
1.7.0.4







More information about the wine-patches mailing list