aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2002-09-16 10:28:16 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2002-09-16 10:28:16 +0000
commit0812076923f58711b8eab2eae0835810eb305d79 (patch)
treee5250f0ccd5a4512fc4196014c108a6eae4be821
parentfbf3d133cea438ac0b7a1197e4d367e893a1b824 (diff)
downloadnewlib-0812076923f58711b8eab2eae0835810eb305d79.zip
newlib-0812076923f58711b8eab2eae0835810eb305d79.tar.gz
newlib-0812076923f58711b8eab2eae0835810eb305d79.tar.bz2
* lib/shell32.def (SHGetFolderPath[AW]): Add comment.
* lib/shfolder.def: New file.
-rw-r--r--winsup/w32api/ChangeLog5
-rw-r--r--winsup/w32api/lib/shell32.def4
-rw-r--r--winsup/w32api/lib/shfolder.def4
3 files changed, 12 insertions, 1 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 95f9683..5fbd60c 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,8 @@
+2002-09-16 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * lib/shell32.def (SHGetFolderPath[AW]): Add comment.
+ * lib/shfolder.def: New file.
+
2002-09-12 Danny Smith <dannysmith@users.sourceforge.net>
* include/winsock.h (timeval): Guard struct and associated
diff --git a/winsup/w32api/lib/shell32.def b/winsup/w32api/lib/shell32.def
index 96bf14d..a5cee20 100644
--- a/winsup/w32api/lib/shell32.def
+++ b/winsup/w32api/lib/shell32.def
@@ -59,9 +59,11 @@ SHGetMalloc@4
SHGetInstanceExplorer@4
SHGetIconOverlayIndexW@8
SHGetIconOverlayIndexA@8
-SHGetFolderPathW@20
SHGetFolderPathAndSubDirW@24
SHGetFolderPathAndSubDirA@24
+; SHGetFolder is in shell32.dll on W2K up,
+; but in redistributable shfolder.dll for earlier OS versions.
+SHGetFolderPathW@20
SHGetFolderPathA@20
SHGetFolderLocation@20
SHGetFileInfoW@20
diff --git a/winsup/w32api/lib/shfolder.def b/winsup/w32api/lib/shfolder.def
new file mode 100644
index 0000000..d4f1306
--- /dev/null
+++ b/winsup/w32api/lib/shfolder.def
@@ -0,0 +1,4 @@
+LIBRARY "SHFOLDER.DLL"
+EXPORTS
+SHGetFolderPathA@20
+SHGetFolderPathW@20