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

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

shell32: Implemented xsystray support (#16).

  • Property svn:eol-style set to native
File size: 1.1 KB
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#define NIF_MESSAGE 0x00000001
21#define NIF_ICON 0x00000002
22#define NIF_TIP 0x00000004
23
24typedef struct _NOTIFYICONDATAA
25{ ULONG cbSize;
26 HWND hWnd;
27 ULONG uID;
28 ULONG uFlags;
29 ULONG uCallbackMessage;
30 HPOINTER hIcon;
31 CHAR szTip[64];
32} NOTIFYICONDATAA, *PNOTIFYICONDATAA;
33
34// Note: This must match _SystrayItem from systray.c
35struct _SystrayItem {
36 HWND hWndFrame;
37 HWND hWndClient;
38 NOTIFYICONDATAA notifyIcon;
39 ULONG uIdx;
40 struct _SystrayItem *nextTrayItem;
41};
42
43BOOL DoWin32PostMessage(HWND, ULONG, MPARAM, MPARAM);
44
45BOOL SYSTRAY_Ex_Init(void);
46
47#endif // __WINE_SYSTRAY_OS2_H
Note: See TracBrowser for help on using the repository browser.