; Setup script for SK-NET FDDI PCI cards
[Identification]
	OptionType = NetAdapter
[PlatformsSupported]
	PCI
[Options]
	SKFPNT
[PCISlots]
	Slot_1	=  1
	Slot_2	=  2
	Slot_3	=  3
	Slot_4	=  4
	Slot_5	=  5
	Slot_6	=  6
	Slot_7	=  7
	Slot_8	=  8
	Slot_9	=  9
	Slot_10 = 10
	Slot_11 = 11
	Slot_12 = 12
	Slot_13 = 13
	Slot_14 = 14
	Slot_15 = 15
[LERCUTOFF_Choices]
	LERCUT_1	= "1E-4",4
	LERCUT_2	= "1E-5",5
	LERCUT_3	= "1E-6",6
	LERCUT_4	= "1E-7",7
	LERCUT_5	= "1E-8",8
	LERCUT_6	= "1E-9",9
	LERCUT_7	= "1E-10",10
	LERCUT_8	= "1E-11",11
	LERCUT_9	= "1E-12",12
	LERCUT_10	= "1E-13",13
	LERCUT_11	= "1E-14",14
	LERCUT_12	= "1E-15",15
[LERALARM_Choices]
	LERALARM_1	= "1E-4",4
	LERALARM_2	= "1E-5",5
	LERALARM_3	= "1E-6",6
	LERALARM_4	= "1E-7",7
	LERALARM_5	= "1E-8",8
	LERALARM_6	= "1E-9",9
	LERALARM_7	= "1E-10",10
	LERALARM_8	= "1E-11",11
	LERALARM_9	= "1E-12",12
	LERALARM_10	= "1E-13",13
	LERALARM_11	= "1E-14",14
	LERALARM_12	= "1E-15",15
[SBACOMMAND_Choices]
	SBACOMMAND_1	= "STOP"
	SBACOMMAND_2	= "START"
[SYNCHTXMODE_Choices]
	SYNCHTXMODE_1	= "SPLIT"
	SYNCHTXMODE_2	= "ALL"
[FileConstants]
	ParamInf		= "NCPARAM.INF"
	UtilityInf		= "UTILITY.INF"
	subroutineinf		= "SUBROUTN.INF"
	SoftwareType		= "driver"
	Exit_Code		= 0
	NetEventDLL		= "%SystemRoot%\System32\netevent.dll"
	IoLogMsgDLL		= "%SystemRoot%\System32\IoLogMsg.dll"
	FDDICards		= { SKFPNT }
	Manufacturer		= "SysKonnect"
	PCIVendorID		= 4424
	PCIDeviceID		= 16384
	PciFixDefault		= 0

	PacketSizeDefault	= 4491
	PMFPASSWDDefault	= ""
	TMINDefault		= 5
	TMAXDefault		= 165
	TREQDefault		= 165
	TVXDefault		= 2700
	USERDATADefault		= ""
	LERCUTOFFStrings	= ^(LERCUTOFF_Choices, 1)
	LERCUTOFFValues		= ^(LERCUTOFF_Choices, 2)
	LERCUTOFFDefault	= 7
	LERALARMStrings		= ^(LERALARM_Choices, 1)
	LERALARMValues		= ^(LERALARM_Choices, 2)
	LERALARMDefault		= 8

	SBAPAYLOADDefault	= 0
	SBAOVERHEADDefault	= 50
	MAXTNEGDefault		= 25
	MINSEGMENTSIZEDefault	= 1
	SBACATEGORYDefault	= 0
	SYNCHTXMODEList		= ^(SYNCHTXMODE_Choices, 1)
	SYNCHTXMODEDefault	= "SPLIT"

	SBACOMMANDList		= ^(SBACOMMAND_Choices, 1)
	SBACOMMANDDefault	= "STOP"
	SBAAVAILABLEDefault	= 50

	ProductMajorVersion	= "3"
	ProductMinorVersion	= "01"
	ProductSoftwareName	= "SKFPNT"
	ProductSoftwareImagePath= "\SystemRoot\System32\Drivers\SkFpNt.sys"
	NetRuleSoftwareType	= "skfpntSys ndisDriver skfpntDriver"
	NetRuleSoftwareBindForm = """SkFpNtSys"" yes no container"
	NetRuleSoftwareClass	= {"skfpntDriver basic"}
	NetRuleSoftwareBindable = {"skfpntDriver skfpntAdapter non exclusive 100"}
	ProductHardwareName	= "SkFpNt"
	NetRuleHardwareType	= "skfpnt skfpntAdapter"
	NetRuleHardwareClass	= {"skfpntAdapter basic"}
	ProductVersion		= $(ProductMajorVersion)"."$(ProductMinorVersion)
	NetRuleHardwareBindForm = " yes yes container"
	ProductKeyName		= $(!NTN_SoftwareBase)"\"$(Manufacturer)"\"+
				  $(ProductSoftwareName)"\CurrentVersion"
	ParamKeyName		= $(!NTN_ServiceBase)$(ProductHardwareName)"\Parameters"
	NetRuleSoftwareUse	= $(SoftwareType)
[GeneralConstants]
	from			= ""
	to			= ""
	ExitCodeOk		= 0
	ExitCodeCancel		= 1
	ExitCodeFatal		= 2
	KeyNull 		= ""
	MAXIMUM_ALLOWED 	= 33554432
	RegistryErrorIndex	= NO_ERROR
	KeyProduct		= ""
	KeyParameters		= ""
	TRUE			= 1
	FALSE			= 0
	NoTitle 		= 0
	ExitState		= "Active"
	OldVersionExisted	= $(FALSE)
	DriverPath		= $(!STF_NTPATH)\drivers
[date]
	Now = {} ? $(!LIBHANDLE) GetSystemDate
[Identify]
	read-syms Identification
	Set Status	= STATUS_SUCCESSFUL
	Set Identifier	= $(OptionType)
	Set Media	= #("Source Media Descriptions", 1, 1)
	Return $(Status) $(Identifier) $(Media)
[ReturnOptions]
	Set Status		= STATUS_FAILED
	Set OptionList		= {}
	Set OptionTextList	= {}
	Set LanguageList	= ^(LanguagesSupported, 1)
	IfContains(i) $($0) in $(LanguageList)
		IfStr(i) $($1) == ""
			goto returnoptions
		EndIf
		Set PlatformList = ^(PlatformsSupported, 1)
		IfContains(i) $($1) in $(PlatformList)
			goto returnoptions
		Else
			Set Status = STATUS_NOTSUPPORTED
			goto finish_ReturnOptions
		EndIf
	Else
		Set Status = STATUS_NOLANGUAGE
		goto finish_ReturnOptions
	EndIf
returnoptions = +
	Set OptionList		= ^(Options, 1)
	Set OptionTextList	= ^(OptionsText$($0), 1)
	Set Status		= STATUS_SUCCESSFUL
finish_ReturnOptions = +
	Return $(Status) $(OptionList) $(OptionTextList)
[InstallOption]
	Set InfOption		= $($1)
	Set Option		= $($1)
	Set SrcDir		= $($2)
	Set AddCopy		= $($3)
	Set DoCopy		= $($4)
	Set DoConfig		= $($5)
	Set LanguageList	= ^(LanguagesSupported, 1)
	IfContains(i) $($0) NOT-IN $(LanguageList)
		Return STATUS_NOLANGUAGE
	EndIf
	Set-subst LF = "\n"
	read-syms GeneralConstants
	read-syms FileConstants
	read-syms DialogConstants$(!STF_LANGUAGE)
	IfStr(i) $(!NTN_Origination) == "NCPA"
		Set Continue = $(OK)
	EndIf
	read-syms FileConstants$(!STF_LANGUAGE)
	detect date
	Set-title  $(Function$(Option)Title)
	Set to			= Begin
	Set from		= Begin
	Set CommonStatus	= STATUS_SUCCESSFUL
	EndWait
Begin = +
	Set ActivateDetection = FALSE
	Set BusNumList = {}
	Set Combo1List = {}
	IfStr(i) $(!NTN_InstallMode) == deinstall
		Goto checkmode
	EndIf

	Set BusNumber		= 0
	Set BusInterfaceType	= 5
	Set BusTypeStr		= "Pci"
	IfStr(i) *($(!STF_BUSTYPELIST),1) == ""
		Shell $(UtilityInf), GetBusTypeNum
		Set BusTypeNum = $($R1)
	Else
		Set BusTypeNum = 5
	EndIf

	IfInt $(BusTypeNum) == 0
		Set BusInterfaceType = 2
	Else
		Set BusInterfaceType = $(BusTypeNum)
	EndIf

	IfInt $(BusInterfaceType) == 1
		Set BusTypeStr = "Isa"
	Else-IfInt $(BusInterfaceType) == 2
		Set BusTypeStr = "Eisa"
	Else-IfInt $(BusInterfaceType) == 3
		Set BusTypeStr = "Mca"
	Else-IfInt $(BusInterfaceType) == 5
		Set BusTypeStr = "Pci"
	EndIf

	Set BusInterfaceType = 5
	Shell $(UtilityInf), GetPCIInformation, $(PCIVendorID), $(PCIDeviceID)
	IfInt $($ShellCode) != $(!SHELL_CODE_OK)
		Goto ShellCodeError
	EndIf
	IfStr(i) $($R0) == {}
		Set Error = $(CANNOT_FIND_ANY_CARD)
		Set CommonStatus = STATUS_USERCANCEL
		Set from = end
		Goto nonfatal
	EndIf
	ForListDo $($R0)
		Set BusNum	= *($($),1)
		Set SlotNum	= *($($),2)
		Set Combo1List	= >($(Combo1List),$(BusNum)" / "$(SlotNum))
	EndForListDo
	IfStr(i) $(Combo1List) == {}
		Set Error	= "Error: No "+
				  $(ProductHardwareSKFPNTTitle)+
				  " installed."
		Goto fatal
	EndIf

checkmode = +
	IfStr(i) $(!NTN_InstallMode) == deinstall
		Set StartLabel = removeadapter
	Else-IfStr(i) $(!NTN_InstallMode) == Update
		Set StartLabel = UpgradeSoftware
	Else-IfStr(i) $(!NTN_InstallMode) == bind
		Set StartLabel = bindingadapter
	Else-IfStr(i) $(!NTN_InstallMode) == configure
		Set CommonStatus = STATUS_REBOOT
		Set StartLabel = configureadapter
		IfStr(i) $(ProductKeyName) == $(!NTN_RegBase)
			Shell $(UtilityInf), RegistryErrorString, CANNOT_CONFIGURE_SOFTWARE
			IfInt $($ShellCode) != $(!SHELL_CODE_OK)
				goto ShellCodeError
			EndIf
			Set Error	= $($R0)
			Set from	= end
			Set to		= end
			goto nonfatalinfo
		EndIf
	Else
		Set AddCopy                     = "YES"
		Set DoCopy                      = "YES"
		Set !STF_SRCDIR_OVERRIDE        = $(SrcDir)
		IfStr(i) $(DoCopy) == "YES"
			IfStr(i) $(!STF_SRCDIR_OVERRIDE) != ""
				Install Install-Helpfile
			EndIf
		EndIf
		Set StartLabel			= installadapter
		Set OEM_ABANDON_OPTIONS 	= {}
		Set OEM_ABANDON_SOFTWARE	= FALSE
		Set OEM_ABANDON_ON		= TRUE
	EndIf
	Set PacketSize		= $(PacketSizeDefault)
	Set PMFPASSWDValue	= $(PMFPASSWDDefault)
	Set TMINValue		= $(TMINDefault)
	Set TMAXValue		= $(TMAXDefault)
	Set TREQValue		= $(TREQDefault)
	Set TVXValue		= $(TVXDefault)
	Set USERDATAValue	= $(USERDATADefault)
	Set LERCUTOFFAValue	= $(LERCUTOFFDefault)
	Set LERCUTOFFBValue	= $(LERCUTOFFDefault)
	Set LERALARMAValue	= $(LERALARMDefault)
	Set LERALARMBValue	= $(LERALARMDefault)

	Set SBAPAYLOADValue	= $(SBAPAYLOADDefault)
	Set SBAOVERHEADValue	= $(SBAOVERHEADDefault)
	Set MAXTNEGValue	= $(MAXTNEGDefault)
	Set MINSEGMENTSIZEValue	= $(MINSEGMENTSIZEDefault)
	Set SBACATEGORYValue	= $(SBACATEGORYDefault)
	Set SYNCHTXMODEValue	= $(SYNCHTXMODEDefault)

	Set SBACOMMANDValue	= $(SBACOMMANDDefault)
	Set SBAAVAILABLEValue	= $(SBAAVAILABLEDefault)
	Set DetectedCard = FALSE
	IfStr(i) $(ActivateDetection) != TRUE
		Goto skipdetection
	EndIf
	Set TypeList = {{SLOT,PCISlotList,SlotNumber}}
	Shell $(ParamInf), Param_BuildTypeLists, SKFPNT, $(TypeList)
	Set Status = $($R0)
	IfStr(i) $(Status) != STATUS_SUCCESSFUL
		Goto fatal
	EndIf
	Shell $(ParamInf), Param_SetDefaults, {}
	IfStr(i) $(!STF_NCDETECT) == YES
		IfStr(i) $(!STF_NCOPTION) == $(Option)
			Set DetectedCard = TRUE
		EndIf
	EndIf
skipdetection = +
	Set from	= $(fatal)
	Set to		= $(fatal)
	goto $(StartLabel)
installadapter = +
	OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyProduct
	IfStr $(KeyProduct) != $(KeyNull)
		CloseRegKey $(KeyProduct)
		IfStr(i) !(NTN_RegBase) == $(ProductKeyName)
			Shell $(UtilityInf), VerExistedDlg, $(ProductSoftware$(Option)Title),+
			  $(ProductVersion)
			IfInt $($ShellCode) != $(!SHELL_CODE_OK)
				goto ShellCodeError
			EndIf
			goto end
		Else
			Shell $(UtilityInf), CardExistedDlg
			IfInt $($ShellCode) != $(!SHELL_CODE_OK)
				goto ShellCodeError
			EndIf
			IfStr(i) $($R1) != "OK"
				Set CommonStatus = STATUS_USERCANCEL
				goto end
			EndIf
			Set OldVersionExisted = $(TRUE)
		EndIf
	EndIf
	IfStr(i) $(DetectedCard) != TRUE
		Goto adaptersetup
	EndIf
	StartWait
	Shell $(ParamInf), Param_QueryCard, $(!STF_NCDETCARD)
	EndWait
	IfStr(i) $($R0) != STATUS_SUCCESSFUL
		Goto adaptersetup
	EndIf
	Set DetectedParams = $($R1)
	Shell $(ParamInf), Param_SetDefaults, $(DetectedParams)
	goto adapteroptions
configureadapter = +
	IfStr $(KeyProduct) == $(KeyNull)
		OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_RegBase) $(MAXIMUM_ALLOWED) KeyProduct
		IfStr $(KeyProduct) == $(KeyNull)
			Set RegistryErrorIndex = CANNOT_FIND_COMPONENT_SERVICE
			goto fatalregistry
		EndIf
	EndIf
	Shell $(UtilityInf), FindService, $(KeyProduct)
	IfInt $($ShellCode) != $(!SHELL_CODE_OK)
		Goto ShellCodeError
	EndIf
	IfStr(i) $($R0) != NO_ERROR
		Goto fatalregistry
	EndIf
	Set KeyParameters = $($R2)
	CloseRegKey $($R1)
	IfStr $(KeyParameters) == $(KeyNull)
		Set RegistryErrorIndex = CANNOT_FIND_COMPONENT_SERVICE
		goto fatalregistry
	EndIf
	Set OldVersionExisted	= $(TRUE)
	Set ValueName		= ""
	Set ValueData		= ""
	Set ValueStr		= ""
	Set ValueList		= {}
	EnumRegValue $(KeyParameters) ValueList
	ForListDo $(ValueList)
		Set ValueItem	= $($)
		Set ValueName	= *($(ValueItem),1)
		Set ValueData	= *($(ValueItem),4)
		IfStr(i) $(ValueName) == "DmaChannel"
			Set DmaChannel		= $(ValueData)
		Else-IfStr(i) $(ValueName) == "InterruptNumber"
			Set IrqLevel		= $(ValueData)
		Else-IfStr(i) $(ValueName) == "IoBaseAddress"
			Set IoBaseValue 	= $(ValueData)
		Else-IfStr(i) $(ValueName) == "MemoryMappedBaseAddress"
			Set MemAddrDec		= $(ValueData)
		Else-IfStr(i) $(ValueName) == "SlotNumber"
			Set SlotNumber		= $(ValueData)
		Else-IfStr(i) $(ValueName) == "NetworkAddress"
			Set NetworkAddress	= $(ValueData)
		Else-IfStr(i) $(ValueName) == "PCIFix"
			Set PciFix		= $(ValueData)
		Else-IfStr(i) $(ValueName) == "MaximumPacketSize"
			Set PacketSize		= $(ValueData)
		Else-IfStr(i) $(ValueName) == "LERCUTOFFA"
			Set LERCUTOFFAValue	= $(ValueData)
		Else-IfStr(i) $(ValueName) == "LERCUTOFFB"
			Set LERCUTOFFBValue	= $(ValueData)
		Else-IfStr(i) $(ValueName) == "LERALARMA"
			Set LERALARMAValue	= $(ValueData)
		Else-IfStr(i) $(ValueName) == "LERALARMB"
			Set LERALARMBValue	= $(ValueData)
		Else-IfStr(i) $(ValueName) == "PMFPASSWD"
			Set PMFPASSWDValue	= $(ValueData)
		Else-IfStr(i) $(ValueName) == "TMIN"
			Set TMINValue		= $(ValueData)
		Else-IfStr(i) $(ValueName) == "TMAX"
			Set TMAXValue		= $(ValueData)
		Else-IfStr(i) $(ValueName) == "TREQ"
			Set TREQValue		= $(ValueData)
		Else-IfStr(i) $(ValueName) == "TVX"
			Set TVXValue		= $(ValueData)
		Else-IfStr(i) $(ValueName) == "USERDATA"
			Set USERDATAValue	= $(ValueData)
		Else-IfStr(i) $(ValueName) == "SBAPAYLOAD"
			Set SBAPAYLOADValue	= $(ValueData)
		Else-IfStr(i) $(ValueName) == "SBAOVERHEAD"
			Set SBAOVERHEADValue	= $(ValueData)
		Else-IfStr(i) $(ValueName) == "MAXTNEG"
			Set MAXTNEGValue	= $(ValueData)
		Else-IfStr(i) $(ValueName) == "MINSEGMENTSIZE"
			Set MINSEGMENTSIZEValue	= $(ValueData)
		Else-IfStr(i) $(ValueName) == "SBACATEGORY"
			Set SBACATEGORYValue	= $(ValueData)
		Else-IfStr(i) $(ValueName) == "SYNCHTXMODE"
			Set SYNCHTXMODEValue	= $(ValueData)
		Else-IfStr(i) $(ValueName) == "SBACOMMAND"
			Set SBACOMMANDValue	= $(ValueData)
		Else-IfStr(i) $(ValueName) == "SBAAVAILABLE"
			Set SBAAVAILABLEValue	= $(ValueData)
		EndIf
		IfStr(i) $(BusTypeStr) == "Pci"
			IfStr(i) $(ValueName) == "BusNumber"
				Set BusNumber		= $(ValueData)
			EndIf
		EndIf
	EndForListDo
adaptersetup = +
	IfStr(i) $(DetectedCard) == TRUE
		IfStr(i) $(!STF_INSTALL_MODE) != CUSTOM
			Goto adapterverify
		EndIf
	EndIf
	goto adapteroptions
adapteroptions = +
	Set from = adapteroptions
	Set SlotNumber = $(BusNumber)" / "$(SlotNumber)
	Goto adapteroptions2
adapteroptions2 = +
	Set-DecToHex PciFixHex = $(PciFix)
	Set ConfigureSmt = "OFF"
	Set ConfigureSync = "OFF"
	read-syms FileDependentDlg$(BusTypeStr)$(!STF_LANGUAGE)
	LoadLibrary "disk3" $(HelpFile).dll hLib
	SetHelpFile $(HelpFile).hlp $(MinID) $(MaxID)
	ui start "InputDlg" $(hLib)
	FreeLibrary $(hLib)
	IfStr(i) $(DLGEVENT) == "CONTINUE"
		Set NetworkAddress = *($(EditTextOut),1)
		Split-String $(Combo1Out) "/" Combo1Elements
		Set BusNumber   = *($(Combo1Elements),1)
		Set SlotNumber  = *($(Combo1Elements),3)
		Set PciFixHex	= *($(EditTextOut),3)
		Set-HexToDec PciFix = $(PciFixHex)
		Set PacketSize = *($(EditTextOut),2)
		Set ConfigureSmt =  *($(CheckItemsOut), 1)
		Set ConfigureSync =  *($(CheckItemsOut), 2)
		ui pop 1
	Else-IfStr(i) $(DLGEVENT) == "BACK"
		Set CommonStatus = STATUS_USERCANCEL
		ui pop 1
		goto end
	Else
		ui pop 1
		goto end
	EndIf
smtdialog = +
	Set from = smtdialog
	Set LERCUTOFFAValueS	= *($(LERCUTOFFStrings), ~($(LERCUTOFFValues),+
				    $(LERCUTOFFAValue)))
	Set LERCUTOFFBValueS	= *($(LERCUTOFFStrings), ~($(LERCUTOFFValues),+
				    $(LERCUTOFFBValue)))
	Set LERALARMAValueS	= *($(LERALARMStrings), ~($(LERALARMValues),+
				    $(LERALARMAValue)))
	Set LERALARMBValueS	= *($(LERALARMStrings), ~($(LERALARMValues),+
				    $(LERALARMBValue)))
	IfStr(i) $(ConfigureSmt) != "On"
		Goto syncdialog
	EndIf
	read-syms FileDependentDlgSmt$(!STF_LANGUAGE)
	LoadLibrary "disk3" $(HelpFile).dll hLib
	SetHelpFile $(HelpFile).hlp $(MinID) $(MaxID)
	ui start "InputDlg" $(hLib)
	FreeLibrary $(hLib)
	Set ReInit = ""
	IfStr(i) $(DLGEVENT) == "CONTINUE"
		Set LERCUTOFFAValueS	= $(Combo1Out)
		Set LERCUTOFFAValue	= *($(LERCUTOFFValues),+
					  ~($(LERCUTOFFStrings), $(Combo1Out)))
		Set LERCUTOFFBValueS	= $(Combo2Out)
		Set LERCUTOFFBValue	= *($(LERCUTOFFValues),+
					  ~($(LERCUTOFFStrings), $(Combo2Out)))
		Set LERALARMAValueS	= $(Combo3Out)
		Set LERALARMAValue	= *($(LERALARMValues),+
					  ~($(LERALARMStrings), $(Combo3Out)))
		Set LERALARMBValueS	= $(Combo4Out)
		Set LERALARMBValue	= *($(LERALARMValues),+
					  ~($(LERALARMStrings), $(Combo4Out)))
		Set TMINValue		= *($(EditTextOut), 1)
		Set TMAXValue		= *($(EditTextOut), 2)
		Set TREQValue		= *($(EditTextOut), 3)
		Set TVXValue		= *($(EditTextOut), 4)
		Set PMFPASSWDValue	= *($(EditTextOut), 5)
		Set USERDATAValue	= *($(EditTextOut), 6)
		ui pop 1
	Else-IfStr(i) $(DLGEVENT) == "EXIT"
		Set PMFPASSWDValue	= $(PMFPASSWDDefault)
		Set TMINValue		= $(TMINDefault)
		Set TMAXValue		= $(TMAXDefault)
		Set TREQValue		= $(TREQDefault)
		Set TVXValue		= $(TVXDefault)
		Set USERDATAValue	= $(USERDATADefault)
		Set LERCUTOFFAValue	= $(LERCUTOFFDefault)
		Set LERCUTOFFBValue	= $(LERCUTOFFDefault)
		Set LERALARMAValue	= $(LERALARMDefault)
		Set LERALARMBValue	= $(LERALARMDefault)
		Set ReInit = YES
		goto smtdialog
	Else-IfStr(i) $(DLGEVENT) == "BACK"
		Set CommonStatus = STATUS_USERCANCEL
		ui pop 1
		goto end
	Else
		ui pop 1
		goto end
	EndIf
syncdialog = +
	Set from = syncdialog
	IfStr(i) $(ConfigureSync) != "On"
		Goto adapterverify
	EndIf
	read-syms FileDependentDlgSync$(!STF_LANGUAGE)
	LoadLibrary "disk3" $(HelpFile).dll hLib
	SetHelpFile $(HelpFile).hlp $(MinID) $(MaxID)
	ui start "InputDlg" $(hLib)
	FreeLibrary $(hLib)
	Set ReInit = ""
	IfStr(i) $(DLGEVENT) == "CONTINUE"
		Set SBACOMMANDValue	= $(Combo1Out)
		Set SYNCHTXMODEValue	= $(Combo2Out)
		Set SBAAVAILABLEValue	= *($(EditTextOut), 1)
		Set SBAPAYLOADValue	= *($(EditTextOut), 2)
		Set SBAOVERHEADValue	= *($(EditTextOut), 3)
		Set MAXTNEGValue	= *($(EditTextOut), 4)
		Set MINSEGMENTSIZEValue	= *($(EditTextOut), 5)
		Set SBACATEGORYValue	= *($(EditTextOut), 6)
		ui pop 1
	Else-IfStr(i) $(DLGEVENT) == "EXIT"
		Set SBAPAYLOADValue	= $(SBAPAYLOADDefault)
		Set SBAOVERHEADValue	= $(SBAOVERHEADDefault)
		Set MAXTNEGValue	= $(MAXTNEGDefault)
		Set MINSEGMENTSIZEValue	= $(MINSEGMENTSIZEDefault)
		Set SBACATEGORYValue	= $(SBACATEGORYDefault)
		Set SYNCHTXMODEValue	= $(SYNCHTXMODEDefault)

		Set SBACOMMANDValue	= $(SBACOMMANDDefault)
		Set SBAAVAILABLEValue	= $(SBAAVAILABLEDefault)
		Set ReInit = YES
		goto syncdialog
	Else-IfStr(i) $(DLGEVENT) == "BACK"
		Set CommonStatus = STATUS_USERCANCEL
		ui pop 1
		goto end
	Else
		ui pop 1
		goto end
	EndIf
adapterverify = +
	IfStr(i) $(DetectedCard) != TRUE
		Goto skipoptions
	EndIf
	Shell $(ParamInf), Param_VerifyCard, $(!STF_NCDETCARD)
	IfStr(i) $($R0) == STATUS_SUCCESSFUL
		Goto skipoptions
	EndIf
	Set from	= adapteroptions
	Set to		= skipoptions
	Shell $(UtilityInf), RegistryErrorString, VERIFY_WARNING
	IfInt $($ShellCode) != $(!SHELL_CODE_OK)
		goto ShellCodeError
	EndIf
	Set Error = $($R0)
	Goto Warning
skipoptions = +
	IfInt $(OldVersionExisted) == $(TRUE)
		IfStr(i) $(!NTN_InstallMode) == configure
			goto writeparameters
		EndIf
	EndIf
	StartWait
	IfInt $(OldVersionExisted) == $(FALSE)
		IfStr(i) $(!NTN_InstallMode) == "install"
			IfStr(i) $(DoCopy) == "YES"
				Shell $(UtilityInf), DoAskSource, $(!STF_CWDDIR), $(SrcDir), YES
				IfInt $($ShellCode) != $(!SHELL_CODE_OK)
					Goto ShellCodeError
				Else-IfStr(i) $($R0) == STATUS_FAILED
					Shell $(UtilityInf),+
					  RegistryErrorString, "ASK_SOURCE_FAIL"
					IfInt $($ShellCode) != $(!SHELL_CODE_OK)
						goto ShellCodeError
					EndIf
					Set Error = $($R0)
					Goto fatal
				Else-IfStr(i) $($R0) == STATUS_USERCANCEL
					Goto successful
				EndIf
				Set SrcDir = $($R1)
			EndIf
			install "Install-Option"
			IfStr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
				Shell $(UtilityInf), RegistryErrorString, "UNABLE_COPY_FILE"
				IfInt $($ShellCode) != $(!SHELL_CODE_OK)
					goto ShellCodeError
				EndIf
				Set Error = $($R0)
				goto fatal
			EndIf
		EndIf
		Shell $(UtilityInf), AddSoftwareComponent, $(Manufacturer),+
		  $(ProductSoftwareName), $(ProductSoftwareName),+
		  $(ProductSoftware$(Option)Title), $(STF_CONTEXTINFNAME),+
		  $(ProductSoftwareImagePath), "kernel", "NDIS", {}, "",+
		  $(NetEventDLL)
		Set OEM_ABANDON_SOFTWARE = TRUE
		IfInt $($ShellCode) != $(!SHELL_CODE_OK)
			goto ShellCodeError
		EndIf
		Set RegistryErrorIndex = $($R0)
		IfStr(i) $(RegistryErrorIndex) != NO_ERROR
			EndWait
			CloseRegKey $($R1)
			CloseRegKey $($R2)
			CloseRegKey $($R3)
			CloseRegKey $($R4)
			CloseRegKey $($R5)
			goto fatalregistry
		EndIf
		Set SoftProductKey	= $($R1)
		Set SoftNetRuleKey	= $($R2)
		Set SoftServiceKey	= $($R3)
		Set SoftParameterKey	= $($R4)
		Set SoftLinkageKey	= $($R5)
		Set NewValueList	= {+
		  {SoftwareType,$(NoTitle),$(!REG_VT_SZ),$(SoftwareType)},+
		  {MajorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMajorVersion)},+
		  {MinorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMinorVersion)},+
		  {Title,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftware$(Option)Title)},+
		  {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftware$(Option)Description)},+
		  {ServiceName,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareName)},+
		  {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}+
		}
		Shell $(UtilityInf), AddValueList, $(SoftProductKey), $(NewValueList)
		IfInt $($ShellCode) != $(!SHELL_CODE_OK)
			goto ShellCodeError
		EndIf
		Set RegistryErrorIndex = $($R0)
		IfStr(i) $(RegistryErrorIndex) != NO_ERROR
			EndWait
			CloseRegKey $(SoftProductKey)
			CloseRegKey $(SoftNetRuleKey)
			CloseRegKey $(SoftServiceKey)
			CloseRegKey $(SoftParameterKey)
			CloseRegKey $(SoftLinkageKey)
			goto fatalregistry
		EndIf
		Set NewValueList	= {+
		  {type,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareType)},+
		  {use,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareUse)},+
		  {bindform,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareBindForm)},+
		  {class,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleSoftwareClass)},+
		  {bindable,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleSoftwareBindable)},+
		  {InfOption,$(NoTitle),$(!REG_VT_SZ),$(InfOption)}+
		}
		Shell $(UtilityInf), AddValueList, $(SoftNetRuleKey), $(NewValueList)
		IfInt $($ShellCode) != $(!SHELL_CODE_OK)
			goto ShellCodeError
		EndIf
		Set RegistryErrorIndex = $($R0)
		CloseRegKey $(SoftProductKey)
		CloseRegKey $(SoftNetRuleKey)
		CloseRegKey $(SoftServiceKey)
		CloseRegKey $(SoftParameterKey)
		CloseRegKey $(SoftLinkageKey)
		IfStr(i) $(RegistryErrorIndex) != NO_ERROR
			EndWait
			goto fatalregistry
		EndIf
	EndIf
	Shell $(UtilityInf), AddHardwareComponent, $(ProductHardwareName),+
	  $(STF_CONTEXTINFNAME), $(ProductKeyName)
	IfInt $($R4) != -1
		Set OEM_ABANDON_OPTIONS = >($(OEM_ABANDON_OPTIONS),+
		  $(!NTN_SoftwareBase)"\Microsoft\Windows NT\CurrentVersion\NetworkCards\"$($R4))
	EndIf
	IfInt $($ShellCode) != $(!SHELL_CODE_OK)
		goto ShellCodeError
	EndIf
	Set RegistryErrorIndex = $($R0)
	IfStr(i) $(RegistryErrorIndex) != NO_ERROR
		EndWait
		CloseRegKey $($R1)
		CloseRegKey $($R2)
		CloseRegKey $($R3)
		goto fatalregistry
	EndIf
	Set KeyParameters	= $($R3)
	Set KeyAdapterRules	= $($R2)
	Set AdapterNumber	= $($R4)
	Set NewValueList	= {+
	  {Manufacturer,$(NoTitle),$(!REG_VT_SZ),$(Manufacturer)},+
	  {Title,$(NoTitle),$(!REG_VT_SZ),"["$($R4)"] "$(ProductHardware$(Option)Title)},+
	  {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductHardware$(Option)Description)},+
	  {ProductName,$(NoTitle),$(!REG_VT_SZ),$(ProductHardwareName)},+
	  {ServiceName,$(NoTitle),$(!REG_VT_SZ),$($R5)},+
	  {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}+
	}
	Shell $(UtilityInf), AddValueList, $($R1), $(NewValueList)
	IfInt $($ShellCode) != $(!SHELL_CODE_OK)
		goto ShellCodeError
	EndIf
	CloseRegKey $($R1)
	Set TempProdName	= """"$(ProductHardwareName)$(AdapterNumber)""""
	Set TempBindForm	= $(TempProdName)$(NetRuleHardwareBindForm)
	Set NewValueList	= {+
	  {type,$(NoTitle),$(!REG_VT_SZ),$(NetRuleHardwareType)},+
	  {bindform,$(NoTitle),$(!REG_VT_SZ),$(TempBindForm)},+
	  {class,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleHardwareClass)},+
	  {InfOption,$(NoTitle),$(!REG_VT_SZ),$(InfOption)}+
	}
	Shell $(UtilityInf), AddValueList, $(KeyAdapterRules), $(NewValueList)
	IfInt $($ShellCode) != $(!SHELL_CODE_OK)
		goto ShellCodeError
	EndIf
	Set RegistryErrorIndex = $($R0)
	IfStr(i) $(RegistryErrorIndex) != NO_ERROR
		EndWait
		CloseRegKey $(KeyParameters)
		CloseRegKey $(KeyAdapterRules)
		goto fatalregistry
	EndIf
	CloseRegKey $(KeyAdapterRules)
	goto writeparameters
writeparameters = +
	IfContains $(Option) in $(FDDICards)
		Set CardMediaType = 3
		Set NewValueList = {+
		  {BusNumber,$(NoTitle),$(!REG_VT_DWORD),$(BusNumber)},+
		  {MediaType,$(NoTitle),$(!REG_VT_DWORD),$(CardMediaType)},+
		  {BusType,$(NoTitle),$(!REG_VT_DWORD),$(BusTypeNum)},+
		  {SlotNumber,$(NoTitle),$(!REG_VT_DWORD),$(SlotNumber)},+
		  {PCIFix,$(NoTitle),$(!REG_VT_DWORD),$(PciFix)},+
		}
		Set FddiParmsList = {+
		  {NetworkAddress,$(NoTitle),$(!REG_VT_SZ),$(NetworkAddress)},+
		  {LERCUTOFFA,$(NoTitle),$(!REG_VT_DWORD),$(LERCUTOFFAValue)},+
		  {LERCUTOFFB,$(NoTitle),$(!REG_VT_DWORD),$(LERCUTOFFBValue)},+
		  {LERALARMA,$(NoTitle),$(!REG_VT_DWORD),$(LERALARMAValue)},+
		  {LERALARMB,$(NoTitle),$(!REG_VT_DWORD),$(LERALARMBValue)},+
		  {PMFPASSWD,$(NoTitle),$(!REG_VT_SZ),$(PMFPASSWDValue)},+
		  {TMIN,$(NoTitle),$(!REG_VT_DWORD),$(TMINValue)},+
		  {TMAX,$(NoTitle),$(!REG_VT_DWORD),$(TMAXValue)},+
		  {TREQ,$(NoTitle),$(!REG_VT_DWORD),$(TREQValue)},+
		  {TVX,$(NoTitle),$(!REG_VT_DWORD),$(TVXValue)},+
		  {USERDATA,$(NoTitle),$(!REG_VT_SZ),$(USERDATAValue)},+
		  {SBAPAYLOAD,$(NoTitle),$(!REG_VT_DWORD),$(SBAPAYLOADValue)},+
		  {SBAOVERHEAD,$(NoTitle),$(!REG_VT_DWORD),$(SBAOVERHEADValue)},+
		  {MAXTNEG,$(NoTitle),$(!REG_VT_DWORD),$(MAXTNEGValue)},+
		  {MINSEGMENTSIZE,$(NoTitle),$(!REG_VT_DWORD),$(MINSEGMENTSIZEValue)},+
		  {SBACATEGORY,$(NoTitle),$(!REG_VT_DWORD),$(SBACATEGORYValue)},+
		  {SYNCHTXMODE,$(NoTitle),$(!REG_VT_SZ),$(SYNCHTXMODEValue)},+
		  {SBACOMMAND,$(NoTitle),$(!REG_VT_SZ),$(SBACOMMANDValue)},+
		  {SBAAVAILABLE,$(NoTitle),$(!REG_VT_DWORD),$(SBAAVAILABLEValue)},+
		  {LimitPromiscuous,$(NoTitle),$(!REG_VT_DWORD),0},+
		  {SourceRouting,$(NoTitle),$(!REG_VT_DWORD),0},+
		  {MaximumPacketSize,$(NoTitle),$(!REG_VT_DWORD),$(PacketSize)},+
		}
		ForListDo $(FddiParmsList)
			Set NewValueList = >($(NewValueList),$($))
		EndForListDo
		Shell $(UtilityInf), AddValueList, $(KeyParameters), $(NewValueList)
		IfInt $($ShellCode) != $(!SHELL_CODE_OK)
			goto ShellCodeError
		EndIf
		Set RegistryErrorIndex = $($R0)
		IfStr(i) $(RegistryErrorIndex) != NO_ERROR
			CloseRegKey $(KeyParameters)
			goto fatalregistry
		EndIf
	EndIf
	CloseRegKey $(KeyParameters)
	EndWait
	goto successful
bindingadapter = +
	Set Error = "Binding: Sorry, not yet implemented."
	goto fatal
removeadapter = +
	IfStr(i) $(ProductKeyName) == $(!NTN_RegBase)
		Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer),+
		  $(ProductSoftwareName)
		IfInt $($ShellCode) != $(!SHELL_CODE_OK)
			goto ShellCodeError
		EndIf
		Set RegistryErrorIndex = $($R0)
		IfStr(i) $(RegistryErrorIndex) != NO_ERROR
			goto fatalregistry
		EndIf
	Else
		Shell $(UtilityInf), RemoveHardwareComponent, $(Manufacturer),+
		  $(ProductHardwareName), $(!NTN_RegBase)
		IfInt $($ShellCode) != $(!SHELL_CODE_OK)
			goto ShellCodeError
		EndIf
		Set RegistryErrorIndex = $($R0)
		IfStr(i) $(RegistryErrorIndex) != NO_ERROR
			goto fatalregistry
		EndIf
	EndIf
	goto end
UpgradeSoftware = +
	OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_RegBase)\NetRules +
		$(MAXIMUM_ALLOWED) KeyProduct
	IfStr $(KeyProduct) != $(KeyNull)
		GetRegValue $(KeyProduct), "InfName", InfName
		QueryListSize ListSize $(InfName)
		Set !UG_Filename = *($(InfName), $(ListSize))
		CloseRegKey $(KeyProduct)
	Else
		goto fatalregistry
	EndIf

	OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) +
		$(MAXIMUM_ALLOWED) KeyProduct
	IfStr $(KeyProduct) != $(KeyNull)
		Install "Install-Update"
		IfStr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
			goto fatal
		EndIf
		SetRegValue $(KeyProduct) {MajorVersion, $(NoTitle),+
			$(!REG_VT_SZ), $(ProductMajorVersion)}
		SetRegValue $(KeyProduct) {MinorVersion, $(NoTitle),+
			$(!REG_VT_SZ), $(ProductMinorVersion)}
		CloseRegKey $(KeyProduct)
	Else
		goto fatalregistry
	EndIf
	goto end
successful = +
	goto end
abandon = +
	ForListDo $(OEM_ABANDON_OPTIONS)
		Shell $(UtilityInf), RemoveHardwareComponent, $(Manufacturer),+
		  $(ProductSoftwareName), $($)
		IfInt $($ShellCode) != $(!SHELL_CODE_OK)
			goto ShellCodeError
		EndIf
		Set RegistryErrorIndex = $($R0)
		IfStr(i) $(RegistryErrorIndex) != NO_ERROR
			goto fatalregistry
		EndIf
	EndForListDo
	IfStr(i) $(OEM_ABANDON_SOFTWARE) == TRUE
		Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer),+
		  $(ProductSoftwareName), FALSE
		IfInt $($ShellCode) != $(!SHELL_CODE_OK)
			goto ShellCodeError
		EndIf
		Set RegistryErrorIndex = $($R0)
		IfStr(i) $(RegistryErrorIndex) != NO_ERROR
			goto fatalregistry
		EndIf
	EndIf
	goto end
warning = +
	Shell $(subroutineinf), SetupMessage, $(!STF_LANGUAGE), "WARNING", $(Error)
	IfInt $($ShellCode) != $(!SHELL_CODE_OK)
		goto ShellCodeError
	EndIf
	IfStr(i) $($R1) == "OK"
		goto $(to)
	Else-IfStr(i) $($R1) == "CANCEL"
		goto $(from)
	Else
		goto "end"
	EndIf
nonfatalinfo = +
	Set CommonStatus	= STATUS_USERCANCEL
	Set Severity		= STATUS
	goto nonfatalmsg
nonfatal = +
	Set Severity		= NONFATAL
	goto nonfatalmsg
nonfatalmsg = +
	IfStr(i) $(Error) == ""
		Set Severity = NONFATAL
		Shell $(UtilityInf), RegistryErrorString, "SETUP_FAIL"
		IfInt $($ShellCode) != $(!SHELL_CODE_OK)
			goto ShellCodeError
		EndIf
		Set Error = $($R0)
	EndIf
	Shell $(subroutineinf), SetupMessage, $(!STF_LANGUAGE), $(Severity), $(Error)
	IfInt $($ShellCode) != $(!SHELL_CODE_OK)
		goto ShellCodeError
	EndIf
	IfStr(i) $($R1) == "OK"
		goto $(from)
	Else
		goto "end"
	EndIf
fatalregistry = +
	Shell $(UtilityInf), RegistryErrorString, $(RegistryErrorIndex)
	IfInt $($ShellCode) != $(!SHELL_CODE_OK)
		goto ShellCodeError
	EndIf
	Set Error = $($R0)
	goto fatal
fataldetect = +
	Shell $(UtilityInf), RegistryErrorString, CANNOT_DETECT
	IfInt $($ShellCode) != $(!SHELL_CODE_OK)
		goto ShellCodeError
	EndIf
	Set Error = $($R0)
	Goto fatal
fatal = +
	IfStr(i) $(Error) == ""
		Shell $(UtilityInf), RegistryErrorString, "SETUP_FAIL"
		IfInt $($ShellCode) != $(!SHELL_CODE_OK)
			goto ShellCodeError
		EndIf
		Set Error = $($R0)
	EndIf
	Shell $(subroutineinf), SetupMessage, $(!STF_LANGUAGE), "FATAL", $(Error)
	IfInt $($ShellCode) != $(!SHELL_CODE_OK)
		goto ShellCodeError
	EndIf
	goto setfailed
ShellCodeError = +
	Set DlgType		= "MessageBox"
	Set STF_MB_TITLE	= $(ShellCodeErrorTitle)
	Set STF_MB_TEXT 	= $(ShellCodeErrorText)
	Set STF_MB_TYPE 	= 1
	Set STF_MB_ICON 	= 3
	Set STF_MB_DEF		= 1
	ui start "Error Message"
	goto setfailed
setfailed = +
	Set CommonStatus = STATUS_FAILED
	IfStr(i) $(OEM_ABANDON_ON) == TRUE
		Set OEM_ABANDON_ON = FALSE
		goto abandon
	EndIf
	goto end
end = +
	goto term
term = +
	Return $(CommonStatus)
[Install-HelpFile]
	Set STF_VITAL		= ""
	Set STF_OVERWRITE	= "VERIFYSOURCEOLDER"
	AddSectionFilesToCopyList Files-Hlp $(SrcDir) $(!STF_WINDOWSSYSPATH)
	AddSectionFilesToCopyList Files-Dll $(SrcDir) $(!STF_WINDOWSSYSPATH)
	Set !STF_NCPA_FLUSH_COPYLIST = TRUE
	CopyFilesInCopyList
	exit
[Install-Option]
	Set STF_VITAL = ""
	IfStr(i) $(AddCopy) == "YES"
		AddSectionFilesToCopyList Files-$(Option) $(SrcDir) +
		  $(!STF_WINDOWSSYSPATH)\drivers
	EndIf
	IfStr(i) $(DoCopy) == "YES"
		Set !STF_NCPA_FLUSH_COPYLIST = TRUE
		CopyFilesInCopyList
	EndIf
	Exit
[Install-Update]
	Set STF_VITAL	= ""
	Set STF_OVERWRITE	= "VERIFYSOURCEOLDER"
	AddSectionFilesToCopyList Files-$(Option) $(SrcDir) +
	  $(!STF_WINDOWSSYSPATH)\drivers
	AddSectionFilesToCopyList Files-Inf $(SrcDir) $(!STF_WINDOWSSYSPATH)
	AddSectionFilesToCopyList Files-Hlp $(SrcDir) $(!STF_WINDOWSSYSPATH)
	AddSectionFilesToCopyList Files-Dll $(SrcDir) $(!STF_WINDOWSSYSPATH)
	Set !STF_NCPA_FLUSH_COPYLIST = TRUE
	CopyFilesInCopyList
	Exit
[Source Media Descriptions]
;	1  = "Windows NT Setup Disk #1"
;	2  = "Windows NT Setup CD-ROM Disk"
;	3  = "SK Driver Disk"
        1  = "Windows NT DRVLIB"

[ProductType]
	STF_PRODUCT  = Winnt
	STF_PLATFORM = I386

[Files-Inf]
	1,	OemSetup.inf,	SIZE=4000,	RENAME=$(!UG_Filename)

[Files-Hlp]
	1,	OemNadSk.hlp,	SIZE=13000

[Files-Dll]
	1, 	OemNadSk.dll,	SIZE=11000

[Files-SKFPNT]
	1,  SkFpNt.sys, 	SIZE=94000

[LanguagesSupported]
	ENG

[OptionsTextENG]
	SKFPNT	= "SK-NET FDDI PCI Adapter"

[FileConstantsENG]
	ProCaption	= "Windows NT Setup"
	ProCancel	= "Cancel"
	ProCancelMsg	= "Windows NT Networking is not correctly installed.  "+
			  "Are you sure you want to cancel copying files?"
	ProCancelCap	= "Network Setup Message"
	ProText1	= "Copying:"
	ProText2	= "To:"
	FunctionSKFPNTTitle 	 = "SK-NET FDDI PCI Adapter Card Setup"
	ProductSoftwareSKFPNTDescription = "SK-NET FDDI PCI Adapter Driver"
	ProductHardwareSKFPNTDescription = "SK-NET FDDI PCI Adapter"
	ProductSoftwareSKFPNTTitle	 = "SK-NET FDDI PCI Adapter Driver"
	ProductHardwareSKFPNTTitle	 = "SK-NET FDDI PCI Adapter"
	ShellCodeErrorTitle		 = "Error: "$(Function$(Option)Title)
	ShellCodeErrorText		 = "Shell Code Error."
[DialogConstantsENG]
	Help		= "&Help"
	Exit		= "Cancel"
	OK		= "OK"
	Defaults	= "&Defaults"
	HelpContext	= ""
	Continue	= "Continue"
	Cancel		= "Cancel"
[FileDependentDlgPciENG]
	HelpFile		= OemNadSk
	IDH_DB_OEMSK_FPNT_INS	= 9031
	HelpContext		= $(IDH_DB_OEMSK_FPNT_INS)
	MinID			= 9000
	MaxID			= 9999
	Caption 		= $(Function$(Option)Title)
	DlgType 		= "RadioCombination"
	DlgTemplate		= "FDDI_SLOT3"
	Combo1Label		= "Bus / &Slot:"
	Edit1Label		= "Network &Address:"
	Edit2Label		= "Packet Si&ze:"
	Edit3Label		= "PCI &Fix Value:"
	Combo1Out		= $(SlotNumber)
	CheckBox1		= "Configure SM&T"
	CheckBox2		= "Configure S&ync"
	ComboListItemsIn	= {Combo1List}
	ComboListItemsOut	= {Combo1Out}
	NotifyFields		= {NO}
	EditTextIn		= {$(NetworkAddress), $(PacketSize),+
				   $(PciFixHex)}
	EditTextLim		= {17, 12, 12}
	EditTextOut		= {}
	CBOptionsGreyed		= {}
	CheckItemsIn		= {"OFF", "OFF"}
[FileDependentDlgSmtENG]
	HelpFile		= OemNadSk
	IDH_DB_OEMSK_SMT_INS	= 9090
	HelpContext		= $(IDH_DB_OEMSK_SMT_INS)
	MinID			= 9000
	MaxID			= 9999
	Caption 		= $(Function$(Option)Title)
	DlgType 		= "RadioCombination"
	DlgTemplate		= "FDDI_SMT"
	Combo1Label		= "&LERCUTOFFA"
	Combo2Label		= "L&ERCUTOFFB"
	Combo3Label		= "LERALARM&A"
	Combo4Label		= "LERALARM&B"
	Edit1Label		= "TM&IN"
	Edit2Label		= "T&MAX"
	Edit3Label		= "T&REQ"
	Edit4Label		= "T&VX"
	Edit5Label		= "PMF&PASSWD"
	Edit6Label		= "&USERDATA"
	Combo1List		= $(LERCUTOFFStrings)
	Combo1Out		= $(LERCUTOFFAValueS)
	Combo2List		= $(LERCUTOFFStrings)
	Combo2Out		= $(LERCUTOFFBValueS)
	Combo3List		= $(LERALARMStrings)
	Combo3Out		= $(LERALARMAValueS)
	Combo4List		= $(LERALARMStrings)
	Combo4Out		= $(LERALARMBValueS)
	ComboListItemsIn	= {Combo1List, Combo2List,+
				   Combo3List, Combo4List}
	ComboListItemsOut	= {Combo1Out, Combo2Out,+
				   Combo3Out, Combo4Out}
	EditTextIn		= {$(TMINValue), $(TMAXValue),+
				   $(TREQValue), $(TVXValue),+
				   $(PMFPASSWDValue), $(USERDATAValue)}
	EditTextLim		= {3, 3, 3, 5, 8, 32}
	EditTextOut		= {}
	CBOptionsGreyed		= {}
	NotifyFields		= {NO, NO, NO, NO}
[FileDependentDlgSyncENG]
	HelpFile		= OemNadSk
	IDH_DB_OEMSK_SYNC_INS	= 9095
	HelpContext		= $(IDH_DB_OEMSK_SYNC_INS)
	MinID			= 9000
	MaxID			= 9999
	Caption 		= $(Function$(Option)Title)
	DlgType 		= "RadioCombination"
	DlgTemplate		= "FDDI_SYNC"
	Combo1Label		= "Sba&Command"
	Combo2Label		= "SynchTx&Mode"
	Edit1Label		= "Sba&Available"
	Edit2Label		= "Sba&PayLoad"
	Edit3Label		= "Sba&Overhead"
	Edit4Label		= "Max&TNeg"
	Edit5Label		= "Min&SegmentSize"
	Edit6Label		= "SbaCategor&y"
	Combo1List		= $(SBACOMMANDList)
	Combo1Out		= $(SBACOMMANDValue)
	Combo2List		= $(SYNCHTXMODEList)
	Combo2Out		= $(SYNCHTXMODEValue)
	ComboListItemsIn	= {Combo1List, Combo2List}
	ComboListItemsOut	= {Combo1Out, Combo2Out}
	EditTextIn		= {$(SBAAVAILABLEValue), $(SBAPAYLOADValue),+
				   $(SBAOVERHEADValue), $(MAXTNEGValue),+
				   $(MINSEGMENTSIZEValue), $(SBACATEGORYValue)}
	EditTextLim		= {3, 4, 4, 3, 4, 5}
	EditTextOut		= {}
	CBOptionsGreyed		= {}
	NotifyFields		= {NO, NO}
;
; OemSetup.inf version 1.67