/*
 * File: DxbMgtInternal.h
 */

#ifndef DxbMgtInternal_h
#define DxbMgtInternal_h

#define MAX_BOARDS 12
#define MAX_DOS_DEVICE_NAME 64
#define DEFAULT_TIMEOUT_MS 15000
#define MGMT_MODULE_NAME "MGMT"

// Values used internally to the shim
#define SYSTEM32_DIR_NAME TEXT("System32\\")
#define SYSTEM32_DRIVERS_DIR_NAME SYSTEM32_DIR_NAME TEXT("Drivers\\")
#define DIGI_DXB_SYS_NAME TEXT("SraDxb.sys")
#define DIGI_ASYN_SYS_NAME TEXT("DigiAsyn.sys")
#define DIGI_ISDN_SYS_NAME TEXT("DigiIsdn.sys")
#define DIGI_FR_SYS_NAME TEXT("DigiLan.sys")
#define DIGI_PPP_SYS_NAME TEXT("DigiPPP.sys")
#define DIGI_SOH_SYS_NAME TEXT("DigiSoh.sys")
#define DIGI_SNA_SYS_NAME TEXT("DigiSna.sys")
#define DIGI_X25_SYS_NAME TEXT("DigiX25.sys")
#define DXB_MGT_DLL_NAME TEXT("DxbMgt.dll")
#define PAM_AGENT_SRV_NAME TEXT("DigiPamA.exe")
#define VERSION_FORMAT_STRING TEXT("%s Build %s")
#define MAX_VER_INFO_SIZE 4096
#define STRING_INFO_CODE_PAGE_VALUE TEXT("\\StringFileInfo\\040904B0\\")
#define FILE_VERSION_VALUE_STRING TEXT("FileVersion")
#define BUILD_NUMBER_VALUE_STRING TEXT("Build Number")
#define MAX_VER_VALUE_SIZE 64
#define MAX_SPRINTF_BUF_SIZE 128

// NOTE: NOTE: this is hardcode in the mgmt header file!
#define MAX_VER_STRING_SIZE 32

typedef struct MGT_DEVICE_DESCRIPTOR
{
	HANDLE DosDeviceHandle;
	HANDLE MgmtDeviceHandle;
}MGT_DEVICE_DESCRIPTOR_T;

#endif // #ifndef DxbMgtInternal_h
