/////////////////////////////////////////////////////////////////////////
//                                                                     //
//    Constants definition for INSTDRV                                 //
//                                            (C) Aktiv Co. 1998-2001  //
/////////////////////////////////////////////////////////////////////////

#define IDB_BITMAP3 3
#define IDB_BITMAP2 2
#define MB_ (MB_OK + MB_TASKMODAL + MB_ICONEXCLAMATION)

#define NT_DRIVERRESTART_TIMEOUT 10000

#define COMMAND_UNINST     0x01
#define COMMAND_EXIT       0x02
#define COMMAND_REBOOT     0x04

#define MIN_TIMEOUT        0.001
#define MAX_TIMEOUT        600.0

#define MIN_IRQL           0
#define MAX_IRQL           26

#define MIN_LPT			   0x1
#define MAX_LPT			   0xFFFF
#define RET_OK             2
#define RET_CANCEL         3

typedef struct _TLPTinformation
{
        DWORD RegKey;
        DWORD Method;
        WORD Base;
        BYTE Irql;
        char FriendlyName[100];
} TLPTinfo;

typedef struct _TDriverState
{
        unsigned Present;
        unsigned RebootNeeded;
        unsigned Age;
} TDriverState;

#define DRIVER_AGE_OLDER  0
#define DRIVER_AGE_EQUAL  1
#define DRIVER_AGE_NEWER  2

//------------------------------------------------------------
//--------------- Controls constants -------------------------
//------------------------------------------------------------

#define IDI_ICON1         1

#define IDD_CONFIG        1
#define IDD_MSG           2
#define IDD_CONFIG_NT     3
#define IDD_ADVANCED      4

//............
//  Rules of constants usage:
//   all values are three-digit:
//               number of dialog
//               control type 
//               number of control
//   Control types:
//     Text     0
//     Check    1
//     Radio    2
//     Edit     3
//     Button   4
//     Bitmap   5
//     List     8
//     Frame    9

//
//  Config & Config_NT dialogs are similar, they have the same dialog number = 2
//


#define IDC_STATICTEXT1   101
#define IDINSTALL         141
#define IDREMOVE          142
#define IDCONFIG          143
#define IDEXIT            144
#define IDC_STATICTEXT2   102
#define IDC_STATICFRAME3	104
#define IDC_GROUPBOX3	105
#define IDC_LPTAUTO_GROUPBOX1	105
#define IDC_EDIT2	106
#define IDC_EDIT3	107
#define IDC_EDIT4	108
#define IDC_EDIT_LPT3	108
#define IDC_STATICTEXT7	109
#define IDC_STATICTEXT8	110
#define IDC_STATICTEXT9	111
#define IDC_LPT3_STATICTEXT1	111
#define IDC_LPT2_STATICTEXT1	110
#define IDC_LPT1_STATICTEXT1	109
#define IDC_EDIT_LPT2	107
#define IDC_EDIT_LPT1	106

//........................................
#define IDC_STATICFRAME1        291
#define IDC_STATICFRAME2        292


#define IDC_STATICTEXT_FR_NAME  200

#define IDC_LISTBOX1            281
#define IDC_STATICTEXT_USE      201
#define IDC_RADIOBUTTON_YES     221
#define IDC_RADIOBUTTON_NO      222
#define IDC_STATICTEXT_METHODS  202

#define IDC_CHECK_AUTO          211
#define IDC_CHECK_STEAL         212
#define IDC_CHECK_ACQUIRE       213
#define IDC_CHECK_CS            214
#define IDC_CHECK_MASK          215
#define IDC_CHECK_CLI           216
#define IDC_EDIT_IRQL           231

#define IDC_CHECK_IRQL          217
#define IDC_CHECK_ALLOC         218

#define IDC_STATICTEXT3         203
#define IDC_EDIT1               232
#define IDC_STATICTEXT4         204

#define IDC_BUTTON_CANCEL       241
#define IDC_BUTTON_OK           242
#define IDC_BUTTON_ADVANCED     243

#define IDC_GROUPBOX1           491
#define IDC_GROUPBOX2           492
#define IDC_RADIOBUTTON1        421
#define IDC_RADIOBUTTON2        422
#define IDC_RADIOBUTTON3        423
#define IDC_RADIOBUTTON4        424
#define IDC_RADIOBUTTON5        425
#define IDC_RADIOBUTTON6        426
#define IDC_RADIOBUTTON7        427

#define IDC_CHECKBOX_AUTO       411
#define IDC_STATICBITMAP_DOWN   450

#define IDC_STATICBITMAP1       251
#define IDC_STATICBITMAP2       452
#define IDC_STATICBITMAP3       453
#define IDC_STATICBITMAP4       454
#define IDC_STATICBITMAP5       455
#define IDC_STATICBITMAP6       456
#define IDC_STATICBITMAP7       457

#define IDC_STATICTEXT_WARN     403
#define IDC_CHECKBOX1	102
#define IDC_CHECKBOX_LPTAUTO	102
#define IDC_STATICTEXT5	103
#define IDC_LPTAUTO_STATICTEXT1	103
#define IDC_STATICTEXT6	104


