* include/shlobj.h (SHGetFolderPath): Add define.

* lib/shell32.def (SHGetSpecialFolderPath): Add export.
	(SHGetFolderPath): Ditto.
This commit is contained in:
Earnie Boyd 2002-08-14 16:43:40 +00:00
parent c182cc28a5
commit 99a3b239eb
3 changed files with 14 additions and 0 deletions

View File

@ -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> 2002-08-13 Danny Smith <dannysmith@users.sourceforge.net>
* include/commdlg.h: Don't include COM headers or use * include/commdlg.h: Don't include COM headers or use

View File

@ -743,6 +743,8 @@ HRESULT WINAPI SHLoadInProc(REFCLSID);
/* FIXME/TODO: Only valid for _WIN32_IE >= 400? */ /* FIXME/TODO: Only valid for _WIN32_IE >= 400? */
BOOL WINAPI SHGetSpecialFolderPathA(HWND,LPSTR,int,BOOL); BOOL WINAPI SHGetSpecialFolderPathA(HWND,LPSTR,int,BOOL);
BOOL WINAPI SHGetSpecialFolderPathW(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 #ifdef UNICODE
typedef IShellExecuteHookW IShellExecuteHook; typedef IShellExecuteHookW IShellExecuteHook;
@ -753,6 +755,7 @@ typedef BROWSEINFOW BROWSEINFO,*PBROWSEINFO,*LPBROWSEINFO;
#define SHGetPathFromIDList SHGetPathFromIDListW #define SHGetPathFromIDList SHGetPathFromIDListW
/* FIXME/TODO: Only valid for _WIN32_IE >= 400? */ /* FIXME/TODO: Only valid for _WIN32_IE >= 400? */
#define SHGetSpecialFolderPath SHGetSpecialFolderPathW #define SHGetSpecialFolderPath SHGetSpecialFolderPathW
#define SHGetFolderPath SHGetFolderPathW
#else #else
typedef IShellExecuteHookA IShellExecuteHook; typedef IShellExecuteHookA IShellExecuteHook;
typedef IShellLinkA IShellLink; typedef IShellLinkA IShellLink;
@ -762,6 +765,7 @@ typedef BROWSEINFOA BROWSEINFO,*PBROWSEINFO,*LPBROWSEINFO;
#define SHGetPathFromIDList SHGetPathFromIDListA #define SHGetPathFromIDList SHGetPathFromIDListA
/* FIXME/TODO: Only valid for _WIN32_IE >= 400? */ /* FIXME/TODO: Only valid for _WIN32_IE >= 400? */
#define SHGetSpecialFolderPath SHGetSpecialFolderPathA #define SHGetSpecialFolderPath SHGetSpecialFolderPathA
#define SHGetFolderPath SHGetFolderPathA
#endif #endif
#pragma pack(pop) #pragma pack(pop)

View File

@ -59,7 +59,11 @@ SheChangeDirExA@4
SheChangeDirA@4 SheChangeDirA@4
SHLoadInProc@4 SHLoadInProc@4
SHHelpShortcuts_RunDLL@16 SHHelpShortcuts_RunDLL@16
SHGetFolderPathA@20
SHGetFolderPathW@20
SHGetSpecialFolderLocation@12 SHGetSpecialFolderLocation@12
SHGetSpecialFolderPathA@16
SHGetSpecialFolderPathW@16
SHGetPathFromIDListW@8 SHGetPathFromIDListW@8
SHGetPathFromIDListA@8 SHGetPathFromIDListA@8
SHGetPathFromIDList@8 SHGetPathFromIDList@8