2009-14-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

* include/shlobj.h (IDO_SHGIOI_SHARE, IDO_SHGIOI_LINK, IDO_SHGIOI_SLOWFILE,
        IDO_SHGIOI_DEFAULT, SHGetIconOverlayIndexW, SHGetIconOverlayIndexA,
        SHGetIconOverlayIndex): Define.

        Thanks to Tim Kosse for report.
This commit is contained in:
Chris Sutcliffe 2009-11-14 19:47:23 +00:00
parent 8b121daba4
commit 5e80d7d546
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2009-14-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/shlobj.h (IDO_SHGIOI_SHARE, IDO_SHGIOI_LINK, IDO_SHGIOI_SLOWFILE,
IDO_SHGIOI_DEFAULT, SHGetIconOverlayIndexW, SHGetIconOverlayIndexA,
SHGetIconOverlayIndex): Define.
Thanks to Tim Kosse for report.
2009-13-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/wincon.h (AttachConsole): Correct guard.

View File

@ -1414,6 +1414,10 @@ BOOL WINAPI PathResolve(LPWSTR, LPCWSTR*, UINT);
#define PRF_TRYPROGRAMEXTENSIONS (0x0002 | PRF_VERIFYEXISTS)
#define PRF_FIRSTDIRDEF 0x0004
#define PRF_DONTFINDLNK 0x0008
#define IDO_SHGIOI_SHARE 0x0FFFFFFF
#define IDO_SHGIOI_LINK 0x0FFFFFFE
#define IDO_SHGIOI_SLOWFILE 0x0FFFFFFD
#define IDO_SHGIOI_DEFAULT 0x0FFFFFFC
#endif
void WINAPI SHAddToRecentDocs(UINT,PCVOID);
@ -1440,6 +1444,8 @@ HRESULT WINAPI SHGetFolderPathW(HWND,int,HANDLE,DWORD,LPWSTR);
HRESULT WINAPI SHGetFolderLocation(HWND,int,HANDLE,DWORD,LPITEMIDLIST*);
#endif
#if (_WIN32_WINNT >= 0x0500)
INT WINAPI SHGetIconOverlayIndexW(LPCWSTR pszIconPath, int iIconIndex);
INT WINAPI SHGetIconOverlayIndexA(LPCSTR pszIconPath, int iIconIndex);
INT WINAPI SHCreateDirectoryExA(HWND,LPCSTR,LPSECURITY_ATTRIBUTES);
INT WINAPI SHCreateDirectoryExW(HWND,LPCWSTR,LPSECURITY_ATTRIBUTES);
HRESULT WINAPI SHBindToParent(LPCITEMIDLIST,REFIID,VOID**,LPCITEMIDLIST*);
@ -1484,6 +1490,7 @@ typedef BROWSEINFOW BROWSEINFO,*PBROWSEINFO,*LPBROWSEINFO;
#endif
#define SHGetFolderPath SHGetFolderPathW
#if (_WIN32_WINNT >= 0x0500)
#define SHGetIconOverlayIndex SHGetIconOverlayIndexW
#define SHCreateDirectoryEx SHCreateDirectoryExW
#endif
#if (_WIN32_WINNT >= 0x0501)
@ -1506,6 +1513,7 @@ typedef BROWSEINFOA BROWSEINFO,*PBROWSEINFO,*LPBROWSEINFO;
#endif
#define SHGetFolderPath SHGetFolderPathA
#if (_WIN32_WINNT >= 0x0500)
#define SHGetIconOverlayIndex SHGetIconOverlayIndexA
#define SHCreateDirectoryEx SHCreateDirectoryExA
#endif
#if (_WIN32_WINNT >= 0x0501)