Hans Leidekker : shell32: Support FOLDERID_LocalAppDataLow.

Alexandre Julliard julliard at winehq.org
Sat Sep 18 07:42:22 CDT 2010


Module: wine
Branch: master
Commit: 9f4d6c6edc11f88b3cc994934c9532d270722356
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9f4d6c6edc11f88b3cc994934c9532d270722356

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Fri Sep 17 15:19:35 2010 +0200

shell32: Support FOLDERID_LocalAppDataLow.

---

 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




More information about the wine-cvs mailing list