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 /winsup/w32api/include
parentc182cc28a5a3c485509db7f9a8d593ec6b2eacf2 (diff)
* include/shlobj.h (SHGetFolderPath): Add define.
* lib/shell32.def (SHGetSpecialFolderPath): Add export. (SHGetFolderPath): Ditto.
Diffstat (limited to 'winsup/w32api/include')
-rw-r--r--winsup/w32api/include/shlobj.h4
1 files changed, 4 insertions, 0 deletions
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)