/*************************************************************************
*
*  File Name   : Hyber.h
*
************************************************************************/


#define ID_PRODINFO           256
#define IDD_HIBER_COMPLETE    257
#define IDMB_HIBER_COMPLETE   258     /* hiber complete message box */
#define IDB_HIBER_COMPLETE    259     /* hiber complete button      */
#define ID_BITMAP             260     /* Bitmap */

/* Controls in the dialog */
#define IDC_CONTROL_BASE   300
#define IDC_MESSAGE_0      IDC_CONTROL_BASE + 0
#define IDC_MESSAGE_1      IDC_CONTROL_BASE + 1
#define IDC_MESSAGE_2      IDC_CONTROL_BASE + 2
#define IDC_CANCEL_BUTTON  IDC_CONTROL_BASE + 3

#define INTERNAL_MSG              WM_USER + 100
#define INTERNAL_MSG_OK_BUTTON    WM_USER + 102
#define INTERNAL_MSG_PROCESSED    WM_USER + 103

/**
 ** Note:
 ** MAX_MESSAGES should equal to the number of IDC_MESSAGE_ above
 **/
#define  MAX_MESSAGES                    3
#define  MESSAGE_LENGTH                256


/** Message numbers in Resource file */
#define  IDS_MSG_HIBERNATION                  100
#define  IDS_MSG_RESTORE                      101
#define  IDS_MSG_HIBERNATION_START            102
#define  IDS_MSG_HIBERNATION_COMPLETE         103
#define  IDS_MSG_LOADING_FILE                 104
#define  IDS_MSG_UNABLE_TO_HIBERNATE          105
#define  IDS_MSG_FILE_NOT_FOUND               106
#define  IDS_MSG_NO_SWAP_FILE                 107
#define  IDS_MSG_DISK_FULL                    108
#define  IDS_MSG_MODIFY_SWAP_FILE             109
#define  IDS_MSG_HPFS_SWAP_FILE               110
#define  IDS_MSG_HIBER_IN_PROGRESS            111
#define  IDS_MSG_ERROR_HPFS_SYS_FILE          112

/** Hibernation message numbers **/
#define  HIBER_MSG_HIBERNATION_START          101
#define  HIBER_MSG_HIBERNATION_COMPLETE       102
#define  HIBER_MSG_LOADING_FILE               103
#define  HIBER_MSG_ERROR_FILE_NOT_FOUND       104
#define  HIBER_MSG_ERROR_NO_SWAP_FILE         105
#define  HIBER_MSG_ERROR_DISK_FULL            106
#define  HIBER_MSG_ERROR_MODIFY_SWAP_FILE     107
#define  HIBER_MSG_ERROR_HPFS_SWAP_FILE       108
#define  HIBER_MSG_ERROR_INTERNAL             109
#define  HIBER_MSG_ERROR_HIBER_IN_PROGRESS    110
#define  HIBER_MSG_ERROR_HPFS_SYS_FILE        111

/*
**---------------------------------------------------------
** Constants shared between hybernat.exe and hyberset.exe
**---------------------------------------------------------
*/

#define HIBERNATION_SHARED_MEM  "\\SHAREMEM\\HIBERNAT\\IPC.MEM"
#define IPC_MSG_RESUME          "RESUME"
#define IPC_MSG_HIBER_SET_MODE  "HYBER SET MODE"

#define HIBERNATION_QUEUE       "\\QUEUES\\HIBERNAT\\TERM.QUE"
#define DOS_CFG                 "C:\\DOS.CFG"
#define HIBER_BAT               "C:\\HIBER.BAT"
#define IPC_MSG_SCREEN_UPDATED  12345L
