#ifndef _COMMON_INC #define _COMMON_INC #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 "resource.h" #include "version.h" #define MODULE "Alarm" extern HINSTANCE hInst; extern HANDLE hTopToolbarButton; typedef struct ALARM_tag { unsigned short id; wchar_t *szTitle; wchar_t *szDesc; Occurrence occurrence; BOOL snoozer; SYSTEMTIME time; unsigned short action; wchar_t *szCommand; wchar_t *szCommandParams; BYTE sound_num; int flags; } ALARM; #endif