From 393aa11bce8550c1b4bfc2f00246c8c236892b53 Mon Sep 17 00:00:00 2001 From: Mumit Khan Date: Tue, 29 Feb 2000 03:10:04 +0000 Subject: 2000-02-28 Mumit Khan * include/shlobj.h (SHGetDataFromIDList{A,W}): Fix typo. (SHGetSpecialFolderPath{A,W}): Add prototypes. --- winsup/w32api/include/shlobj.h | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'winsup/w32api/include') diff --git a/winsup/w32api/include/shlobj.h b/winsup/w32api/include/shlobj.h index 6ce37ec..fc77bb9 100644 --- a/winsup/w32api/include/shlobj.h +++ b/winsup/w32api/include/shlobj.h @@ -667,23 +667,30 @@ typedef IShellIcon *LPSHELLICON; void WINAPI SHAddToRecentDocs(UINT,PCVOID); LPITEMIDLIST WINAPI SHBrowseForFolder(PBROWSEINFO); void WINAPI SHChangeNotify(LONG,UINT,PCVOID,PCVOID); -HRESULT WINAPI ShGetDataFromIDListA(LPSHELLFOLDER,LPCITEMIDLIST,int,PVOID,int); -HRESULT WINAPI ShGetDataFromIDListW(LPSHELLFOLDER,LPCITEMIDLIST,int,PVOID,int); +HRESULT WINAPI SHGetDataFromIDListA(LPSHELLFOLDER,LPCITEMIDLIST,int,PVOID,int); +HRESULT WINAPI SHGetDataFromIDListW(LPSHELLFOLDER,LPCITEMIDLIST,int,PVOID,int); HRESULT WINAPI SHGetDesktopFolder(LPSHELLFOLDER*); HRESULT WINAPI SHGetInstanceExplorer(LPUNKNOWN); HRESULT WINAPI SHGetMalloc(LPMALLOC*); BOOL WINAPI SHGetPathFromIDList(LPCITEMIDLIST,LPSTR); HRESULT WINAPI SHGetSpecialFolderLocation(HWND,int,LPITEMIDLIST*); 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); #ifdef UNICODE typedef IShellExecuteHookW IShellExecuteHook; typedef IShellLinkW IShellLink; -#define ShGetDataFromIDList ShGetDataFromIDListW +#define SHGetDataFromIDList SHGetDataFromIDListW +/* FIXME/TODO: Only valid for _WIN32_IE >= 400? */ +#define SHGetSpecialFolderPath SHGetSpecialFolderPathW #else typedef IShellExecuteHookA IShellExecuteHook; typedef IShellLinkA IShellLink; -#define ShGetDataFromIDList ShGetDataFromIDListA +#define SHGetDataFromIDList SHGetDataFromIDListA +/* FIXME/TODO: Only valid for _WIN32_IE >= 400? */ +#define SHGetSpecialFolderPath SHGetSpecialFolderPathA #endif #pragma pack(pop) -- cgit v1.1