mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
484 B
19 lines
484 B
// define the application class name
|
|
#define PWS_TRAY_WINDOW_CLASS _T("PWS_TRAY_WINDOW")
|
|
|
|
// special window messages
|
|
enum {
|
|
WM_PWS_TRAY_UPDATE_STATE = WM_USER,
|
|
WM_PWS_TRAY_SHELL_NOTIFY,
|
|
WM_PWS_TRAY_SHUTDOWN_NOTIFY
|
|
};
|
|
|
|
// timer messages
|
|
enum {
|
|
PWS_TRAY_CHECKFORSERVERRESTART = 0,
|
|
PWS_TRAY_CHECKTOSEEIFINETINFODIED
|
|
};
|
|
|
|
// number of milliseconds for the restart timer to wait
|
|
#define TIMER_RESTART 5000
|
|
#define TIMER_SERVERDIED 5000
|