/*****************************************************************************
* Copyright (c) 1990-98 Digi International Inc., All Rights Reserved
* 
* This software contains proprietary and confidential information of Digi
* International Inc.  By accepting transfer of this copy, Recipient agrees
* to retain this software in confidence, to prevent disclosure to others,
* and to make no use of this software other than that for which it was
* delivered.  This is an unpublished copyrighted work of Digi International
* Inc.  Except as permitted by federal law, 17 USC 117, copying is strictly
* prohibited.
* 
* Restricted Rights Legend
*
* Use, duplication, or disclosure by the Government is subject to
* restrictions set forth in sub-paragraph (c)(1)(ii) of The Rights in
* Technical Data and Computer Software clause at DFARS 252.227-7031 or
* subparagraphs (c)(1) and (2) of the Commercial Computer Software -
* Restricted Rights at 48 CFR 52.227-19, as applicable.
*
* Digi International Inc. 11001 Bren Road East, Minnetonka, MN 55343
*
*****************************************************************************/

#include "buildctrl.h"
#include "regdefs.h"

#define SNA_PATH_TOKEN_STRING	"SNAPATHNAME"
#define DIGISERVICETITLE	"Digi SDLC Link Service #"
#define DIGIDRIVERTITLE		"Digi SDLC/X.25 Device Driver"
#define DIGISERVICEDESC		"Digi Link Service"
#define DIGIDRIVERDESC		"Digi Device Driver"


// specific to DigiSna
#define LINESPEED	_T("LineSpeed")
#define INTERNALCLOCK _T("InternalClock")
// specific to IBM LinkService DLL's
#define CARRIER		_T("Carrier")
#define SNADEVICE	_T("SnaDevice")
#define DEVICE		_T("Device")
#define DEVICENAME	_T("DeviceName")
#define LINETYPE	_T("LineType")
#define RADIO4FLAG	_T("Radio4Flag")
#define ISREMOTABLE	_T("IsRemotable")

#define BINDTAG		_T("\\Device\\" WANLINKS_SNA_NAME_QUOT)

TYPEMGSDLCREG MGSDLCREG [] = 
		{
			{ // 0
				"SOFTWARE\\Microsoft\\LINKSERVICE",
				"",
				"",
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 1
				"SOFTWARE\\Microsoft\\LINKSERVICE\\CurrentVersion",
				"Description",
				DIGISERVICEDESC,
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 2
				"SOFTWARE\\Microsoft\\LINKSERVICE\\CurrentVersion",
				"DLLName",
				DLLNAME,
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 3
				"SOFTWARE\\Microsoft\\LINKSERVICE\\CurrentVersion",
				"ServiceName",
				LSTYPE1,
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 4
				"SOFTWARE\\Microsoft\\LINKSERVICE\\CurrentVersion",
				"SNAVersion",
				"3.0",
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 5
				"SOFTWARE\\Microsoft\\LINKSERVICE\\CurrentVersion",
				"SoftwareType",
				"service",
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 6
				"SOFTWARE\\Microsoft\\LINKSERVICE\\CurrentVersion",
				"Title",
				DIGISERVICETITLE,
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 7
				"SOFTWARE\\Microsoft\\LINKSERVICE\\CurrentVersion\\NetRules",
				"bindable",
				BINDABLE,
				REG_MULTI_SZ,
				0,
				TRUE,
				FALSE
			},
			{// 8
				"SOFTWARE\\Microsoft\\LINKSERVICE\\CurrentVersion\\NetRules",
				"bindform",
				BINDFORMTAG,
				REG_SZ,
				0,
				TRUE,
				FALSE
			},
			{// 9
				"SOFTWARE\\Microsoft\\LINKSERVICE\\CurrentVersion\\NetRules",
				"class",
				CLASS,
				REG_MULTI_SZ,
				0,
				TRUE,
				FALSE
			},
			{// 10
				"SOFTWARE\\Microsoft\\LINKSERVICE\\CurrentVersion\\NetRules",
				"DLLName",
				DLLNAME,
				REG_SZ,
				0,
				TRUE,
				FALSE
			},
			{// 11
				"SOFTWARE\\Microsoft\\LINKSERVICE\\CurrentVersion\\NetRules",
				"InfOption",
				"",
				REG_SZ,
				0,
				TRUE,
				FALSE
			},
			{// 12
				"SOFTWARE\\Microsoft\\LINKSERVICE\\CurrentVersion\\NetRules",
				"Title",
				DIGISERVICETITLE,
				REG_SZ,
				0,
				TRUE,
				FALSE
			},
			{// 13
				"SOFTWARE\\Microsoft\\LINKSERVICE\\CurrentVersion\\NetRules",
				"type",
				TYPESTRING,
				REG_SZ,
				0,
				TRUE,
				FALSE
			},
			{// 14
				"SOFTWARE\\Microsoft\\LINKSERVICE\\CurrentVersion\\NetRules",
				"use",
				"",
				REG_SZ,
				0,
				TRUE,
				FALSE
			},
			{// 15
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc",
				"DependOnGroup",
				"",
				REG_MULTI_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 16
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc",
				"DependOnService",
				WANLINKS_SNA_NAME_QUOT,
				REG_MULTI_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 17
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc",
				"DisplayName",
				LSTYPE1,
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 18
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc",
				"ErrorControl",
				"1",
				REG_DWORD,
				0,
				TRUE,
				TRUE
			},
			{// 19
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc",
				"ImagePath",
				"SNAPATHNAME\\system\\SNALINK.EXE",
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 20
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc",
				"ObjectName",
				"LocalSystem",
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 21
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc",
				"Start",
				"3",
				REG_DWORD,
				0,
				TRUE,
				TRUE
			},
			{// 22
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc",
				"Type",
				"16",
				REG_DWORD,
				0,
				TRUE,
				TRUE
			},
			{// 23
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Linkage",
				"Bind",
				BINDTAG,
				REG_MULTI_SZ,
				0,
				TRUE,
				FALSE
			},
			{// 24
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Linkage",
				"Export",
				EXPORTTAG,
				REG_SZ,
				0,
				FALSE,
				FALSE
			},
			{// 25
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Linkage",
				"OtherDependencies",
				"",
				REG_MULTI_SZ,
				0,
				TRUE,
				FALSE
			},
			{// 26
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Linkage",
				"Route",
				"\"" WANLINKS_SNA_NAME_QUOT "\"",
				REG_MULTI_SZ,
				0,
				FALSE,
				FALSE
			},
			{// 27
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Linkage\\Disabled",
				"",
				"",
				REG_MULTI_SZ,
				0,
				TRUE,
				FALSE
			},
			{// 28
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Linkage\\Disabled",
				"Export",
				"",
				REG_MULTI_SZ,
				0,
				FALSE,
				FALSE
			},
			{// 29
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Linkage\\Disabled",
				"Route",
				"",
				REG_MULTI_SZ,
				0,
				FALSE,
				FALSE
			},
			{// 30
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters",
				"ConnectionTraceFile1",
				"SNAPATHNAME\\traces\\connect1.trc",
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 31
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters",
				"ConnectionTraceFile2",
				"SNAPATHNAME\\traces\\connect2.trc",
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 32
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters",
				"ConnectionTraceState",
				"off",
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 33
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters",
				"Description",
				DIGISERVICEDESC,
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 34
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters",
				"DLCTraceState",
				"off",
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 35
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters",
				"DriverName",
				WANLINKS_SNA_NAME_QUOT,
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 36
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters",
				"FlipLength",
				"500000",
				REG_DWORD,
				0,
				TRUE,
				TRUE
			},
			{// 37
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters",
				"IHVDLL",
				IHVDLL,
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 38
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters",
				"DLLName",
				DLLNAME,
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 39
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters",
				"InfOption",
				"",
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 40
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters",
				"InternalMessageTraceState",
				"off",
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 41
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters",
				"InternalTraceFile1",
				"SNAPATHNAME\\traces\\linkint1.trc",
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 42
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters",
				"InternalTraceFile2",
				"SNAPATHNAME\\traces\\linkint2.trc",
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 43
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters",
				"InternalTraceLevel",
				"20",
				REG_DWORD,
				0,
				TRUE,
				TRUE
			},
			{// 44
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters",
				"MaxRecordLength",
				"65535",
				REG_DWORD,
				0,
				TRUE,
				TRUE
			},
			{// 45
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters",
				"MessageTraceFile1",
				"SNAPATHNAME\\traces\\linkmsg1.trc",
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 46
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters",
				"MessageTraceFile2",
				"SNAPATHNAME\\traces\\linkmsg2.trc",
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 47
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters",
				"SNAServiceType",
				SNASERVICETYPE,
				REG_DWORD,
				0,
				TRUE,
				TRUE
			},
			{// 48
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters",
				"Title",
				DIGISERVICETITLE,
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 49
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters",
				"TraceFlushing",
				"off",
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 50
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters\\ExtraParameters",
				CARRIER,
				"0",
				REG_DWORD,
				0,
				TRUE,
				TRUE
			},
			{// 51
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters\\ExtraParameters",
				"DeviceId",
				"3",
				REG_DWORD,
				0,
				TRUE,
				TRUE
			},
			{// 52
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters\\ExtraParameters",
				"DeviceName",
				LSTYPE1,
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 53
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters\\ExtraParameters",
				LINESPEED,
				"56000",
				REG_DWORD,
				0,
				TRUE,
				TRUE
			},
			{// 54
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters\\ExtraParameters",
				INTERNALCLOCK,
				"0",
				REG_DWORD,
				0,
				TRUE,
				TRUE
			},
			{// 55
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters\\ExtraParameters",
				"",
				"",
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 56
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters\\ExtraParameters",
				"",
				"",
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 57
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters\\ExtraParameters",
				LINETYPE,
				"0",
				REG_DWORD,
				0,
				TRUE,
				TRUE
			},
			{// 58
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters\\ExtraParameters",
				RADIO4FLAG,
				"0",
				REG_DWORD,
				0,
				TRUE,
				TRUE
			},
			{// 59
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Performance",
				"",
				"",
				REG_DWORD,
				0,
				TRUE,
				TRUE
			},
			{// 60
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Performance",
				"First Help",
				"0",
				REG_DWORD,
				0,
				FALSE,
				FALSE
			},
			{// 61
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Performance",
				"Last Counter",
				"0",
				REG_DWORD,
				0,
				FALSE,
				FALSE
			},
			{// 62
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Performance",
				"Last Help",
				"0",
				REG_DWORD,
				0,
				FALSE,
				FALSE
			},
			{// 63
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Security",
				"Security",
				"",
				REG_BINARY,
				0,
				TRUE,
				TRUE
			},
			{// 64
				"SYSTEM\\CurrentControlSet\\Services\\SnaSdlc\\Parameters",
				ISREMOTABLE,
				"0",
				REG_DWORD,
				0,
				TRUE,
				TRUE
			},

			{// 65
				"SYSTEM\\CurrentControlSet\\Services\\EventLog\\System\\SnaSdlc",
				"EventMessageFile",
				"SNAPATHNAME\\System\\SNALINK.EXE",
				REG_EXPAND_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 66
				"SYSTEM\\CurrentControlSet\\Services\\EventLog\\System\\SnaSdlc",
				"TypesSupported",
				"7",
				REG_DWORD,
				0,
				TRUE,
				TRUE
			},
			{ // Last one must be empty 67
				"",
				"",
				"",
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{ // 68
				"SOFTWARE\\Microsoft\\" WANLINKS_NAME_PREFIX_QUOT "SnaDD_1.0_01",
				"",
				"",
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{ // 69
				"SOFTWARE\\Microsoft\\" WANLINKS_NAME_PREFIX_QUOT "SnaDD_1.0_01\\CurrentVersion",
				"Description",
				DIGIDRIVERDESC,
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 70
				"SOFTWARE\\Microsoft\\" WANLINKS_NAME_PREFIX_QUOT "SnaDD_1.0_01\\CurrentVersion",
				"DLLName",
				DLLNAME,
				REG_SZ,
				0,
				TRUE
			},
			{// 71
				"SOFTWARE\\Microsoft\\" WANLINKS_NAME_PREFIX_QUOT "SnaDD_1.0_01\\CurrentVersion",
				"ServiceName",
				WANLINKS_SNA_NAME_QUOT,
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 72
				"SOFTWARE\\Microsoft\\" WANLINKS_NAME_PREFIX_QUOT "SnaDD_1.0_01\\CurrentVersion",
				"SNAVersion",
				"3.0",
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 73
				"SOFTWARE\\Microsoft\\" WANLINKS_NAME_PREFIX_QUOT "SnaDD_1.0_01\\CurrentVersion",
				"SoftwareType",
				"driver",
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 74
				"SOFTWARE\\Microsoft\\" WANLINKS_NAME_PREFIX_QUOT "SnaDD_1.0_01\\CurrentVersion",
				"Title",
				DIGIDRIVERTITLE,
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 75
				"SOFTWARE\\Microsoft\\" WANLINKS_NAME_PREFIX_QUOT "SnaDD_1.0_01\\CurrentVersion\\NetRules",
				"bindable",
				"",
				REG_MULTI_SZ,
				0,
				TRUE,
				FALSE
			},
			{// 76
				"SOFTWARE\\Microsoft\\" WANLINKS_NAME_PREFIX_QUOT "SnaDD_1.0_01\\CurrentVersion\\NetRules",
				"bindform",
				WANLINKS_NAME_PREFIX_QUOT "Sna yes yes container",
				REG_SZ,
				0,
				TRUE,
				FALSE
			},
			{// 77
				"SOFTWARE\\Microsoft\\" WANLINKS_NAME_PREFIX_QUOT "SnaDD_1.0_01\\CurrentVersion\\NetRules",
				"class",
				WANLINKS_NAME_PREFIX_LC_QUOT "snadriver basic yes",
				REG_MULTI_SZ,
				0,
				TRUE,
				FALSE
			},
			{// 78
				"SOFTWARE\\Microsoft\\" WANLINKS_NAME_PREFIX_QUOT "SnaDD_1.0_01\\CurrentVersion\\NetRules",
				"DLLName",
				DLLNAME,
				REG_SZ,
				0,
				TRUE,
				FALSE
			},
			{// 79
				"SOFTWARE\\Microsoft\\" WANLINKS_NAME_PREFIX_QUOT "SnaDD_1.0_01\\CurrentVersion\\NetRules",
				"InfOption",
				"",
				REG_SZ,
				0,
				TRUE,
				FALSE
			},
			{// 80
				"SOFTWARE\\Microsoft\\" WANLINKS_NAME_PREFIX_QUOT "SnaDD_1.0_01\\CurrentVersion\\NetRules",
				"title",
				DIGIDRIVERTITLE,
				REG_SZ,
				0,
				TRUE,
				FALSE
			},
			{// 81
				"SOFTWARE\\Microsoft\\" WANLINKS_NAME_PREFIX_QUOT "SnaDD_1.0_01\\CurrentVersion\\NetRules",
				"type",
				WANLINKS_NAME_PREFIX_LC_QUOT "snadd " WANLINKS_NAME_PREFIX_LC_QUOT "snadriver",
				REG_SZ,
				0,
				TRUE,
				FALSE
			},
			{// 82
				"SOFTWARE\\Microsoft\\" WANLINKS_NAME_PREFIX_QUOT "SnaDD_1.0_01\\CurrentVersion\\NetRules",
				"use",
				"",
				REG_SZ,
				0,
				TRUE,
				FALSE
			},
			{// 83
				"SYSTEM\\CurrentControlSet\\Services\\" WANLINKS_NAME_PREFIX_QUOT "Sna",
				"",
				"",
				REG_SZ,
				0,
				TRUE,
				FALSE
			},
			{// 84
				"SYSTEM\\CurrentControlSet\\Services\\" WANLINKS_NAME_PREFIX_QUOT "Sna",
				"DisplayName",
				WANLINKS_SNA_NAME_QUOT,
				REG_SZ,
				0,
				TRUE,
				FALSE
			},
			{// 85
				"SYSTEM\\CurrentControlSet\\Services\\" WANLINKS_NAME_PREFIX_QUOT "Sna",
				"ErrorControl",
				"1",
				REG_DWORD,
				0,
				TRUE,
				FALSE
			},
			{// 86
				"SYSTEM\\CurrentControlSet\\Services\\" WANLINKS_NAME_PREFIX_QUOT "Sna",
				"ImagePath",
				"\\DosDevices\\SNAPATHNAME\\system\\" WANLINKS_NAME_PREFIX_QUOT "Sna.sys",
				REG_EXPAND_SZ,
				0,
				TRUE,
				FALSE
			},
			{// 87
				"SYSTEM\\CurrentControlSet\\Services\\" WANLINKS_NAME_PREFIX_QUOT "Sna",
				"Start",
				"3",
				REG_DWORD,
				0,
				TRUE,
				FALSE
			},
			{// 88
				"SYSTEM\\CurrentControlSet\\Services\\" WANLINKS_NAME_PREFIX_QUOT "Sna",
				"Type",
				"1",
				REG_DWORD,
				0,
				TRUE,
				FALSE
			},
			{// 89
				"SYSTEM\\CurrentControlSet\\Services\\" WANLINKS_NAME_PREFIX_QUOT "Sna\\Linkage",
				"",
				"",
				REG_MULTI_SZ,
				0,
				TRUE,
				FALSE
			},
			{// 90
				"SYSTEM\\CurrentControlSet\\Services\\" WANLINKS_NAME_PREFIX_QUOT "Sna\\Linkage",
				"Export",
				"",
				REG_MULTI_SZ,
				0,
				FALSE,
				FALSE
			},
			{// 91
				"SYSTEM\\CurrentControlSet\\Services\\" WANLINKS_NAME_PREFIX_QUOT "Sna\\Linkage",
				"OtherDependencies",
				"",
				REG_MULTI_SZ,
				0,
				TRUE,
				FALSE
			},
			{// 92
				"SYSTEM\\CurrentControlSet\\Services\\" WANLINKS_NAME_PREFIX_QUOT "Sna\\Linkage",
				"Route",
				"",
				REG_MULTI_SZ,
				0,
				FALSE,
				FALSE
			},
			{// 93
				"SYSTEM\\CurrentControlSet\\Services\\" WANLINKS_NAME_PREFIX_QUOT "Sna\\Linkage\\Disabled",
				"",
				"",
				REG_MULTI_SZ,
				0,
				TRUE,
				FALSE
			},
			{// 94
				"SYSTEM\\CurrentControlSet\\Services\\" WANLINKS_NAME_PREFIX_QUOT "Sna\\Linkage\\Disabled",
				"Export",
				"",
				REG_MULTI_SZ,
				0,
				FALSE,
				FALSE
			},
			{// 95
				"SYSTEM\\CurrentControlSet\\Services\\" WANLINKS_NAME_PREFIX_QUOT "Sna\\Linkage\\Disabled",
				"Route",
				"",
				REG_MULTI_SZ,
				0,
				FALSE,
				FALSE
			},
			{// 96
				"SYSTEM\\CurrentControlSet\\Services\\" WANLINKS_NAME_PREFIX_QUOT "Sna\\Parameters",
				"",
				"",
				REG_DWORD,
				0,
				TRUE,
				TRUE
			},
			{// 97
				"SYSTEM\\CurrentControlSet\\Services\\" WANLINKS_NAME_PREFIX_QUOT "Sna\\Parameters",
				"Description",
				DIGIDRIVERDESC,
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 98
				"SYSTEM\\CurrentControlSet\\Services\\" WANLINKS_NAME_PREFIX_QUOT "Sna\\Parameters",
				"DLLName",
				DLLNAME,
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 99
				"SYSTEM\\CurrentControlSet\\Services\\" WANLINKS_NAME_PREFIX_QUOT "Sna\\Parameters",
				"InfOption",
				"",
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 100
				"SYSTEM\\CurrentControlSet\\Services\\" WANLINKS_NAME_PREFIX_QUOT "Sna\\Parameters",
				"Title",
				DIGIDRIVERTITLE,
				REG_SZ,
				0,
				TRUE,
				TRUE
			},
			{// 101
				"SYSTEM\\CurrentControlSet\\Services\\" WANLINKS_NAME_PREFIX_QUOT "Sna\\Parameters\\ExtraParameters",
				"Security",
				"",
				REG_BINARY,
				0,
				TRUE,
				TRUE
			},
			{// 102
				"SYSTEM\\CurrentControlSet\\Services\\EventLog\\System\\" WANLINKS_NAME_PREFIX_QUOT "Sna",
				"EventMessageFile",
				"SNAPATHNAME\\System\\" WANLINKS_NAME_PREFIX_LC_QUOT "sna.sys",
				REG_EXPAND_SZ,
				0,
				TRUE,
				FALSE
			},
			{// 103
				"SYSTEM\\CurrentControlSet\\Services\\EventLog\\System\\" WANLINKS_NAME_PREFIX_QUOT "Sna",
				"TypesSupported",
				"7",
				REG_DWORD,
				0,
				TRUE,
				FALSE
			},

			{// Last one must be empty 104
				"",
				"",
				"",
				REG_SZ,
				0,
				TRUE,
				TRUE
			}
		};

TYPEMGSDLCREG BASEMGSDLCREG[106];

#define FIRST_MGSDLC_INDEX		0
#define LAST_MGSDLC_INDEX		66

#define FIRST_MGSYNC_INDEX		68	
#define LAST_MGSYNC_INDEX		103




// some defines for link service
#define LINKSERVICE_START	0
#define LINKSERVICE_STOP	14

#define SNASDLC_START		15
#define SNASDLC_STOP		66

#define SDESCRIPT1		1
#define SSERVICE		3
#define STITLE1			6
#define SBINDFORM		8
#define STITLE2			12
#define STYPE			13
#define SNAME			17
#define SEXPORT			24
#define SDESCRIPT2		33
#define	STITLE3			48
#define	SCARRIER		50
#define SDEVNAME		52
#define SLINETYPE		57
#define SRADIOFLAG		58
#define SDISTRIB		64


// defines for driver
#define DTITLE1			74
#define DTITLE2			80
#define DDESCRIPT1		69
#define DDESCRIPT2		97
#define DTITLE3			100