/* ---------------------------------------------------------------------------

    This file controls the different build environments that we have
    to deal with in the split WanLinks driver. Include this header file
    to enable or disable certain adapters by conditional compilation.

    Share as much code as possible between the different driver sets!

--------------------------------------------------------------------------- */

//
// Driver Build Control
//

#define ACCELEPORT_XP_BUILD


//
// OEM Build Control
//

#define DIGI_BUILD


//
// OEM Specific Strings
//

// Project name macros
#define WANLINKS_PROJECT_NAME_INF           AccelePort_Xp
#define WANLINKS_PROJECT_NAME_QUOT          "AccelePort_Xp"
#define WANLINKS_PROJECT_NAME_TEXT          TEXT("AccelePort_Xp")
#define WANLINKS_ORIGINAL_PROJECT_NAME_TEXT TEXT("WAN Links")

#define WANLINKS_DXB_DISPLAY_NAME_QUOT      "Digi AccelePort Xp Dxb Driver"

// Files and services name prefix macros
// AccelePort RAS:  Dgar
// AccelePort Xp:   Dgxp
// DataFire Sync:   Dgds
#define WANLINKS_NAME_PREFIX_QUOT           "Dgax"
#define WANLINKS_NAME_PREFIX_TEXT           TEXT("Dgax")
#define WANLINKS_NAME_PREFIX_WIDE           L"Dgax"
#define WANLINKS_NAME_PREFIX_LC_QUOT        "dgax"
#define WANLINKS_NAME_PREFIX_LC_TEXT        TEXT("dgax")
// This is the old Wanlinks drivers' prefix:
#define WANLINKS_ORIGINAL_NAME_PREFIX_TEXT  TEXT("Digi")

//
// Inf file macros
//

// netdgdxb.inf (not used by Dgds)
#define WANLINKS_INF_CATALOG_FILE_INF       
#define WANLINKS_INF_SERVICE_BINARY_INF     

// mdmdgden.inf (not used by Dgax)
#define WANLINKS_MODEM_INF_NAME_INF         
#define WANLINKS_MODEM_NAME_PNP             ""
#define WANLINKS_MODEM_NAME                 ""

// digiasyn.inf
#define WANLINKS_ASYN_INF_NAME_INF          dgaxasyn.inf
#define WANLINKS_ASYN_SERVICE_DESC          "Digi AccelePort Xp Serial Driver"
#define WANLINKS_ASYN_SERVICE_INF           DgaxAsyn
#define WANLINKS_ASYN_NAME_INF              "DgaxAsyn"

// digimps.inf
#define WANLINKS_MPS_INF_NAME_INF           dgaxmps.inf
#define WANLINKS_MPS_CAT_NAME_INF           dgaxmps.cat
#define WANLINKS_DXB_SERVICE_DESC           "Digi AccelePort Xp Adapter Driver"
#define WANLINKS_DXB_SERVICE_INF            DgaxDxb
#define WANLINKS_DXB_NAME_INF               "DgaxDxb"

// oemsetup.inf
#define WANLINKS_RAS_BOARD_NAME_QUOT        "DigiRAS"

//
// Registry key macros
//

#define WANLINKS_SOFTWARE_BASE_TEXT         TEXT("SOFTWARE\\Digi")
#define WANLINKS_CONFIG_REGKEY_INF          SOFTWARE\Digi\AccelePort_Xp\CurrentVersion\Config
#define WANLINKS_CONFIG_REGKEY_QUOT         "SOFTWARE\\Digi\\AccelePort_Xp\\CurrentVersion\\Config"

#define WANLINKS_SERVICE_GROUP_QUOT         "DGAXDS"
#define WANLINKS_SERVICE_GROUP_DEPEND       {"+DGAXDS"}
#define WANLINKS_SERVICE_GROUP_TEXT         TEXT("DGAXDS")

// 
// Digi Port Assist Manager Agent macros
//

#define WANLINKS_PAMA_EXECUTABLE_NAME_QUOT  "dgaxpama.exe"
#define WANLINKS_PAMA_SERVICE_NAME_TEXT     TEXT("DgaxPama")
#define WANLINKS_PAMA_SERVICE_NAME_QUOT     "DgaxPama"
#define WANLINKS_PAMA_BINARY_PATH_TEXT      TEXT("system32\\dgaxpama.exe")
// The old WanLinks' digipama.exe
#define WANLINKS_ORIGINAL_PAMA_SERVICE_NAME_TEXT \
                                            TEXT("DigiPama")

#define WANLINKS_PAM_PORT                   2364
// WanLinks (old):  2362
// AccelePort RAS:  2363
// AccelePort Xp:   2364
// DataFire RAS:    2365
// DataFire Sync:   2366

//
// Service name, module name, and file name macros
//

// Macros that used to build device names at run-time (used by dxbmgt.dll)
#define WANLINKS_MPS_DEVICE_FORMAT_TEXT     TEXT("DgaxDxbMps%s")
#define WANLINKS_DXB_DEVICE_FORMAT_TEXT     TEXT("DgaxDxb%s")
#define WANLINKS_ORIGINAL_PNPHWID_PREFIX_TEXT \
                                            TEXT("Dxb\\Digi")
#define WANLINKS_ORIGINAL_ASYN_PNPHWID_TEXT TEXT("Dxb\\DigiAsyn")

// digiasyn.sys
#define WANLINKS_DIAG_SYMBOLIC_NAME         L"\\DosDevices\\DgaxAsynDiag"
#define WANLINKS_DIAG_DEVICE_NAME           L"\\Device\\DgaxAsynDiag"

// Driver device name prefix macros (unicode)
#define WANLINKS_ASYN_POSTFIX_TEXT          TEXT("Asyn")
#define WANLINKS_DXB_POSTFIX_TEXT           TEXT("Dxb")
#define WANLINKS_ISDN_POSTFIX_TEXT          TEXT("Isdn")
#define WANLINKS_LAN_POSTFIX_TEXT           TEXT("Lan")
#define WANLINKS_PCI_POSTFIX_TEXT           TEXT("Pci")
#define WANLINKS_PPP_POSTFIX_TEXT           TEXT("Ppp")
#define WANLINKS_SNA_POSTFIX_TEXT           TEXT("Sna")
#define WANLINKS_SOH_POSTFIX_TEXT           TEXT("Soh")
#define WANLINKS_WANX_POSTFIX_TEXT          TEXT("Wanx")

// Driver device name macros (literal unicode)
#define WANLINKS_DXB_NAME_WIDE              L"DgaxDxb"
#define WANLINKS_SOH_NAME_WIDE              L"DgaxSoh"
#define WANLINKS_SOH_DRIVER_NAME_WIDE       L"\\\\.\\DgaxSoh"

// Driver device name prefix macros (quoted text)
#define WANLINKS_ASYN_POSTFIX_QUOT          "Asyn"
#define WANLINKS_DXB_POSTFIX_QUOT           "Dxb"
#define WANLINKS_ISDN_POSTFIX_QUOT          "Isdn"
#define WANLINKS_LAN_POSTFIX_QUOT           "Lan"
#define WANLINKS_PCI_POSTFIX_QUOT           "Pci"
#define WANLINKS_PPP_POSTFIX_QUOT           "Ppp"
#define WANLINKS_SNA_POSTFIX_QUOT           "Sna"
#define WANLINKS_SOH_POSTFIX_QUOT           "Soh"
#define WANLINKS_WANX_POSTFIX_QUOT          "Wanx"

// Driver device name macros (unicode)
#define WANLINKS_570MP_NAME_TEXT            TEXT("Dg570mp")
#define WANLINKS_ASYN_NAME_TEXT             TEXT("DgaxAsyn")
#define WANLINKS_DXB_NAME_TEXT              TEXT("DgaxDxb")
#define WANLINKS_ISDN_NAME_TEXT             TEXT("DgaxIsdn")
#define WANLINKS_LAN_NAME_TEXT              TEXT("DgaxLan")
#define WANLINKS_PCI_NAME_TEXT              TEXT("DgaxPci")
#define WANLINKS_PPP_NAME_TEXT              TEXT("DgaxPpp")
#define WANLINKS_SNA_NAME_TEXT              TEXT("DgaxSna")
#define WANLINKS_SOH_NAME_TEXT              TEXT("DgaxSoh")
#define WANLINKS_SXB_NAME_TEXT              TEXT("DgaxSxb")
#define WANLINKS_WANX_NAME_TEXT             TEXT("DgaxWanx")
// Old Wanlinks driver device name macros (unicode)
#define WANLINKS_ORIGINAL_DXB_NAME_TEXT     TEXT("DigiDxb")

// Driver device name macros (raw text)
#define WANLINKS_570MP_NAME_QUOT            "Dg570mp"
#define WANLINKS_ASYN_NAME_QUOT             "DgaxAsyn"
#define WANLINKS_DXB_NAME_QUOT              "DgaxDxb"
#define WANLINKS_ISDN_NAME_QUOT             "DgaxIsdn"
#define WANLINKS_LAN_NAME_QUOT              "DgaxLan"
#define WANLINKS_PCI_NAME_QUOT              "DgaxPci"
#define WANLINKS_PPP_NAME_QUOT              "DgaxPpp"
#define WANLINKS_SDLC_NAME_QUOT             "DgaxSdlc"
#define WANLINKS_SNA_NAME_QUOT              "DgaxSna"
#define WANLINKS_SOH_NAME_QUOT              "DgaxSoh"
#define WANLINKS_WANX_NAME_QUOT             "DgaxWanx"
#define WANLINKS_X25_NAME_QUOT              "DgaxX25"

// Filename macros for drivers
#define WANLINKS_570MP_FILENAME_QUOT        "dg570mp.sys"
#define WANLINKS_ASYN_FILENAME_QUOT         "dgaxasyn.sys"
#define WANLINKS_DXB_FILENAME_QUOT          "dgaxdxb.sys"
#define WANLINKS_ISDN_FILENAME_QUOT         "dgaxisdn.sys"
#define WANLINKS_LAN_FILENAME_QUOT          "dgaxlan.sys"
#define WANLINKS_PCI_FILENAME_QUOT          "dgaxpci.sys"
#define WANLINKS_PPP_FILENAME_QUOT          "dgaxppp.sys"
#define WANLINKS_SNA_FILENAME_QUOT          "dgaxsna.sys"
#define WANLINKS_SOH_FILENAME_QUOT          "dgaxsoh.sys"
#define WANLINKS_WANX_FILENAME_QUOT         "dgaxwanx.sys"
#define WANLINKS_X25_FILENAME_QUOT          "dgaxx25.sys"
// Filenames macro for libraries
#define WANLINKS_ASYN_DLL_FILENAME_QUOT     "dgaxasyn.dll"
#define WANLINKS_CLYD_DLL_FILENAME_QUOT     "dgaxclyd.dll"
#define WANLINKS_CSNT_DLL_FILENAME_QUOT     "dgaxcsnt.dll"
#define WANLINKS_DBP_DLL_FILENAME_QUOT      "dgaxdbp.dll"
#define WANLINKS_DCFG_DLL_FILENAME_QUOT     "dgaxdcfg.dll"
#define WANLINKS_DETECT_DLL_FILENAME_QUOT   "dgaxdtct.dll"
#define WANLINKS_DLG_DLL_FILENAME_QUOT      "dgaxdlg.dll"
#define WANLINKS_DXBMGMT_DLL_FILENAME_QUOT  "dgaxmgmt.dll"
#define WANLINKS_FRWK_DLL_FILENAME_QUOT     "dgaxfrwk.dll"
#define WANLINKS_FRX_DLL_FILENAME_QUOT      "dgaxfrx.dll"
#define WANLINKS_HLC_DLL_FILENAME_QUOT      "dgaxhlc.dll"
#define WANLINKS_INF_DLL_FILENAME_QUOT      "dgaxinf.dll"
#define WANLINKS_ISDN_DLL_FILENAME_QUOT     "dgaxisdn.dll"
#define WANLINKS_PERF_DLL_FILENAME_QUOT     "dgaxperf.dll"
#define WANLINKS_PPP_DLL_FILENAME_QUOT      "dgaxppp.dll"
#define WANLINKS_SOHPERF_DLL_FILENAME_QUOT  "dgaxperf.dll"
#define WANLINKS_SNA_DLL_FILENAME_QUOT      "dgaxsna.dll"
#define WANLINKS_WAN_DLL_FILENAME_QUOT      "dgaxwan.dll"
#define WANLINKS_XCFG_DLL_FILENAME_QUOT     "dgaxxcfg.dll"
// Filenames macro for help files
#define WANLINKS_HELP_FILENAME_QUOT         "dgaxhelp.chm"
