+2006-03-07 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
+ * include/shellapi.h (NOTIFYICONDATA_V*_SIZE): Define.
+ Thanks to: Daniel Atallah <datallah at users dot sf dot net>
+ * include/shellapi.h [_WIN32_IE >= 0x0500]
+ (NIS_*): Introduced in Version 5.0.
+
2006-03-06 Danny Smith <dannysmith@users.sourceforge.net>
* include/wingdi.h (CS_*): Correct WINVER guard on
Image Color Matching colour definitions.
#define NIM_ADD 0
#define NIM_MODIFY 1
#define NIM_DELETE 2
-#if _WIN32_IE >= 0x0500
+#if (_WIN32_IE >= 0x0500)
#define NOTIFYICON_VERSION 3
#define NIM_SETFOCUS 3
#define NIM_SETVERSION 4
#define NIIF_ICON_MASK 0x0000000F
#define NIIF_NOSOUND 0x00000010
#endif
-#define NIS_HIDDEN 1
-#define NIS_SHAREDICON 2
+#if (_WIN32_IE >= 0x0500)
+#define NIS_HIDDEN 0x00000001
+#define NIS_SHAREDICON 0x00000002
+#endif
#define SE_ERR_FNF 2
#define SE_ERR_PNF 3
#define SE_ERR_ACCESSDENIED 5
#define SHERB_NOCONFIRMATION 1
#define SHERB_NOPROGRESSUI 2
#define SHERB_NOSOUND 4
+#ifdef UNICODE
+#define NOTIFYICONDATA_V2_SIZE 936
+#define NOTIFYICONDATA_V1_SIZE 152
+#else
+#define NOTIFYICONDATA_V2_SIZE 488
+#define NOTIFYICONDATA_V1_SIZE 88
+#endif
typedef WORD FILEOP_FLAGS;
typedef WORD PRINTEROP_FLAGS;