// // ADCTL.H - After Dark Engine Control Header // Copyright 1994 Berkeley Systems, Inc. All Rights Reserved. // // This header file contains declarations used to remotely control the After // Dark engine V3.0x. Refer to the engine control documentation for more // information. // // WINDOWS.H must be included before this header file. // // Modification History: // 06/22/94 Dylan Greiner (DEG) // Created. // 08/18/94 Dylan Greiner (DEG) // Updated for general release. // #ifndef _ADCTL_H_ #define _ADCTL_H_ /////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// // String Constants // #define CONTROL_PANEL_CLASS "BSI:ADCONTROL" #define SLEEP_NOTIFY_MESSAGE "ADM_AFTERDARKSLEEPING" ////////////////////////////////////////////////////////////////////////////// // Macros // #define GetADEngineWindow() (FindWindow (CONTROL_PANEL_CLASS, NULL)) #define RegisterADNotifyMessage() (RegisterWindowMessage (SLEEP_NOTIFY_MESSAGE)) ////////////////////////////////////////////////////////////////////////////// // Messages // #define ADM_MESSAGE_BASE (WM_USER + 3000) #define ADM_ENGINEASLEEP (ADM_MESSAGE_BASE + 0) #define ADM_GETBANNERMESSAGE (ADM_MESSAGE_BASE + 1) #define ADM_SETBANNERMESSAGE (ADM_MESSAGE_BASE + 2) #define ADM_ENABLEBANNER (ADM_MESSAGE_BASE + 3) #define ADM_BANNERENABLED (ADM_MESSAGE_BASE + 4) #define ADM_STARTSLEEPING (ADM_MESSAGE_BASE + 5) #define ADM_STOPSLEEPING (ADM_MESSAGE_BASE + 6) #define ADM_ENABLESLEEPING (ADM_MESSAGE_BASE + 7) #define ADM_SLEEPINGENABLED (ADM_MESSAGE_BASE + 8) /////////////////////////////////////////////////////////////////////////////// #endif // _ADCTL_H_