Commit in reactos/lib/shell32 on MAIN
shellpath.c+11-21.6 -> 1.7
Merged Wine commit:
	Kevin Koltzau <kevin@plop.org>
	Added support for CSIDL_RESOURCES path.

reactos/lib/shell32
shellpath.c 1.6 -> 1.7
diff -u -r1.6 -r1.7
--- shellpath.c	28 Feb 2004 19:12:46 -0000	1.6
+++ shellpath.c	1 Apr 2004 19:14:14 -0000	1.7
@@ -997,9 +997,9 @@
 	/*"Documents and Settings\\"*/"All Users\\Documents\\My Video"
     },
     { /* CSIDL_RESOURCES */
-	0, 0, /* FIXME */
+	0, (HKEY)2,
 	NULL,
-	NULL
+	"Resources"
     },
     { /* CSIDL_RESOURCES_LOCALIZED */
 	0, 0, /* FIXME */
@@ -1070,6 +1070,15 @@
 	MultiByteToWideChar(CP_ACP, 0, CSIDL_Data[folder].szValueName, -1, szValueName, MAX_PATH);
 	MultiByteToWideChar(CP_ACP, 0, CSIDL_Data[folder].szDefaultPath, -1, szDefaultPath, MAX_PATH);
 
+	/* Special case for some values that don't exist in registry */
+	if (CSIDL_Data[folder].hRootKey == (HKEY)2)
+	{
+	    GetWindowsDirectoryW(pszPath, MAX_PATH);
+	    PathAddBackslashW(pszPath);
+	    strcatW(pszPath, szDefaultPath);
+	    return S_OK;
+	}
+        
 	if (dwCsidlFlags & CSIDL_MYFLAG_SHFOLDER)
 	{
 	  /*   user shell folders */
CVSspam 0.2.8