Last change
on this file since 21591 was 21591, checked in by dmik, 14 years ago |
shell32: Prepared to the xsystray integration (keeping the old Systray/WPS based implementation).
|
-
Property svn:eol-style
set to
native
|
File size:
937 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 | // map some Win32 types used in systray.h to OS/2 types
|
---|
11 | // to avoid Win32 header inclusion and conflicts
|
---|
12 |
|
---|
13 | #define HICON HPOINTER
|
---|
14 |
|
---|
15 | #include "systray.h"
|
---|
16 |
|
---|
17 | // define some Win32 structs in terms of OS/2 types
|
---|
18 | // to avoid Win32 header inclusion and conflicts
|
---|
19 |
|
---|
20 | typedef struct _NOTIFYICONDATAA
|
---|
21 | { ULONG cbSize;
|
---|
22 | HWND hWnd;
|
---|
23 | ULONG uID;
|
---|
24 | ULONG uFlags;
|
---|
25 | ULONG uCallbackMessage;
|
---|
26 | HPOINTER hIcon;
|
---|
27 | CHAR szTip[64];
|
---|
28 | } NOTIFYICONDATAA, *PNOTIFYICONDATAA;
|
---|
29 |
|
---|
30 | struct _SystrayItem {
|
---|
31 | HWND hWndFrame;
|
---|
32 | HWND hWndClient;
|
---|
33 | NOTIFYICONDATAA notifyIcon;
|
---|
34 | struct _SystrayItem *nextTrayItem;
|
---|
35 | };
|
---|
36 |
|
---|
37 | BOOL DoWin32PostMessage(HWND, ULONG, MPARAM, MPARAM);
|
---|
38 | BOOL DoWin32CharToOem(const char *s, char *t);
|
---|
39 |
|
---|
40 | BOOL SYSTRAY_Ex_Init(void);
|
---|
41 |
|
---|
42 | #endif // __WINE_SYSTRAY_OS2_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.