Mikołaj Zalewski : shell32: Add some more notify icon defines.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Mar 19 08:17:43 CDT 2007
Module: wine
Branch: master
Commit: 92a375bb1c5782b008b58ee06c7c81e1356713be
URL: http://source.winehq.org/git/wine.git/?a=commit;h=92a375bb1c5782b008b58ee06c7c81e1356713be
Author: Mikołaj Zalewski <mikolaj at zalewski.pl>
Date: Sun Mar 18 12:06:11 2007 +0100
shell32: Add some more notify icon defines.
---
include/shellapi.h | 56 +++++++++++++++++++++++++++++++++++++++++----------
1 files changed, 45 insertions(+), 11 deletions(-)
diff --git a/include/shellapi.h b/include/shellapi.h
index bddf4d2..46083e7 100644
--- a/include/shellapi.h
+++ b/include/shellapi.h
@@ -57,17 +57,6 @@ UINT WINAPI DragQueryFileW(HDROP hDrop, UINT lFile, LPWSTR lpszFile, UINT lLengt
void WINAPI DragFinish(HDROP h);
BOOL WINAPI DragQueryPoint(HDROP hDrop, POINT *p);
-#define NIF_MESSAGE 0x00000001
-#define NIF_ICON 0x00000002
-#define NIF_TIP 0x00000004
-#define NIF_STATE 0x00000008
-#define NIF_INFO 0x00000010
-#define NIF_GUID 0x00000020
-
-#define NIM_ADD 0x00000000
-#define NIM_MODIFY 0x00000001
-#define NIM_DELETE 0x00000002
-
/******************************************
@@ -346,6 +335,51 @@ void WINAPI WinExecErrorW(HWND hwnd,INT error, LPCWSTR lpstrFileName, LPCWSTR lp
/******************************************
* Tray Notification
*/
+/* notifyicondata.uFlags values*/
+#define NIF_MESSAGE 0x00000001
+#define NIF_ICON 0x00000002
+#define NIF_TIP 0x00000004
+#define NIF_STATE 0x00000008
+#define NIF_INFO 0x00000010
+#define NIF_GUID 0x00000020
+#define NIF_REALTIME 0x00000040
+#define NIF_SHOWTIP 0x00000080
+
+/* notifyicondata.dwState values */
+#define NIS_HIDDEN 0x00000001
+#define NIS_SHAREDICON 0x00000002
+
+/* notifyicondata.dwInfoFlags values */
+#define NIIF_NONE 0x00000000
+#define NIIF_INFO 0x00000001
+#define NIIF_WARNING 0x00000002
+#define NIIF_ERROR 0x00000003
+#define NIIF_USER 0x00000004
+#define NIIF_ICONMASK 0x0000000f
+#define NIIF_NOSOUND 0x00000010
+#define NIIF_LARGEICON 0x00000020
+
+/* dwMessage values */
+#define NIM_ADD 0x00000000
+#define NIM_MODIFY 0x00000001
+#define NIM_DELETE 0x00000002
+#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 */
+
+/* callback message lParam values */
+#define NIN_SELECT (WM_USER+0)
+#define NINF_KEY 1
+#define NIN_KEYSELECT (NIN_SELECT|NINF_KEY) /* WM_USER+1 */
+#define NIN_BALOONSHOW (WM_USER+2)
+#define NIN_BALOONHIDE (WM_USER+3)
+#define NIN_BALOONTIMEOUT (WM_USER+4)
+#define NIN_BALOONCLICK (WM_USER+5)
+#define NIN_POPUPOPEN (WM_USER+6)
+#define NIN_POPUPCLOSE (WM_USER+7)
+
typedef struct _NOTIFYICONDATAA
{ DWORD cbSize;
HWND hWnd;
More information about the wine-cvs
mailing list