source: trunk/src/shell32/systray_os2.h@ 22012

Last change on this file since 22012 was 21602, checked in by dmik, 14 years ago

shell32: systray: Added support for the "TaskbarCreated" system notificaiton message that Windows broadcasts to all top-level windows when the taskbar (xcenter in case of OS/2) is (re)started. This allows applications supporting this message (including Java applications) recreate their taskbar icons.

  • Property svn:eol-style set to native
File size: 943 bytes
Line 
1/*
2 * OS/2 System Tray support.
3 *
4 * Common definitions.
5 */
6
7#ifndef __WINE_SYSTRAY_OS2_H
8#define __WINE_SYSTRAY_OS2_H
9
10#include "systray.h"
11
12// define some Win32 structs and types in terms of OS/2 types
13// to avoid inclusion of shellapi.h that would create conflicts
14
15#define NIF_MESSAGE 0x00000001
16#define NIF_ICON 0x00000002
17#define NIF_TIP 0x00000004
18
19typedef struct _NOTIFYICONDATAA
20{ ULONG cbSize;
21 HWND hWnd;
22 ULONG uID;
23 ULONG uFlags;
24 ULONG uCallbackMessage;
25 HPOINTER hIcon;
26 CHAR szTip[64];
27} NOTIFYICONDATAA, *PNOTIFYICONDATAA;
28
29// Note: This must match _SystrayItem from systray.c
30struct _SystrayItem {
31 HWND hWndFrame;
32 HWND hWndClient;
33 NOTIFYICONDATAA notifyIcon;
34 ULONG uIdx;
35 struct _SystrayItem *nextTrayItem;
36};
37
38BOOL SYSTRAY_Ex_Init(void);
39
40#endif // __WINE_SYSTRAY_OS2_H
Note: See TracBrowser for help on using the repository browser.