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:
authorChris Sutcliffe <ir0nh34d@users.sourceforge.net>2009-11-14 22:47:23 +0300
committerChris Sutcliffe <ir0nh34d@users.sourceforge.net>2009-11-14 22:47:23 +0300
commit5e80d7d546b37b99045ac3f9b87ec094a1acd7f3 (patch)
treee44b2546def5d5d01dcaccfba863d776b3b2b690 /winsup/w32api
parent8b121daba4976d2af751f04c36d05e764df89a3f (diff)
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.
Diffstat (limited to 'winsup/w32api')
-rw-r--r--winsup/w32api/ChangeLog8
-rw-r--r--winsup/w32api/include/shlobj.h8
2 files changed, 16 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 05672200a..c78a6c0be 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -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.
diff --git a/winsup/w32api/include/shlobj.h b/winsup/w32api/include/shlobj.h
index 348fe7f6e..4ef065760 100644
--- a/winsup/w32api/include/shlobj.h
+++ b/winsup/w32api/include/shlobj.h
@@ -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)