Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEarnie Boyd <earnie@users.sf.net>2002-08-14 20:43:40 +0400
committerEarnie Boyd <earnie@users.sf.net>2002-08-14 20:43:40 +0400
commit99a3b239eb0d4b5b72c85e2e7d13d2fae2ed6658 (patch)
treee231b6672784eedd6814db46b282ad91e721d11a
parentc182cc28a5a3c485509db7f9a8d593ec6b2eacf2 (diff)
* include/shlobj.h (SHGetFolderPath): Add define.
* lib/shell32.def (SHGetSpecialFolderPath): Add export. (SHGetFolderPath): Ditto.
-rw-r--r--winsup/w32api/ChangeLog6
-rw-r--r--winsup/w32api/include/shlobj.h4
-rw-r--r--winsup/w32api/lib/shell32.def4
3 files changed, 14 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index a3b1a3f4f..bfb245a62 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,9 @@
+2002-08-14 Earnie Boyd <earnie@users.sf.net>
+
+ * include/shlobj.h (SHGetFolderPath): Add define.
+ * lib/shell32.def (SHGetSpecialFolderPath): Add export.
+ (SHGetFolderPath): Ditto.
+
2002-08-13 Danny Smith <dannysmith@users.sourceforge.net>
* include/commdlg.h: Don't include COM headers or use
diff --git a/winsup/w32api/include/shlobj.h b/winsup/w32api/include/shlobj.h
index 4793a9efa..483d2c73a 100644
--- a/winsup/w32api/include/shlobj.h
+++ b/winsup/w32api/include/shlobj.h
@@ -743,6 +743,8 @@ HRESULT WINAPI SHLoadInProc(REFCLSID);
/* FIXME/TODO: Only valid for _WIN32_IE >= 400? */
BOOL WINAPI SHGetSpecialFolderPathA(HWND,LPSTR,int,BOOL);
BOOL WINAPI SHGetSpecialFolderPathW(HWND,LPSTR,int,BOOL);
+BOOL WINAPI SHGetFolderPathA(HWND,int,HANDLE,DWORD,LPTSTR);
+BOOL WINAPI SHGetFolderPathW(HWND,int,HANDLE,DWORD,LPTSTR);
#ifdef UNICODE
typedef IShellExecuteHookW IShellExecuteHook;
@@ -753,6 +755,7 @@ typedef BROWSEINFOW BROWSEINFO,*PBROWSEINFO,*LPBROWSEINFO;
#define SHGetPathFromIDList SHGetPathFromIDListW
/* FIXME/TODO: Only valid for _WIN32_IE >= 400? */
#define SHGetSpecialFolderPath SHGetSpecialFolderPathW
+#define SHGetFolderPath SHGetFolderPathW
#else
typedef IShellExecuteHookA IShellExecuteHook;
typedef IShellLinkA IShellLink;
@@ -762,6 +765,7 @@ typedef BROWSEINFOA BROWSEINFO,*PBROWSEINFO,*LPBROWSEINFO;
#define SHGetPathFromIDList SHGetPathFromIDListA
/* FIXME/TODO: Only valid for _WIN32_IE >= 400? */
#define SHGetSpecialFolderPath SHGetSpecialFolderPathA
+#define SHGetFolderPath SHGetFolderPathA
#endif
#pragma pack(pop)
diff --git a/winsup/w32api/lib/shell32.def b/winsup/w32api/lib/shell32.def
index 81e02387b..c7e61d414 100644
--- a/winsup/w32api/lib/shell32.def
+++ b/winsup/w32api/lib/shell32.def
@@ -59,7 +59,11 @@ SheChangeDirExA@4
SheChangeDirA@4
SHLoadInProc@4
SHHelpShortcuts_RunDLL@16
+SHGetFolderPathA@20
+SHGetFolderPathW@20
SHGetSpecialFolderLocation@12
+SHGetSpecialFolderPathA@16
+SHGetSpecialFolderPathW@16
SHGetPathFromIDListW@8
SHGetPathFromIDListA@8
SHGetPathFromIDList@8