#ifndef _COMMON_INC #define _COMMON_INC #define _WIN32_WINNT 0x0500 #define _WIN32_IE 0x0400 #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers #define VC_EXTRALEAN #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "resource.h" #include "version.h" #define MODULE "Alarm" extern HINSTANCE hInst; extern PLUGINLINK *pluginLink; extern HANDLE hTopToolbarButton; typedef struct ALARM_tag { unsigned short id; TCHAR *szTitle; TCHAR *szDesc; Occurrence occurrence; BOOL snoozer; SYSTEMTIME time; unsigned short action; TCHAR *szCommand; TCHAR *szCommandParams; BYTE sound_num; int flags; DWORD trigger_id; } ALARM; #ifndef MIID_ALARMS #define MIID_ALARMS {0x60ebaad1, 0x8d95, 0x4966, { 0x8b, 0xe3, 0xb1, 0xed, 0xaf, 0xa2, 0x11, 0xab}} #endif #endif