// Shared declarations for the DeskTools modules. #ifndef DESKTOOLS_H #define DESKTOOLS_H #include void DT_Balloon(const WCHAR *title, const WCHAR *text); // Each module: init, shutdown, enable/disable, tray submenu, menu command, mouse hook. #define DT_MODULE(P) \ void P##_Init(HINSTANCE inst, BOOL enabled); \ void P##_Shutdown(void); \ void P##_SetEnabled(BOOL on); \ BOOL P##_IsEnabled(void); \ void P##_AppendMenu(HMENU parent, UINT base); \ void P##_Command(UINT local); \ int P##_Mouse(WPARAM wp, MSLLHOOKSTRUCT *m); DT_MODULE(DI) DT_MODULE(ST) DT_MODULE(QN) DT_MODULE(PW) #define DT_ID_ENABLE 9000 #endif