home *** CD-ROM | disk | FTP | other *** search
/ NetComm Communications 5 / NetComm.iso / drivers / cm3475 / nt4 / oemsetnt.inf < prev    next >
Encoding:
INI File  |  1997-11-19  |  30.6 KB  |  950 lines

  1. ; MS Windows NT 4.0 Combo56 MultiFunction Adapter INF
  2. ; Copyright 1997 NetComm Limited
  3. ;
  4. ; CardModem56 Combo (k56flex)
  5. ; Version 0.4
  6. ; Last updated 19th Nov 1997
  7. ; Written by: ShaneL
  8. ;
  9. ; Models Supported by this driver:
  10. ; Combo56
  11. ;
  12. ; Last Update:
  13. ; SGL 19/11/97 - New PnP ID incorporated.
  14. ; SGL 13/11/97 - New SSIM.SYS driver incorporated.
  15. ; SGL 19/09/97 - Initial alterations to driver - tested OK.
  16.  
  17. ;----------------------------------------------------------------------
  18.  
  19. [Identification]
  20.     OptionType = NetAdapter
  21. [PlatformsSupported]
  22.     ISA
  23.     EISA
  24.     PCMCIA
  25. [Options]
  26.     SSIM
  27. [IRQChoices]
  28. IRQ_0 = "1",1
  29. IRQ_1 = "2",2
  30. IRQ_2 = "3",3
  31. IRQ_3 = "4",4
  32. IRQ_4 = "5",5
  33. IRQ_5 = "6",6
  34. IRQ_6 = "7",7
  35. IRQ_7 = "8",8
  36. IRQ_8 = "9",9
  37. IRQ_9 = "10",10
  38. IRQ_10 = "11",11
  39. IRQ_11 = "12",12
  40. IRQ_12 = "13",13
  41. IRQ_13 = "14",14
  42. IRQ_14 = "15",15
  43. [IRQChoices_1]
  44. IRQ_0 = "1",1
  45. IRQ_1 = "2",2
  46. IRQ_2 = "3",3
  47. IRQ_3 = "4",4
  48. IRQ_4 = "5",5
  49. IRQ_5 = "6",6
  50. IRQ_6 = "7",7
  51. IRQ_7 = "8",8
  52. IRQ_8 = "9",9
  53. IRQ_9 = "10",10
  54. IRQ_10 = "11",11
  55. IRQ_11 = "12",12
  56. IRQ_12 = "13",13
  57. IRQ_13 = "14",14
  58. IRQ_14 = "15",15
  59. [IOBaseAddrChoices]
  60. IOBase_1  = "0x240",576
  61. IOBase_2  = "0x280",640
  62. IOBase_3  = "0x300",768
  63. IOBase_4  = "0x320",800
  64. [IOBaseAddrChoices_1]
  65. IOBase1_1  = "0x2e8",744
  66. IOBase1_2  = "0x2f8",760
  67. IOBase1_3  = "0x3e8",1000
  68. IOBase1_4  = "0x3f8",1016
  69. [MemMappedWndBaseAddrChoices]
  70. Add_1 = "0xC0000",786432
  71. Add_2 = "0xC4000",802816
  72. Add_3 = "0xC8000",819200
  73. Add_4 = "0xCC000",835586
  74. Add_5 = "0xD0000",851968
  75. Add_6 = "0xD4000",868352
  76. Add_7 = "0xD8000",884736
  77. Add_8 = "0xDC000",901120
  78. [COMPortChoices]
  79. Com_1 = "1",1
  80. Com_2 = "2",2
  81. Com_3 = "3",3
  82. Com_4 = "4",4
  83. Com_5 = "5",5
  84. Com_6 = "6",6
  85. Com_7 = "7",7
  86. Com_8 = "8",8
  87. Com_9 = "9",9
  88. Com_10 = "10",10
  89. [FileConstants]
  90. UtilityInf      = "UTILITY.INF"
  91. subroutineinf   = "SUBROUTN.INF"
  92. SoftwareType    = "driver"
  93. Exit_Code       = 0
  94. NetEventDLL     = "%SystemRoot%\System32\netevent.dll"
  95. IoLogMsgDLL     = "%SystemRoot%\System32\IoLogMsg.dll"
  96. Manufacturer    = "PCCardModem"
  97. ProductModel    = "CardModem56 Combo"
  98. ProductMajorVersion     = "3"
  99. ProductMinorVersion     = "5"
  100. ProductVersion  = $(ProductMajorVersion)"."$(ProductMinorVersion)
  101. ProductSoftwareName     = "SSIM"
  102. ProductSoftwareImagePath = "\SystemRoot\System32\drivers\ssim.sys"
  103. NetRuleSoftwareType     = "ssimSys ndisDriver ssimDriver"
  104. NetRuleSoftwareUse      = $(SoftwareType)
  105. NetRuleSoftwareBindForm = """SsimSys"" yes no container"
  106. NetRuleSoftwareClass    = {"ssimDriver basic"}
  107. NetRuleSoftwareBindable = {"ssimDriver ssimAdapter non exclusive 100"} 
  108. ProductHardwareName     = "SSIM"
  109. NetRuleHardwareType     = "ssim ssimAdapter"
  110. NetRuleHardwareBindForm = " yes yes container"
  111. NetRuleHardwareClass    = {"ssimAdapter basic"}
  112. ProductKeyName  = $(!NTN_SoftwareBase)"\"$(Manufacturer)"\"$(ProductSoftwareName)"\CurrentVersion"
  113. ParamKeyName    = $(!NTN_ServiceBase)"\"$(ProductHardwareName)"\Parameters"
  114.  
  115. PCMCIADatabase  = $(!NTN_ServiceBase)"\Pcmcia\DataBase"
  116. SsiStr  = $(!NTN_ServiceBase)"\Pcmcia\DataBase\PCCardModem"
  117. SsiMFuncStr = $(!NTN_ServiceBase)"\Pcmcia\DataBase\PCCardModem\CardModem56 Combo"
  118.  
  119.  
  120. [GeneralConstants]
  121. from      = ""
  122. to        = ""
  123. ExitCodeOk     = 0
  124. ExitCodeCancel = 1
  125. ExitCodeFatal  = 2
  126. KeyNull         = ""
  127. MAXIMUM_ALLOWED   = 33554432
  128. RegistryErrorIndex = NO_ERROR
  129. KeyProduct      = ""
  130. KeyParameters   = ""
  131. TRUE            = 1
  132. FALSE           = 0
  133. NoTitle            = 0
  134. ExitState   = "Active"
  135. OldVersionExisted = $(FALSE)
  136. DriverPath      = $(!STF_NTPATH)\drivers
  137.  
  138. NewPCMCIAKey    = ""
  139. MenufacturerIDKey = ""
  140. DeviceIDKey     = ""
  141. SSIKey          = ""
  142.  
  143.  
  144. [date]
  145.     Now = {} ? $(!LIBHANDLE) GetSystemDate
  146. [Identify]
  147.     read-syms Identification
  148.     set Status     = STATUS_SUCCESSFUL
  149.     set Identifier = $(OptionType)
  150.     set Media      = #("Source Media Descriptions", 1, 1)
  151.     Return $(Status) $(Identifier) $(Media)
  152. [ReturnOptions]
  153.     set Status        = STATUS_FAILED
  154.     set OptionList     = {}
  155.     set OptionTextList = {}
  156.     set LanguageList = ^(LanguagesSupported, 1)
  157.     Ifcontains(i) $($0) in $(LanguageList)
  158.     ifstr(i) $($1) == ""
  159.        goto returnoptions
  160.     endif
  161.     set PlatformList = ^(PlatformsSupported, 1)
  162.     Ifcontains(i) $($1) in $(PlatformList)
  163.        goto returnoptions
  164.     else
  165.        set Status = STATUS_NOTSUPPORTED
  166.        goto finish_ReturnOptions
  167.     endif
  168.     else
  169.     set Status = STATUS_NOLANGUAGE
  170.     goto finish_ReturnOptions
  171.     endif
  172. returnoptions = +
  173.     set OptionList     = ^(Options, 1)
  174.     set OptionTextList = ^(OptionsText$($0), 1)
  175.     set Status         = STATUS_SUCCESSFUL
  176. finish_ReturnOptions = +
  177.     Return $(Status) $(OptionList) $(OptionTextList)
  178. [InstallOption]
  179.     set Option   = $($1)
  180.     set SrcDir   = $($2)
  181.     set AddCopy  = $($3)
  182.     set DoCopy   = $($4)
  183.     set DoConfig = $($5)
  184.     set LanguageList = ^(LanguagesSupported, 1)
  185.     Ifcontains(i) $($0) NOT-IN $(LanguageList)
  186.     Return STATUS_NOLANGUAGE
  187.     endif
  188.     Debug-Output "OEMNADSI.INF: STF_CWDDIR is: "$(!STF_CWDDIR)
  189.     Debug-Output "OEMNADSI.INF: STF_LANGUAGE is: "$(!STF_LANGUAGE)
  190.     set-subst LF = "\n"
  191.     read-syms GeneralConstants
  192.     read-syms FileConstants
  193.     read-syms DialogConstants$(!STF_LANGUAGE)
  194.     ifstr(i) $(!NTN_Origination) == "NCPA"
  195.     set Continue = $(OK)
  196.     endif
  197.     read-syms FileConstants$(!STF_LANGUAGE)
  198.     detect date
  199.     set-title  $(FunctionTitle)
  200.     set to   = Begin
  201.     set from = Begin
  202.     set CommonStatus = STATUS_SUCCESSFUL
  203.     EndWait
  204. Begin = +
  205.  
  206.     Ifstr(i) $(!NTN_InstallMode) == deinstall
  207.     set StartLabel = removeadapter
  208.     else-Ifstr(i) $(!NTN_InstallMode) == Update
  209.     set StartLabel = UpgradeSoftware
  210.     else-Ifstr(i) $(!NTN_InstallMode) == bind
  211.     set StartLabel = bindingadapter
  212.     else-Ifstr(i) $(!NTN_InstallMode) == configure
  213.     set CommonStatus = STATUS_REBOOT
  214.     set StartLabel = configureadapter
  215.     Ifstr(i) $(ProductKeyName) == $(!NTN_RegBase)
  216.         Debug-Output "OEMNADSI.INF: Cannot configure the driver software."
  217.         Shell $(UtilityInf),RegistryErrorString,CANNOT_CONFIGURE_SOFTWARE
  218.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  219.         Debug-Output "OEMNADSI.INF: ShellCode error: cannot get an error string."
  220.         goto ShellCodeError
  221.         endif
  222.         set Error = $($R0)
  223.         set from = end
  224.         set to = end
  225.         goto nonfatalinfo
  226.     endif
  227.     else
  228.     set StartLabel = installadapter
  229.     set OEM_ABANDON_OPTIONS = {}
  230.     set OEM_ABANDON_SOFTWARE = FALSE
  231.     set OEM_ABANDON_ON = TRUE
  232.     endif
  233.     set COMPortValue = *($(COMPortList), 3)
  234.     set IRQValue = *($(IRQList), 5)
  235.     set IRQValue_1 = *($(IRQList), 3)
  236.     set IOBaseAddrValue = *($(IOBaseAddrList), 4)
  237.     set IOBaseAddrValue_1 = *($(IOBaseAddrList_1), 3)
  238.     set MemMappedWndAddrValue = *($(MemMappedWndAddrList),~($(MemMappedWndAddrValues),851968))
  239.     set EditTextIn = "1"
  240.     set from = $(fatal)
  241.     set to = $(fatal)
  242.     goto $(StartLabel)
  243. installadapter = +
  244.     OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyProduct
  245.     Ifstr $(KeyProduct) != $(KeyNull)
  246.     CloseRegKey $(KeyProduct)
  247.     ifstr(i) !(NTN_RegBase) == $(ProductKeyName)
  248.        Shell $(UtilityInf), VerExistedDlg, $(ProductSoftwareTitle),+
  249.            $(ProductVersion)
  250.        ifint $($ShellCode) != $(!SHELL_CODE_OK)
  251.            Debug-Output "OEMNADSI.INF: ShellCode error: cannot get an error string."
  252.            goto ShellCodeError
  253.        endif
  254.        goto end
  255.     else
  256.        Shell $(UtilityInf), CardExistedDlg
  257.        ifint $($ShellCode) != $(!SHELL_CODE_OK)
  258.            Debug-Output "OEMNADSI.INF: ShellCode error: cannot get an error string."
  259.            goto ShellCodeError
  260.        endif
  261.        ifstr(i) $($R1) != "OK"
  262.            set CommonStatus = STATUS_USERCANCEL
  263.            goto end
  264.        endif
  265.        set OldVersionExisted = $(TRUE)
  266.     endif
  267.     Endif
  268.     Goto adapteroptions
  269. configureadapter = +
  270.     Ifstr(i) $(KeyProduct) == $(KeyNull)
  271.     OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_RegBase) $(MAXIMUM_ALLOWED) KeyProduct
  272.     Ifstr $(KeyProduct) == $(KeyNull)
  273.         Set RegistryErrorIndex = CANNOT_FIND_COMPONENT_SERVICE
  274.         Debug-Output "OEMNADSI.INF: Cannot find component product key"
  275.        Goto fatalregistry
  276.     Endif
  277.     Endif
  278.     Debug-Output "OEMNADSI.INF: INF: Shelling to FindService"
  279.     Shell $(UtilityInf) FindService, $(KeyProduct)
  280.     Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  281.     Debug-Output "OEMNADSI.INF: INF: FindService shell failure"
  282.     Goto ShellCodeError
  283.     Endif
  284.     Ifstr(i) $($R0) != NO_ERROR
  285.     Debug-Output "OEMNADSI.INF: INF: FindService Shell error: "$($R0)
  286.     Goto fatalregistry
  287.     endif
  288.     set KeyParameters = $($R2)
  289.     CloseRegKey $($R1)
  290.     Ifstr $(KeyParameters) == $(KeyNull)
  291.     set RegistryErrorIndex = CANNOT_FIND_COMPONENT_SERVICE
  292.     Debug-Output "OEMNADSI.INF: Cannot find component service"
  293.     goto fatalregistry
  294.     endif
  295.     set OldVersionExisted = $(TRUE )
  296.     set ValueName = ""
  297.     set ValueData = ""
  298.     set ValueStr  = ""
  299.     set ValueList = {}
  300.     EnumRegValue $(KeyParameters) ValueList
  301.     ForListDo $(ValueList)
  302.     set ValueItem = $($)
  303.     set ValueName = *($(ValueItem),1)
  304.     set ValueData = *($(ValueItem),4)
  305.     Ifstr(i) $(ValueName) == "InterruptNumber"
  306.         set IRQValueIndex_1 = $(ValueData)
  307.     else-ifstr(i) $(ValueName) == "ComPort"
  308.         set COMPortValueIndex = $(ValueData)
  309.     else-ifstr(i) $(ValueName) == "LANIRQNumber"
  310.         set IRQValueIndex = $(ValueData)
  311.     else-ifstr(i) $(ValueName) == "IoBaseAddress"
  312.         set IOBaseAddrIndex = $(ValueData)
  313.     else-ifstr(i) $(ValueName) == "IoBaseAddress_1"
  314.         set IOBaseAddrIndex_1 = $(ValueData)
  315.     else-ifstr(i) $(ValueName) == "PCCARDAttributeMemoryAddress"
  316.         set MemMappedWndAddrIndex = $(ValueData)
  317.     endif
  318.     EndForListDo
  319.  
  320.     set COMPortValue = *($(COMPortList), ~($(COMPortValues),$(COMPortValueIndex)))
  321.     ifstr(i) $(COMPortValue) == ""
  322.     set COMPortValue = *($(COMPortList), 3)
  323.     endif
  324.  
  325.     set IRQValue = *($(IRQList), ~($(IRQValues),$(IRQValueIndex)))
  326.     ifstr(i) $(IRQValue) == ""
  327.     set IRQValue = *($(IRQList), 4)
  328.     endif
  329.     set IRQValue_1 = *($(IRQList_1), ~($(IRQValues_1),$(IRQValueIndex_1)))
  330.     ifstr(i) $(IRQValue_1) == ""
  331.     set IRQValue_1 = *($(IRQList_1), 3)
  332.     endif
  333.     set IOBaseAddrValue = *($(IOBaseAddrList), +
  334.      ~($(IOBaseAddrValues),$(IOBaseAddrIndex)))
  335.     ifstr(i) $(IOBaseAddrValue) == ""
  336.     set IOBaseAddrValue = *($(IOBaseAddrList), 1)
  337.     endif
  338.     set IOBaseAddrValue_1 = *($(IOBaseAddrList_1), +
  339.      ~($(IOBaseAddrValues_1),$(IOBaseAddrIndex_1)))
  340.     ifstr(i) $(IOBaseAddrValue_1) == ""
  341.     set IOBaseAddrValue_1 = *($(IOBaseAddrList_1), 1)
  342.     endif
  343.     set MemMappedWndAddrValue = *($(MemMappedWndAddrList), +
  344.      ~($(MemMappedWndAddrValues),$(MemMappedWndAddrIndex)))
  345.     ifstr(i) $(MemMappedWndAddrValue) == ""
  346.     set MemMappedWndAddrValue = *($(MemMappedWndAddrList),~($(MemMappedWndAddrValue),884736))
  347.     endif
  348. adapteroptions = +
  349.     set from = adapteroptions
  350.     read-syms FileDependentDlg$(!STF_LANGUAGE)
  351.     ui start "InputDlg"
  352.     ifstr(i) $(DLGEVENT) == "CONTINUE"
  353.     set IRQValueIndex = $(Combo1Out)
  354.     set IOBaseAddrIndex = $(Combo2Out)
  355.     set MemMappedWndAddrIndex = $(Combo3Out)
  356.     ui pop 1
  357.     else-ifstr(i) $(DLGEVENT) == "BACK"
  358.     set CommonStatus = STATUS_USERCANCEL
  359.     Debug-Output "OEMNADSI.INF: Action: exit. Bye."
  360.     ui pop 1
  361.     goto end
  362.     else
  363.     ui pop 1
  364.     Debug-Output "OEMNADSI.INF: Action: unknown. Bye."
  365.     goto end
  366.     endif
  367.  
  368.     read-syms ComFileDependentDlg$(!STF_LANGUAGE)
  369.     ui start "InputDlg"
  370.  
  371.     ifstr(i) $(DLGEVENT) == "CONTINUE"
  372.     set COMPortValueIndex = $(Combo1Out)
  373.     set IRQValueIndex_1 = $(Combo2Out)
  374.     set IOBaseAddrIndex_1 = $(Combo3Out)
  375.     ui pop 1
  376.     else-ifstr(i) $(DLGEVENT) == "BACK"
  377.     set CommonStatus = STATUS_USERCANCEL
  378.     Debug-Output "OEMNADSI.INF: Action: exit. Bye."
  379.     ui pop 1
  380.     goto end
  381.     else
  382.     ui pop 1
  383.     Debug-Output "OEMNADSI.INF: Action: unknown. Bye."
  384.     goto end
  385.     endif
  386. nextstep = +
  387.     ifint $(OldVersionExisted) == $(TRUE)
  388.     ifstr(i) $(!NTN_InstallMode) == configure
  389.         goto writeparameters
  390.     endif
  391.     endif
  392.     StartWait
  393.     Ifint $(OldVersionExisted) != $(FALSE)
  394.     Goto installhardware
  395.     Endif
  396.     ifstr(i) $(!NTN_InstallMode) == "install"
  397.        Ifstr(i) $(DoCopy) == "YES"
  398.       Shell $(UtilityInf), DoAskSource, $(!STF_CWDDIR), $(SrcDir) YES
  399.       Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  400.           Goto ShellCodeError
  401.       Else-Ifstr(i) $($R0) == STATUS_FAILED
  402.           Shell $(UtilityInf) RegistryErrorString "ASK_SOURCE_FAIL"
  403.           ifint $($ShellCode) != $(!SHELL_CODE_OK)
  404.           goto ShellCodeError
  405.           endif
  406.           set Error = $($R0)
  407.           Goto fatal
  408.       Else-Ifstr(i) $($R0) == STATUS_USERCANCEL
  409.           Goto successful
  410.       Endif
  411.       Set SrcDir = $($R1)
  412.        Endif
  413.        install "Install-Option"
  414.        ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
  415.        Shell $(UtilityInf) RegistryErrorString "UNABLE_COPY_FILE"
  416.        ifint $($ShellCode) != $(!SHELL_CODE_OK)
  417.            goto ShellCodeError
  418.        endif
  419.        set Error = $($R0)
  420.        goto fatal
  421.        endif
  422.     endif
  423.     Shell $(UtilityInf), AddSoftwareComponent, $(Manufacturer), +
  424.     $(ProductSoftwareName), +
  425.     $(ProductSoftwareName), +
  426.     $(ProductSoftwareTitle), $(STF_CONTEXTINFNAME), +
  427.     $(ProductSoftwareImagePath), "kernel", "NDIS", {}, "",+
  428.     $(NetEventDLL), ""
  429.     Set OEM_ABANDON_SOFTWARE = TRUE
  430.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  431.     Debug-Output "OEMNADSI.INF: ShellCode error"
  432.     goto ShellCodeError
  433.     endif
  434.     set RegistryErrorIndex = $($R0)
  435.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  436.     EndWait
  437.     Debug-Output "OEMNADSI.INF: Registry error: add software components"
  438.     CloseRegKey $($R1)
  439.     CloseRegKey $($R2)
  440.     CloseRegKey $($R3)
  441.     CloseRegKey $($R4)
  442.     CloseRegKey $($R5)
  443.     goto fatalregistry
  444.     endif
  445.     Set SoftProductKey  = $($R1)
  446.     Set SoftNetRuleKey  = $($R2)
  447.     Set SoftServiceKey  = $($R3)
  448.     Set SoftParameterKey        = $($R4)
  449.     Set SoftLinkageKey  = $($R5)
  450.     set NewValueList = {{SoftwareType,$(NoTitle),$(!REG_VT_SZ),$(SoftwareType)},+
  451.                {MajorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMajorVersion)},+
  452.                {MinorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMinorVersion)},+
  453.                {Title,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareTitle)},+
  454.                {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareDescription)},+
  455.                {ServiceName,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareName)},+
  456.                {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}}
  457.     Shell  $(UtilityInf), AddValueList, $(SoftProductKey), $(NewValueList)
  458.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  459.         Debug-Output "OEMNADSI.INF: ShellCode error."
  460.         goto ShellCodeError
  461.     endif
  462.     set RegistryErrorIndex = $($R0)
  463.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  464.         EndWait
  465.         Debug-Output "OEMNADSI.INF: Registry error: add value list for software product."
  466.         CloseRegKey $(SoftProductKey)
  467.         CloseRegKey $(SoftNetRuleKey)
  468.         CloseRegKey $(SoftServiceKey)
  469.         CloseRegKey $(SoftParameterKey)
  470.     CloseRegKey $(SoftLinkageKey)
  471.     goto fatalregistry
  472.     endif
  473.     set NewValueList = {{type,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareType)},+
  474.             {use,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareUse)}, +
  475.             {bindform,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareBindForm)}, +
  476.             {class,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleSoftwareClass)}, +
  477.             {bindable,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleSoftwareBindable)}, +
  478.             {InfOption,$(NoTitle),$(!REG_VT_SZ),$(Option)}}
  479.     Shell  $(UtilityInf), AddValueList, $(SoftNetRuleKey), $(NewValueList)
  480.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  481.         Debug-Output "OEMNADSI.INF: ShellCode error."
  482.         goto ShellCodeError
  483.     endif
  484.     Set RegistryErrorIndex = $($R0)
  485.     CloseRegKey $(SoftProductKey)
  486.     CloseRegKey $(SoftNetRuleKey)
  487.     CloseRegKey $(SoftServiceKey)
  488.     CloseRegKey $(SoftParameterKey)
  489.     CloseRegKey $(SoftLinkageKey)
  490.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  491.     EndWait
  492.     Debug-Output "OEMNADSI.INF: Registry error: add value list."
  493.     goto fatalregistry
  494.     endif
  495.  
  496.     OpenRegKey $(!REG_H_LOCAL) "" $(SsiStr) $(MAXIMUM_ALLOWED) SSIKey
  497.  
  498.     Ifstr $(SSIKey) == $(KeyNull)
  499.     OpenRegKey $(!REG_H_LOCAL) "" $(PCMCIADatabase) $(MAXIMUM_ALLOWED) NewPCMCIAKey
  500.  
  501.     Ifstr $(NewPCMCIAKey) == $(KeyNull)
  502.         goto fatalregistry
  503.     Endif
  504.  
  505.     CreateRegKey $(NewPCMCIAKey) {$(Manufacturer),$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" MenufacturerIDKey
  506.  
  507.     Ifstr $(MenufacturerIDKey) == $(KeyNull)
  508.         set RegistryErrorIndex = UNABLE_CREATE_PRODUCT_VERSION
  509.         goto fatalregistry
  510.     endif
  511.  
  512.     CloseRegKey $(MenufacturerIDKey)
  513.     CloseRegKey $(NewPCMCIAKey)
  514.  
  515.     else
  516.     CloseRegKey $(SSIKey)
  517.     endif
  518.  
  519.     OpenRegKey $(!REG_H_LOCAL) "" $(SsiMFuncStr) $(MAXIMUM_ALLOWED) SSIKey
  520.  
  521.     Ifstr $(SSIKey) == $(KeyNull)
  522.  
  523.     OpenRegKey $(!REG_H_LOCAL) "" $(SsiStr) $(MAXIMUM_ALLOWED) NewPCMCIAKey
  524.  
  525.     Ifstr $(NewPCMCIAKey) == $(KeyNull)
  526.         goto fatalregistry
  527.     Endif
  528.  
  529.     CreateRegKey $(NewPCMCIAKey) {$(ProductModel),$(NoTitle),GenericClass} "" $(MAXIMUM_ALLOWED) "" DeviceIDKey
  530.  
  531.     Ifstr $(DeviceIDKey) == $(KeyNull)
  532.          set RegistryErrorIndex = UNABLE_CREATE_PRODUCT_VERSION
  533.          goto fatalregistry
  534.     endif
  535.  
  536.     SetRegValue $(DeviceIDKey) {Driver,$(NoTitle),$(!REG_VT_SZ),"SSIM"}
  537.  
  538.     CloseRegKey $(DeviceIDKey)
  539.     CloseRegKey $(NewPCMCIAKey)
  540.  
  541.     else
  542.     CloseRegKey $(SSIKey)
  543.     endif
  544.  
  545.  
  546. installhardware =+
  547.     Shell $(UtilityInf), AddHardwareComponent, $(ProductHardwareName),$(STF_CONTEXTINFNAME),$(ProductKeyName)
  548.     ifint $($R4) != -1
  549.     Set OEM_ABANDON_OPTIONS = >($(OEM_ABANDON_OPTIONS), $(!NTN_SoftwareBase)"\Microsoft\Windows NT\CurrentVersion\NetworkCards\"$($R4))
  550.     endif
  551.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  552.     Debug-Output "OEMNADSI.INF: Cannot add hardware component"
  553.     goto ShellCodeError
  554.     endif
  555.     set RegistryErrorIndex = $($R0)
  556.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  557.     EndWait
  558.     Debug-Output "OEMNADSI.INF: Registry error: add hardware component"
  559.     CloseRegKey $($R1)
  560.     CloseRegKey $($R2)
  561.     CloseRegKey $($R3)
  562.     goto fatalregistry
  563.     endif
  564.     set KeyProduct = $($R1)
  565.     set KeyAdapterRules = $($R2)
  566.     set KeyParameters = $($R3)
  567.     set AdapterNumber = $($R4)
  568.     set NewValueList = {{Manufacturer,$(NoTitle),$(!REG_VT_SZ),$(Manufacturer)},+
  569.                {Title,$(NoTitle),$(!REG_VT_SZ),"["$($R4)"] "$(ProductHardware$(Option)Title)},+
  570.                {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductHardware$(Option)Description)},+
  571.                {ProductName,$(NoTitle),$(!REG_VT_SZ),$(ProductHardwareName)},+
  572.                {ServiceName,$(NoTitle),$(!REG_VT_SZ),$($R5)},+
  573.                {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}}
  574.     Shell  $(UtilityInf), AddValueList, $(KeyProduct), $(NewValueList)
  575.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  576.     Debug-Output "OEMNADSI.INF: ShellCode error"
  577.     goto ShellCodeError
  578.     endif
  579.     CloseRegKey $(KeyProduct)
  580.     Set KeyProduct = ""
  581.     set TempProdName = """"$(ProductHardwareName)$(AdapterNumber)""""
  582.     set TempBindForm = $(TempProdName)$(NetRuleHardwareBindForm)
  583.     set NewValueList = {{type,$(NoTitle),$(!REG_VT_SZ),$(NetRuleHardwareType)},+
  584.             {bindform,$(NoTitle),$(!REG_VT_SZ),$(TempBindForm)}, +
  585.             {class,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleHardwareClass)}, +
  586.             {InfOption,$(NoTitle),$(!REG_VT_SZ),$(Option)}}
  587.     Shell  $(UtilityInf), AddValueList, $(KeyAdapterRules), $(NewValueList)
  588.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  589.     Debug-Output "OEMNADSI.INF: ShellCode error."
  590.     goto ShellCodeError
  591.     endif
  592.     CloseRegKey $(KeyAdapterRules)
  593.     Set RegistryErrorIndex = $($R0)
  594.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  595.     EndWait
  596.     Debug-Output "OEMNADSI.INF: Registry error: add value list."
  597.     CloseRegKey $(KeyParameters)
  598.     goto fatalregistry
  599.     Endif
  600. writeparameters = +
  601.     Shell $(UtilityInf), GetBusTypeNum
  602.     set BusTypeNum = $($R1)
  603.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  604.     Debug-Output "ShellCode error."
  605.     goto ShellCodeError
  606.     endif
  607.     set BusNum = 0
  608.     Ifstr(i) $(KeyParameters) == $(KeyNull)
  609.     Debug-Output "OEMNADSI.INF:  *** KeyParameters is NULL at writeparameters"
  610.     Endif
  611.  
  612.     set COMPortValue = *($(COMPortValues), ~($(COMPortList),$(COMPortValueIndex)))
  613.     set IRQValue = *($(IRQValues), ~($(IRQList),$(IRQValueIndex)))
  614.     set IRQValue_1 = *($(IRQValues_1), ~($(IRQList_1),$(IRQValueIndex_1)))
  615.     set IOBaseAddrValue = *($(IOBaseAddrValues), +
  616.      ~($(IOBaseAddrList),$(IOBaseAddrIndex)))
  617.     set IOBaseAddrValue_1 = *($(IOBaseAddrValues_1), +
  618.      ~($(IOBaseAddrList_1),$(IOBaseAddrIndex_1)))
  619.     set MemMappedWndAddrValue = *($(MemMappedWndAddrValues), +
  620.      ~($(MemMappedWndAddrList),$(MemMappedWndAddrIndex)))
  621.     set NewValueList = {+
  622.             {MediaType,$(NoTitle),$(!REG_VT_DWORD),1},+
  623. ;                       {BusType,$(NoTitle),$(!REG_VT_DWORD),$(BusInterfaceType)},+
  624.             {BusNumber,$(NoTitle),$(!REG_VT_DWORD),$(BusNumber)},+
  625.             {BusType,$(NoTitle),$(!REG_VT_DWORD),$(BusTypeNum)},+
  626.             {ComPort,$(NoTitle),$(!REG_VT_DWORD),$(COMPortValue)},+
  627.             {InterruptNumber,$(NoTitle),$(!REG_VT_DWORD),$(IRQValue_1)},+
  628.             {LANIRQNumber,$(NoTitle),$(!REG_VT_DWORD),$(IRQValue)},+
  629.             {IoBaseAddress,$(NoTitle),$(!REG_VT_DWORD),$(IOBaseAddrValue)},+
  630.             {IoBaseAddress_1,$(NoTitle),$(!REG_VT_DWORD),$(IOBaseAddrValue_1)},+
  631.             {IoLength,$(NoTitle),$(!REG_VT_DWORD),15},+
  632.             {IoLength_1,$(NoTitle),$(!REG_VT_DWORD),8},+
  633.             {PCCARDAttributeMemoryAddress,$(NoTitle),$(!REG_VT_DWORD),$(MemMappedWndAddrValue)},+
  634.             {PCCARDAttributeMemorySize,$(NoTitle),$(!REG_VT_DWORD),4096},+
  635.             {PCCARDAttributeMemoryOffset,$(NoTitle),$(!REG_VT_DWORD),0},+
  636.             {Pcmcia,$(NoTitle),$(!REG_VT_DWORD),1},+
  637.             {NT351,$(NoTitle),$(!REG_VT_DWORD),1}}
  638.     Shell  $(UtilityInf), AddValueList, $(KeyParameters), $(NewValueList)
  639.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  640.     Debug-Output "OEMNADSI.INF: ShellCode error."
  641.     goto ShellCodeError
  642.     endif
  643.     Set RegistryErrorIndex = $($R0)
  644.     CloseRegKey $(KeyParameters)
  645.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  646.     Debug-Output "OEMNADSI.INF: Registry error: Add value list"
  647.     goto fatalregistry
  648.     Endif
  649.     EndWait
  650.     goto successful
  651. bindingadapter =+
  652.     set Error = "Binding: Sorry, not yet implemented."
  653.     goto fatal
  654. removeadapter = +
  655.     Ifstr(i) $(ProductKeyName) == $(!NTN_RegBase)
  656.     Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer), +
  657.         $(ProductSoftwareName)
  658.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  659.         Debug-Output "OEMNADSI.INF: ShellCode error"
  660.         goto ShellCodeError
  661.     endif
  662.     set RegistryErrorIndex = $($R0)
  663.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  664.         goto fatalregistry
  665.     endif
  666.     else
  667.     Shell $(UtilityInf), RemoveHardwareComponent, $(Manufacturer), +
  668.         $(ProductSoftwareName), $(!NTN_RegBase)
  669.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  670.         Debug-Output "OEMNADSI.INF: ShellCode error"
  671.         goto ShellCodeError
  672.     endif
  673.     set RegistryErrorIndex = $($R0)
  674.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  675.         goto fatalregistry
  676.     endif
  677.     endif
  678.     goto end
  679. UpgradeSoftware = +
  680.     ifstr(i) $(ProductKeyName) == $(!NTN_RegBase)
  681.     OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyProduct
  682.     Ifstr $(KeyProduct) != $(KeyNull)
  683.         GetRegValue $(KeyProduct),"MajorVersion", VersionInfo
  684.         set Version = *($(VersionInfo), 4)
  685.         Shell $(UtilityInf), GetInfFileNameFromRegistry, $(KeyProduct)
  686.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  687.         Debug-Output "ShellCode error"
  688.         goto ShellCodeError
  689.         endif
  690.         set !UG_Filename = $($R0)
  691.         ifstr(i) $(!UG_Filename) != ""
  692.         install "Install-Update"
  693.         ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
  694.             goto fatal
  695.         endif
  696.         endif
  697.         SetRegValue $(KeyProduct) {MajorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMajorVersion)}
  698.         SetRegValue $(KeyProduct) {MinorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMinorVersion)}
  699.         ifint $(Version) != $(ProductVersion)
  700.         endif
  701.         CloseRegKey $(KeyProduct)
  702.     else
  703.         goto fatalregistry
  704.     endif
  705.     else
  706.     OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_RegBase) +
  707.           $(MAXIMUM_ALLOWED) NetworkCardKey
  708.     Ifstr(i) $(NetworkCardKey) != $(KeyNull)
  709.         GetRegValue $(NetworkCardKey),"ServiceName", ServiceNameInfo
  710.         set ServiceName = *($(ServiceNameInfo), 4)
  711.         OpenRegKey $(NetworkCardKey) "" "NetRules" +
  712.         $(MAXIMUM_ALLOWED) NetRuleKey
  713.         Ifstr(i) $(NetRuleKey) != $(KeyNull)
  714.         else
  715.         goto fatalregistry
  716.         endif
  717.         CloseRegKey $(NetRules)
  718.         CloseRegKey $(NetworkCardKey)
  719.     else
  720.         goto fatalregistry
  721.     endif
  722.     OpenRegKey $(!REG_H_LOCAL) "" +
  723.           $(!NTN_ServiceBase)"\"$(ServiceName) +
  724.           $(MAXIMUM_ALLOWED) ServiceKey
  725.     Ifstr(i) $(ServiceKey) != $(KeyNull)
  726.         CloseRegKey $(ServiceKey)
  727.     else
  728.         goto fatalregistry
  729.     endif
  730.     endif
  731.     goto end
  732. successful = +
  733.     goto end
  734. abandon = +
  735.     ForListDo $(OEM_ABANDON_OPTIONS)
  736.     Shell $(UtilityInf), RemoveHardwareComponent, $(Manufacturer), +
  737.         $(ProductSoftwareName), $($)
  738.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  739.         Debug-Output "OEMNADSI.INF: ShellCode error"
  740.         goto ShellCodeError
  741.     endif
  742.     set RegistryErrorIndex = $($R0)
  743.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  744.         goto fatalregistry
  745.     endif
  746.     EndForListDo
  747.     Ifstr(i) $(OEM_ABANDON_SOFTWARE) == TRUE
  748.     Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer), +
  749.         $(ProductSoftwareName), FALSE
  750.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  751.         Debug-Output "OEMNADSI.INF: ShellCode error"
  752.         goto ShellCodeError
  753.     endif
  754.     set RegistryErrorIndex = $($R0)
  755.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  756.         goto fatalregistry
  757.     endif
  758.     endif
  759.     goto end
  760. warning = +
  761.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "WARNING", $(Error)
  762.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  763.     goto ShellCodeError
  764.     endif
  765.     ifstr(i) $($R1) == "OK"
  766.     goto $(to)
  767.     else-ifstr(i) $($R1) == "CANCEL"
  768.     goto $(from)
  769.     else
  770.     goto "end"
  771.     endif
  772. nonfatalinfo = +
  773.     Set CommonStatus = STATUS_USERCANCEL
  774.     Set Severity = STATUS
  775.     goto nonfatalmsg
  776. nonfatal = +
  777.     Set Severity = NONFATAL
  778.     goto nonfatalmsg
  779. nonfatalmsg = +
  780.     ifstr(i) $(Error) == ""
  781.     Set Severity = NONFATAL
  782.     Shell $(UtilityInf) RegistryErrorString "SETUP_FAIL"
  783.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  784.         goto ShellCodeError
  785.     endif
  786.     set Error = $($R0)
  787.     endif
  788.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), $(Severity), $(Error)
  789.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  790.     goto ShellCodeError
  791.     endif
  792.     ifstr(i) $($R1) == "OK"
  793.     goto $(from)
  794.     else
  795.     goto "end"
  796.     endif
  797. fatalregistry = +
  798.     Shell $(UtilityInf) RegistryErrorString $(RegistryErrorIndex)
  799.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  800.     goto ShellCodeError
  801.     endif
  802.     set Error = $($R0)
  803.     goto fatal
  804. fatal = +
  805.     ifstr(i) $(Error) == ""
  806.     Shell $(UtilityInf) RegistryErrorString "SETUP_FAIL"
  807.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  808.         goto ShellCodeError
  809.     endif
  810.     set Error = $($R0)
  811.     endif
  812.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(Error)
  813.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  814.     goto ShellCodeError
  815.     endif
  816.     goto setfailed
  817. ShellCodeError = +
  818.     set DlgType      = "MessageBox"
  819.     set STF_MB_TITLE = $(ShellCodeErrorTitle)
  820.     set STF_MB_TEXT  = $(ShellCodeErrorText)
  821.     set STF_MB_TYPE  = 1
  822.     set STF_MB_ICON  = 3
  823.     set STF_MB_DEF   = 1
  824.     ui start "Error Message"
  825.     goto setfailed
  826. setfailed = +
  827.     set CommonStatus = STATUS_FAILED
  828.     ifstr(i) $(OEM_ABANDON_ON) == TRUE
  829.     set OEM_ABANDON_ON = FALSE
  830.     goto abandon
  831.     endif
  832.     goto end
  833. end = +
  834.     goto term
  835. term = +
  836.     Return $(CommonStatus)
  837. [Install-Option]
  838.     set STF_VITAL = ""
  839.     ifstr(i) $(AddCopy) == "YES"
  840.     AddSectionFilesToCopyList Files-$(Option) $(SrcDir) $(!STF_WINDOWSSYSPATH)\drivers
  841.     endif
  842.     Debug-Output "OEMNADSI.INF: [Install-Option] DoCopy = "$(DoCopy)
  843.     ifstr(i) $(DoCopy) == "YES"
  844.        set !STF_NCPA_FLUSH_COPYLIST = TRUE
  845.        CopyFilesInCopyList
  846.     endif
  847.     ifstr(i) $(DoConfig) == "YES"
  848.     endif
  849.     Exit
  850. [Install-Update]
  851.    set STF_VITAL        = ""
  852.    set STF_OVERWRITE    = "VERIFYSOURCEOLDER"
  853.    AddSectionFilesToCopyList Files-$(Option) $(SrcDir) $(!STF_WINDOWSSYSPATH)\drivers
  854.    AddSectionFilesToCopyList Files-Inf $(SrcDir) $(!STF_WINDOWSSYSPATH)
  855.    set !STF_NCPA_FLUSH_COPYLIST = TRUE
  856.    CopyFilesInCopyList
  857.    exit
  858. [Source Media Descriptions]
  859.     1  = "NetComm CardModem56 Combo Setup Disk"  , TAGFILE = disk
  860. [ProductType]
  861. STF_PRODUCT  = Winnt
  862. STF_PLATFORM = I386
  863.  
  864. [Files-Inf]
  865. 1,      oemsetnt.inf,    SIZE=1000
  866.  
  867. [Files-SSIM]
  868. 1,SSIM.SYS , SIZE=36352
  869.  
  870. [LanguagesSupported]
  871.     ENG
  872.  
  873. [OptionsTextENG]
  874.     SSIM = "CardModem56 Combo Multifunction Card"
  875.  
  876. [FileConstantsENG]
  877. ProCaption   = "Windows NT Setup"
  878. ProCancel    = "Cancel"
  879. ProCancelMsg = "Windows NT Networking is not correctly installed.  "+
  880.            "Are you sure you want to cancel copying files?"
  881. ProCancelCap = "Network Setup Message"
  882. ProText1     = "Copying:"
  883. ProText2     = "To:"
  884. FunctionTitle                   = "CardModem56 Combo Setup (Ethernet)"
  885. FunctionTitle_1                 = "CardModem56 Combo Setup (Modem)"
  886. ProductSoftwareDescription      = "CardModem56 Combo MultiFunction Driver"
  887. ProductHardwareSSIMDescription  = "CardModem56 Combo"
  888. ProductSoftwareTitle            = "CardModem56 Combo"
  889. ProductHardwareSSIMTitle        = "CardModem56 Combo"
  890. COMPortList  = ^(COMPortChoices, 1)
  891. COMPortValues  = ^(COMPortChoices, 2)
  892. IRQList  = ^(IRQChoices, 1)
  893. IRQValues = ^(IRQChoices, 2)
  894. IRQList_1  = ^(IRQChoices_1, 1)
  895. IRQValues_1 = ^(IRQChoices_1, 2)
  896. IOBaseAddrList = ^(IOBaseAddrChoices, 1)
  897. IOBaseAddrValues = ^(IOBaseAddrChoices, 2)
  898. IOBaseAddrList_1 = ^(IOBaseAddrChoices_1, 1)
  899. IOBaseAddrValues_1 = ^(IOBaseAddrChoices_1, 2)
  900. MemMappedWndAddrList = ^(MemMappedWndBaseAddrChoices, 1)
  901. MemMappedWndAddrValues = ^(MemMappedWndBaseAddrChoices, 2)
  902. ShellCodeErrorTitle     = "Error: "$(FunctionTitle)
  903. ShellCodeErrorText      = "Shell Code Error."
  904.  
  905. [DialogConstantsENG]
  906. Help        = "&Help"
  907. Exit        = "Cancel"
  908. OK          = "OK"
  909. HelpContext = ""
  910. Continue    = "Continue"
  911. Cancel      = "Cancel"
  912.  
  913. [FileDependentDlgENG]
  914. Label1 = "&Interrupt Number:"
  915. Label2 = "I/O &Port Base Addr:"
  916. Label3 = "&Memory Address:"
  917. DlgType = "Combination"
  918. DlgTemplate = "UBNDIS"
  919. Caption = $(FunctionTitle)
  920. Combo1List = $(IRQList)
  921. Combo1Out  = $(IRQValue)
  922. Combo2List = $(IOBaseAddrList)
  923. Combo2Out  = $(IOBaseAddrValue)
  924. Combo3List = $(MemMappedWndAddrList)
  925. Combo3Out  = $(MemMappedWndAddrValue)
  926. ComboListItemsIn  = {Combo1List, Combo2List, Combo3List}
  927. ComboListItemsOut = {Combo1Out, Combo2Out, Combo3Out}
  928. EditTextLim = ""
  929. CBOptionsGreyed = {}
  930.  
  931. [ComFileDependentDlgENG]
  932. Label1 = "&COM Port"
  933. Label2 = "COM &Interrupt:"
  934. Label3 = "COM &Port Base Addr:"
  935. DlgType = "Combination"
  936. DlgTemplate = "UBNDIS"
  937.  
  938. Caption = $(FunctionTitle_1)
  939. Combo1List = $(COMPortList)
  940. Combo1Out  = $(COMPortValue)
  941. Combo2List = $(IRQList_1)
  942. Combo2Out  = $(IRQValue_1)
  943. Combo3List = $(IOBaseAddrList_1)
  944. Combo3Out  = $(IOBaseAddrValue_1)
  945. ComboListItemsIn  = {Combo1List, Combo2List, Combo3List}
  946. ComboListItemsOut = {Combo1Out, Combo2Out, Combo3Out}
  947. EditTextLim = ""
  948. CBOptionsGreyed = {}
  949.  
  950.