include/shellapi.h fix incorrect NOTIFYICON_VERSION definitions

Peter Quiring pquiring at gmail.com
Tue Jan 3 08:43:57 CST 2012


Found some incorrect definitions in include/shellapi.h for 
NOTIFYICON_VERSION
See http://msdn.microsoft.com/en-us/library/windows/desktop/bb773352.aspx

---
  include/shellapi.h |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/shellapi.h b/include/shellapi.h
index 23457f2..4753cc9 100644
--- a/include/shellapi.h
+++ b/include/shellapi.h
@@ -383,8 +383,8 @@ void WINAPI WinExecErrorW(HWND hwnd,INT error, 
LPCWSTR lpstrFileName, LPCWSTR lp
  #define NIM_SETFOCUS            0x00000003
  #define NIM_SETVERSION          0x00000004

-#define NOTIFY_VERSION   3     /* supported by Windows 2000 and later */
-#define NOTIFY_VERSION_4 4     /* supported by Windows Vista */
+#define NOTIFYICON_VERSION   3     /* supported by Windows 2000 and 
later */
+#define NOTIFYICON_VERSION_4 4     /* supported by Windows Vista */

  /* callback message lParam values */
  #define NIN_SELECT              (WM_USER+0)
-- 
1.7.5.4

Peter Quiring




More information about the wine-patches mailing list