home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 October / Chip_1997-10_cd.bin / ovladace / 3com / 3c589n / 3c589n.exe / OEMSETNT.INF < prev    next >
INI File  |  1996-11-06  |  35KB  |  928 lines

  1. ; *******************************************************************
  2. ; *
  3. ; *    DESCRIPTION: OEMSETUP.INF for Etherlink III (ISA, EISA, MCA)
  4. ; *
  5. ; *    HISTORY: 
  6. ; *        v 1.0 - Microsoft Orginal file for only elpc3 (ISA)
  7. ; *        v 1.1 - Adapted to support EISA and MCA as well.
  8. ; *        v 1.2 - Adapted to support Windows NT 3.5/3.51
  9. ; *        v 1.3 - Adding support for elpc3r PCMCIA Card
  10. ; *
  11. ; *******************************************************************
  12.  
  13. [Identification]
  14.     OptionType = NetAdapter
  15.  
  16. [PlatformsSupported]
  17.     ISA
  18. ;    EISA
  19. ;    MCA
  20.     PCMCIA
  21.     "Jazz-Internal Bus"
  22.  
  23. [Options]
  24.     ELNK16
  25.     ELNK16B
  26.     ELNK16D
  27.  
  28. [FileConstants]
  29. UtilityInf                      = "UTILITY.INF"
  30. ParamInf                        = "NCPARAM.INF"
  31. subroutineinf                   = "SUBROUTN.INF"
  32. SoftwareType                    = "driver"
  33. Exit_Code                       = 0
  34. NetEventDLL                     = "%SystemRoot%\System32\netevent.dll;%SystemRoot%\System32\drivers\elpc3r.sys"
  35. IoLogMsgDLL                     = "%SystemRoot%\System32\IoLogMsg.dll"
  36. MS_Manufacturer                 = "Microsoft"
  37. Manufacturer                    = "3Com"
  38. ProductMajorVersion             = "4"
  39. ProductMinorVersion             = "0"
  40. ProductVersion                  = $(ProductMajorVersion)"."$(ProductMinorVersion)
  41. ProductSoftwareName             = "elpc3r"
  42. ProductSoftwareImagePath        = "\SystemRoot\System32\drivers\elpc3r.sys"
  43. NetRuleSoftwareType             = "elpc3rSys ndisDriver elpc3rDriver"
  44. NetRuleSoftwareUse              = $(SoftwareType)
  45. NetRuleSoftwareBindForm         = """elpc3rSys"" yes no container"
  46. NetRuleSoftwareClass            = {"elpc3rDriver basic"}
  47. NetRuleSoftwareBindable         = {"elpc3rDriver elpc3rAdapter non exclusive 100"}
  48. ProductHardwareName             = "elpc3r"
  49. NetRuleHardwareType             = "elpc3r elpc3rAdapter"
  50. NetRuleHardwareBindForm         = " yes yes container"
  51. NetRuleHardwareClass            = {"elpc3rAdapter basic"}
  52.  
  53. ProductKeyName                  = $(!NTN_SoftwareBase)"\"$(Manufacturer)"\"$(ProductSoftwareName)"\CurrentVersion"
  54. MS_ProductKeyName               = $(!NTN_SoftwareBase)"\"$(MS_Manufacturer)"\"$(ProductSoftwareName)"\CurrentVersion"
  55. ParamKeyName                    = $(!NTN_ServiceBase)"\"$(ProductHardwareName)"\Parameters"
  56.  
  57. NETCARD_ID                      = { 25212, 25213, 25051, 25334, 25335 }
  58.  
  59. [GeneralConstants]
  60. !G:DebugOutputControl           = 1
  61. from                            = ""
  62. to                              = ""
  63. ExitCodeOk                      = 0
  64. ExitCodeCancel                  = 1
  65. ExitCodeFatal                   = 2
  66. KeyNull                         = ""
  67. MAXIMUM_ALLOWED                 = 33554432
  68. RegistryErrorIndex              = NO_ERROR
  69. KeyProduct                      = ""
  70. KeyParameters                   = ""
  71. TRUE                            = 1
  72. FALSE                           = 0
  73. NoTitle                         = 0
  74. ExitState                       = "Active"
  75. OldVersionExisted               = $(FALSE)
  76. DriverPath                      = $(!STF_NTPATH)\drivers
  77.  
  78. [date]
  79.     Now = {} ? $(!LIBHANDLE) GetSystemDate
  80.  
  81. [Identify]
  82.     read-syms Identification
  83.     set Status     = STATUS_SUCCESSFUL
  84.     set Identifier = $(OptionType)
  85.     set Media      = #("Source Media Descriptions", 3, 1)
  86.     Return $(Status) $(Identifier) $(Media)
  87.  
  88. [ReturnOptions]
  89.     set Status        = STATUS_FAILED
  90.     set OptionList     = {}
  91.     set OptionTextList = {}
  92.     set LanguageList = ^(LanguagesSupported, 1)
  93.     Ifcontains(i) $($0) in $(LanguageList)
  94.     ifstr(i) $($1) == ""
  95.             goto returnoptions
  96.     endif
  97.     set PlatformList = ^(PlatformsSupported, 1)
  98.     Ifcontains(i) $($1) in $(PlatformList)
  99.             goto returnoptions
  100.     else
  101.             set Status = STATUS_NOTSUPPORTED
  102.             goto finish_ReturnOptions
  103.     endif
  104.     else
  105.         set Status = STATUS_NOLANGUAGE
  106.         goto finish_ReturnOptions
  107.     endif
  108.  
  109. returnoptions = +
  110.     set OptionList     = ^(Options, 1)
  111.     set OptionTextList = ^(OptionsText$($0), 1)
  112.     set Status         = STATUS_SUCCESSFUL
  113.  
  114. finish_ReturnOptions = +
  115.     Return $(Status) $(OptionList) $(OptionTextList)
  116.  
  117. [InstallOption]
  118.     set Status   = STATUS_FAILED
  119.     set Option   = $($1)
  120.     set SrcDir   = $($2)
  121.     set AddCopy  = $($3)
  122.     set DoCopy   = $($4)
  123.     set DoConfig = $($5)
  124.     set LanguageList = ^(LanguagesSupported, 1)
  125.     Ifcontains(i) $($0) NOT-IN $(LanguageList)
  126.     Return STATUS_NOLANGUAGE
  127.     endif
  128.     set-subst LF = "\n"
  129.     read-syms GeneralConstants
  130.     read-syms FileConstants
  131.     read-syms DialogConstants$(!STF_LANGUAGE)
  132.     ifstr(i) $(!NTN_Origination) == "NCPA"
  133.     set Continue = $(OK)
  134.     endif
  135.     read-syms FileConstants$(!STF_LANGUAGE)
  136.     detect date
  137.     set-title  $(FunctionTitle)
  138.     set to   = Begin
  139.     set from = Begin
  140.     set CommonStatus = STATUS_SUCCESSFUL
  141.     EndWait
  142. Begin = +
  143.     Set ActivateDetection = FALSE
  144.     Ifstr(i) $(!NTN_InstallMode) == deinstall
  145.     set StartLabel = removeadapter
  146.     else-Ifstr(i) $(!NTN_InstallMode) == Update
  147.     set StartLabel = UpgradeSoftware
  148.     else-Ifstr(i) $(!NTN_InstallMode) == bind
  149.     set StartLabel = bindingadapter
  150.     else-Ifstr(i) $(!NTN_InstallMode) == configure
  151.     set CommonStatus = STATUS_REBOOT
  152.     set ActivateDetection = TRUE
  153.  
  154.     set StartLabel = elpc3rISA509configureadapter
  155.  
  156.     Ifstr(i) $(ProductKeyName) == $(!NTN_RegBase)
  157.         Debug-Output "Cannot configure the EtherLink III driver software."
  158.         Shell $(UtilityInf),RegistryErrorString,CANNOT_CONFIGURE_SOFTWARE
  159.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  160.         Debug-Output "ShellCode error: cannot get an error string."
  161.         goto ShellCodeError
  162.         endif
  163.         set Error = $($R0)
  164.         set from = end
  165.         set to = end
  166.         goto nonfatalinfo
  167.     endif
  168.     else
  169.     set ActivateDetection = TRUE
  170.     set StartLabel = elpc3rISA509installadapter
  171.     set OEM_ABANDON_OPTIONS = {}
  172.     set OEM_ABANDON_SOFTWARE = FALSE
  173.     set OEM_ABANDON_ON = TRUE
  174.     endif
  175.     set AdapterTypeValue = 256    ; set default adapter type
  176.     Ifstr(i) $(Option) == ELNK16B
  177.     set AdapterTypeValue = 257
  178.     else-ifstr(i) $(Option) == ELNK16D
  179.     set AdapterTypeValue = 259
  180.     endif
  181.     set OldOption = $(Option)
  182.     Debug-Output "oemsetup.inf: =================================================="
  183.     Debug-Output "oemsetup.inf: STF_CWDIR is: "$(!STF_CWDIR)
  184.     Debug-Output "oemsetup.inf: STF_LANGUAGE is: "$(!STF_LANGUAGE)
  185.     Debug-Output "oemsetup.inf: Option is: "$(Option)
  186.     Debug-Output "oemsetup.inf: !STF_NCDETECT  is: "$(!STF_NCDETECT)
  187.     Debug-Output "oemsetup.inf: !STF_NCOPTION  is: "$(!STF_NCOPTION)
  188.     Debug-Output "oemsetup.inf: !STF_NCDETCARD is: "$(!STF_NCDETCARD)
  189.     Debug-Output "oemsetup.inf: !STF_NCDETINFO is: "$(!STF_NCDETINFO)
  190.     Debug-Output "oemsetup.inf: =================================================="
  191.     Set DetectedCard = FALSE
  192.  
  193.     Ifstr(i) $(ActivateDetection) != TRUE
  194.     Set from = $(fatal)
  195.     Set to = $(fatal)
  196.     Goto $(StartLabel)
  197.     Endif
  198.  
  199. SkipDetection = +
  200.     ; Don't need to set the IOBase in install mode for ISA adapters.
  201.     ;
  202.  
  203.     Set TypeList = {{IRQ, IRQList, IRQValue}, {IOADDR, IOADDR_Addr_List, IOBaseAddrValue}}
  204.     Debug-Output "oemsetup.inf: Calling Param_BuildTypeLists"
  205.     Debug-Output ">>> Option=$(Option) TypeList=$(TypeList)"
  206.     set Option = ELNK16
  207.     Shell $(ParamInf) Param_BuildTypeLists $(Option) $(TypeList)
  208.     set Option = $(OldOption);
  209.     Set Status = $($R0)
  210.     ifstr(i) $(Status) != STATUS_SUCCESSFUL
  211.     Goto fataldetect
  212.     Endif
  213.     Debug-Output "oemsetup.inf: Calling Param_SetDefaults"
  214.     Shell $(ParamInf) Param_SetDefaults {{IOADDR,768},{IRQ,10}}
  215.     Shell $(ParamInf) HexListFromDecList $(IOADDR_Addr_List)
  216.     Set IOADDR_Hex_List = $($R0)
  217.     Shell $(UtilityInf) SortList $(IRQList) TRUE FALSE
  218.     Set IRQList = $($R0)
  219.     Ifstr(i) $(!STF_NCDETECT) == YES
  220.     Ifstr(i) $(!STF_NCOPTION) == $(Option)
  221.        Set DetectedCard = TRUE
  222.        Debug-Output "oemsetup.inf: Setting DetectedCard to TRUE"
  223.     Endif
  224.     Endif
  225.     Shell "" DebugConfiguration "After parameter querying"
  226. SkipBuildTypeList = +
  227.     Set from = $(fatal)
  228.     Set to = $(fatal)
  229.     Debug-Output "$(InfFile) $(Option): Jumping to $(StartLabel)"
  230.     Goto $(StartLabel)
  231.  
  232. ;*******************************************************************************
  233. ;
  234. ; Etherlink III ISA Specific routines for the this .inf file.
  235. ;
  236. ;
  237. elpc3rISA509installadapter = +
  238.     Debug-Output "$(InfFile) $(Option): Installadapter"
  239.     OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyProduct
  240.     Ifstr $(KeyProduct) != $(KeyNull)
  241.     CloseRegKey $(KeyProduct)
  242.     ; @@1
  243.     ifstr(i) $(!NTN_RegBase) == $(ProductKeyName)
  244.        Shell $(UtilityInf), VerExistedDlg, $(ProductSoftwareTitle),+
  245.            $(ProductVersion)
  246.        ifint $($ShellCode) != $(!SHELL_CODE_OK)
  247.            Debug-Output "ShellCode error: cannot get an error string."
  248.            goto ShellCodeError
  249.        endif
  250.        goto end
  251.     else
  252.        Shell $(UtilityInf), CardExistedDlg
  253.        ifint $($ShellCode) != $(!SHELL_CODE_OK)
  254.            Debug-Output "ShellCode error: cannot get an error string."
  255.            goto ShellCodeError
  256.        endif
  257.        ifstr(i) $($R1) != "OK"
  258.            set CommonStatus = STATUS_USERCANCEL
  259.            goto end
  260.        endif
  261.        set OldVersionExisted = $(TRUE)
  262.     endif
  263.     endif
  264.     Set CurrParamSettings = {}
  265.     Ifstr(i) $(DetectedCard) != TRUE
  266.     Goto elpc3rISA509adaptersetup2
  267.     Endif
  268.     StartWait
  269.     Shell $(ParamInf) Param_QueryCard $(!STF_NCDETCARD)
  270.     EndWait
  271.     Ifstr(i) $($R0) != STATUS_SUCCESSFUL
  272.     Goto elpc3rISA509adaptersetup2
  273.     Endif
  274.     Set DetectedParams = $($R1)
  275.     Debug-Output "oemsetup.inf: Calling Param_SetDefaults to merge detected params"
  276.     Shell $(ParamInf) Param_SetDefaults $(DetectedParams)
  277.     goto elpc3rISA509adaptersetup2
  278.  
  279. elpc3rISA509configureadapter = +
  280.     Debug-Output "$(InfFile) $(Option): Configureadapter"
  281.     Ifstr $(KeyProduct) == $(KeyNull)
  282.     OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_RegBase) $(MAXIMUM_ALLOWED) KeyProduct
  283.     Ifstr $(KeyProduct) == $(KeyNull)
  284.         set RegistryErrorIndex = CANNOT_FIND_COMPONENT_SERVICE
  285.         Debug-Output "Cannot find component product key"
  286.         goto fatalregistry
  287.     Endif
  288.     Endif
  289.     Debug-Output "INF: Shelling to FindService"
  290.     Shell $(UtilityInf) FindService, $(KeyProduct)
  291.     Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  292.     Debug-Output "INF: FindService shell failure"
  293.     Goto ShellCodeError
  294.     Endif
  295.     Ifstr(i) $($R0) != NO_ERROR
  296.     Debug-Output "INF: FindService Shell error: "$($R0)
  297.     Goto fatalregistry
  298.     endif
  299.     Set KeyParameters = $($R2)
  300.     CloseRegKey $($R1)
  301.     Ifstr $(KeyParameters) == $(KeyNull)
  302.     set RegistryErrorIndex = CANNOT_FIND_COMPONENT_SERVICE
  303.     Debug-Output "Cannot find component service"
  304.     goto fatalregistry
  305.     endif
  306.     set OldVersionExisted = $(TRUE)
  307.     set ValueName = ""
  308.     set ValueData = ""
  309.     set ValueStr  = ""
  310.     set ValueList = {}
  311.     EnumRegValue $(KeyParameters) ValueList
  312.     ForListDo $(ValueList)
  313.     set ValueItem = $($)
  314.     set ValueName = *($(ValueItem),1)
  315.     set ValueData = *($(ValueItem),4)
  316.     Ifstr(i) $(ValueName) == "IoBaseAddress"
  317.         set IOBaseAddrValue = $(ValueData)
  318.     else-ifstr(i) $(ValueName) == "InterruptNumber"
  319.         set IRQValue = $(ValueData)
  320.     endif
  321.     EndForListDo
  322.     set BusInterfaceType = 8    ; PCCARD
  323.     set BusNumber = 0        ;
  324.     Shell $(ParamInf) Param_SaveValues
  325.     Set CurrParamSettings = $($R0)
  326.     Debug-Output "CurrParamSettings: $(CurrParamSettings)"
  327.  
  328. elpc3rISA509adaptersetup = +
  329.     Debug-Output "$(InfFile) $(Option): AdapterSetup"
  330.     Shell "" DebugConfiguration "before displaying dialog"
  331.     Set from = elpc3rISA509adapteroptions
  332.     Set IOADDR_Hex_Value = *($(IOADDR_Hex_List), ~($(IOADDR_Addr_List),$(IOBaseAddrValue)))
  333.     Shell $(ParamInf) Param_ParameterConfidence
  334.     Ifstr(i) $($R0) != STATUS_SUCCESSFUL
  335.     Debug-Output "oemsetup.inf: parameter confidence too low to bypass configuration"
  336.     Goto elpc3rISA509adapteroptions
  337.     Endif
  338. elpc3rISA509adaptersetup2 = +
  339.     Ifstr(i) $(DetectedCard) == TRUE
  340.     Ifstr(i) $(!STF_INSTALL_MODE) != CUSTOM
  341.         Goto elpc3rISA509adapterverify
  342.     Endif
  343.     Endif
  344.  
  345. elpc3rISA509adapteroptions = +
  346.     Debug-Output "$(InfFile) $(Option): AdapterOptions"
  347.     ifstr(i) $(!STF_GUI_UNATTENDED) == "YES"
  348.         ifstr(i) $(!AutoNetInterfaceType) != ""
  349.             set BusInterfaceType = $(!AutoNetInterfaceType)
  350.         else
  351.             set BusInterfaceType = 1
  352.         endif
  353.         ifstr(i) $(!AutoNetBusNumber) != ""
  354.             set BusNumber = $(!AutoNetBusNumber)
  355.         else
  356.             set BusNumber = 0
  357.         endif
  358.         goto elpc3rISA509adapterverify
  359.     endif
  360.     read-syms FileDependentDlg$(!STF_LANGUAGE)
  361.     Debug-Output "Calling ui start..."
  362.     Debug-Output "Combo1List: $(Combo1List)"
  363.     Debug-Output "Combo2List: $(Combo2List)"   
  364.     ui start "InputDlg"
  365.     Debug-Output "Leaving ui start..."
  366.     Debug-Output "Combo1Out: $(Combo1Out)"
  367.     Debug-Output "Combo2Out: $(Combo2Out)"   
  368.     ifstr(i) $(DLGEVENT) == "CONTINUE"
  369.     set IOADDR_Hex_Value = $(Combo1Out)
  370.     Set IOBaseAddrValue = *($(IOADDR_Addr_List), ~($(IOADDR_Hex_List),$(IOADDR_Hex_Value)))
  371.     set IRQValue = $(Combo2Out)
  372.     ui pop 1
  373.     else-ifstr(i) $(DLGEVENT) == "BACK"
  374.     set CommonStatus = STATUS_USERCANCEL
  375.     Debug-Output "Action: exit. Bye."
  376.     ui pop 1
  377.     goto end
  378.     else
  379.     Debug-Output "Action: unknown. Bye."
  380.     ui pop 1
  381.     goto end
  382.     endif
  383. ;;************************************************************************************************ 
  384. ;; Specific to WinNT v3.5 and above..
  385. getbustype = +
  386.         Shell $(UtilityInf),GetBusTypeDialog,$(ProductHardware$(Option)Description) $(BusInterfaceType) $(BusNumber)
  387.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  388.             Debug-Output "ShellCode error."
  389.             goto ShellCodeError
  390.         endif
  391.         set BusInterfaceType = $($R1)
  392.         set BusNumber = $($R2)
  393.         set BusInterfaceType = 1        ; force to use ISA
  394. ;        set BusNumber = 0
  395.  
  396. elpc3rISA509adapterverify = +
  397.     Debug-Output "$(InfFile) $(Option): Adapterverify"
  398.     Shell "" DebugConfiguration "after running dialog"
  399.     Ifstr(i) $(DetectedCard) != TRUE
  400.     Shell $(ParamInf) Param_SaveValues
  401.     Set NewParamSettings = $($R0)
  402.     Debug-Output "NewParamSettings: $(NewParamSettings)"
  403.     Ifstr(i) $(CurrParamSettings) == {}
  404.         Set DiffParamSettings = $(NewParamSettings)
  405.     Else
  406.         Shell $(ParamInf) Param_DiffValues $(CurrParamSettings)
  407.         Set DiffParamSettings = $($R0)
  408.     Endif
  409.     Debug-Output "oemsetup.inf: Calling Param_VerifyResources"
  410.     Shell $(ParamInf) Param_VerifyResources $(DiffParamSettings)
  411.     Ifstr(i) $($R0) == STATUS_SUCCESSFUL
  412.         Debug-Output "oemsetup.inf: Param_VerifyResources succeeded"
  413.         Goto elpc3rISA509skipoptions
  414.     Endif
  415.     Else
  416.     Set CardVerifyIndex = $(!STF_NCDETCARD)
  417.     Debug-Output "oemsetup.inf: Calling Param_VerifyCard"
  418.     Shell $(ParamInf) Param_VerifyCard $(!STF_NCDETCARD)
  419.     Ifstr(i) $($R0) == STATUS_SUCCESSFUL
  420.         Debug-Output "oemsetup.inf: Param_VerifyCard succeeded"
  421.         Goto elpc3rISA509skipoptions
  422.     Endif
  423.     Endif
  424.     Set from = elpc3rISA509adapteroptions
  425.     Set to = elpc3rISA509skipoptions
  426.     Shell $(UtilityInf),RegistryErrorString,VERIFY_WARNING
  427.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  428.     Debug-Output "ShellCode error: cannot get an error string."
  429.     goto ShellCodeError
  430.     endif
  431.     set Error = $($R0)
  432.     Goto Warning
  433.  
  434. elpc3rISA509skipoptions =+
  435.     Debug-Output "$(InfFile) $(Option): SkipOptions"
  436.     ifint $(OldVersionExisted) == $(TRUE)
  437.     ifstr(i) $(!NTN_InstallMode) == configure
  438.         goto elpc3rISA509writeparameters
  439.     endif
  440.     endif
  441.     StartWait
  442.     ifint $(OldVersionExisted) == $(FALSE)
  443.     ifstr(i) $(!NTN_InstallMode) == "install"
  444.        Ifstr(i) $(DoCopy) == "YES"
  445.           Shell $(UtilityInf), DoAskSource, $(!STF_CWDDIR), $(SrcDir) YES
  446.           Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  447.           Goto ShellCodeError
  448.           Else-Ifstr(i) $($R0) == STATUS_FAILED
  449.           Shell $(UtilityInf) RegistryErrorString "ASK_SOURCE_FAIL"
  450.           ifint $($ShellCode) != $(!SHELL_CODE_OK)
  451.               goto ShellCodeError
  452.           endif
  453.           set Error = $($R0)
  454.           Goto fatal
  455.           Else-Ifstr(i) $($R0) == STATUS_USERCANCEL
  456.           Goto successful
  457.           Endif
  458.           Set SrcDir = $($R1)
  459.        Endif
  460.        install "Install-Option"
  461.        ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
  462.           Shell $(UtilityInf) RegistryErrorString "UNABLE_COPY_FILE"
  463.           ifint $($ShellCode) != $(!SHELL_CODE_OK)
  464.           goto ShellCodeError
  465.           endif
  466.           set Error = $($R0)
  467.           goto fatal
  468.        endif
  469.     endif
  470.     Shell $(UtilityInf), AddSoftwareComponent, $(Manufacturer), +
  471.         $(ProductSoftwareName), +
  472.         $(ProductSoftwareName), +
  473.         $(ProductSoftwareTitle), $(STF_CONTEXTINFNAME), +
  474.         $(ProductSoftwareImagePath), "kernel", "NDIS", {}, "",+
  475.         $(NetEventDLL)
  476.     Set OEM_ABANDON_SOFTWARE = TRUE
  477.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  478.         Debug-Output "ShellCode error"
  479.         goto ShellCodeError
  480.     endif
  481.     set RegistryErrorIndex = $($R0)
  482.     set KeyProduct      = $($R1)
  483.     Set SoftNetRulesKey = $($R2)
  484.     CloseRegKey $($R3)
  485.     CloseRegKey $($R4)
  486.     CloseRegKey $($R5)
  487.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  488.         EndWait
  489.         Debug-Output "Registry error: add software components"
  490.         CloseRegKey $(KeyProduct)
  491.         CloseRegKey $(SoftNetRulesKey)
  492.         goto fatalregistry
  493.     endif
  494.     set NewValueList = {{SoftwareType,$(NoTitle),$(!REG_VT_SZ),$(SoftwareType)},+
  495.                {MajorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMajorVersion)},+
  496.                {MinorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMinorVersion)},+
  497.                {Title,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareTitle)},+
  498.                {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareDescription)},+
  499.                {ServiceName,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareName)},+
  500.                {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}}
  501.     Shell  $(UtilityInf), AddValueList, $(KeyProduct), $(NewValueList)
  502.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  503.         Debug-Output "ShellCode error."
  504.         goto ShellCodeError
  505.     endif
  506.     set RegistryErrorIndex = $($R0)
  507.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  508.         EndWait
  509.         Debug-Output "Registry error: add value list."
  510.         CloseRegKey $(KeyProduct)
  511.         CloseRegKey $(SoftNetRulesKey)
  512.         goto fatalregistry
  513.     endif
  514.     set NewValueList = {{type,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareType)},+
  515.                 {use,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareUse)}, +
  516.                 {bindform,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareBindForm)}, +
  517.                 {class,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleSoftwareClass)}, +
  518.                 {bindable,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleSoftwareBindable)}, +
  519.                 {InfOption,$(NoTitle),$(!REG_VT_SZ),$(Option)}}
  520.     Shell  $(UtilityInf), AddValueList, $(SoftNetRulesKey), $(NewValueList)
  521.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  522.         Debug-Output "ShellCode error."
  523.         goto ShellCodeError
  524.     endif
  525.     set RegistryErrorIndex = $($R0)
  526.     CloseRegKey $(KeyProduct)
  527.     CloseRegKey $(SoftNetRulesKey)
  528.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  529.         EndWait
  530.         Debug-Output "Resgitry error: add value list."
  531.         goto fatalregistry
  532.     endif
  533.     endif
  534.     Shell $(UtilityInf), AddHardwareComponent, $(ProductHardwareName),$(STF_CONTEXTINFNAME),$(ProductKeyName)
  535.     ifint $($R4) != -1
  536.     Set OEM_ABANDON_OPTIONS = >($(OEM_ABANDON_OPTIONS), $(!NTN_SoftwareBase)"\Microsoft\Windows NT\CurrentVersion\NetworkCards\"$($R4))
  537.     endif
  538.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  539.     Debug-Output "Cannot add hardware component"
  540.     goto ShellCodeError
  541.     endif
  542.     set RegistryErrorIndex = $($R0)
  543.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  544.     EndWait
  545.     Debug-Output "Registry error: add hardware component"
  546.     CloseRegKey $($R1)
  547.     CloseRegKey $($R2)
  548.     CloseRegKey $($R3)
  549.     goto fatalregistry
  550.     endif
  551.     set KeyParameters = $($R3)
  552.     set KeyAdapterRules = $($R2)
  553.     set AdapterNumber = $($R4)
  554.     set NewValueList = {{Manufacturer,$(NoTitle),$(!REG_VT_SZ),$(Manufacturer)},+
  555.                {Title,$(NoTitle),$(!REG_VT_SZ),"["$($R4)"] "$(ProductHardware$(Option)Title)},+
  556.                {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductHardware$(Option)Description)},+
  557.                {ProductName,$(NoTitle),$(!REG_VT_SZ),$(ProductHardwareName)},+
  558.                {ServiceName,$(NoTitle),$(!REG_VT_SZ),$($R5)},+
  559.                {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}}
  560.     Shell  $(UtilityInf), AddValueList, $($R1), $(NewValueList)
  561.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  562.     Debug-Output "ShellCode error"
  563.     goto ShellCodeError
  564.     endif
  565.     CloseRegKey $($R1)
  566.     set TempProdName = """"$(ProductHardwareName)$(AdapterNumber)""""
  567.     set TempBindForm = $(TempProdName)$(NetRuleHardwareBindForm)
  568.     set NewValueList = {{type,$(NoTitle),$(!REG_VT_SZ),$(NetRuleHardwareType)},+
  569.             {bindform,$(NoTitle),$(!REG_VT_SZ),$(TempBindForm)}, +
  570.             {class,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleHardwareClass)}, +
  571.             {InfOption,$(NoTitle),$(!REG_VT_SZ),$(Option)}}
  572.     Shell  $(UtilityInf), AddValueList, $(KeyAdapterRules), $(NewValueList)
  573.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  574.     Debug-Output "ShellCode error."
  575.     goto ShellCodeError
  576.     endif
  577.     set RegistryErrorIndex = $($R0)
  578.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  579.     EndWait
  580.     Debug-Output "Resgitry error: add value list."
  581.     CloseRegKey $(KeyParameters)
  582.     CloseRegKey $(KeyAdapterRules)
  583.     goto fatalregistry
  584.     endif
  585.     CloseRegKey $(KeyAdapterRules)
  586.     goto elpc3rISA509writeparameters
  587.  
  588. elpc3rISA509writeparameters = +
  589.     Debug-Output "$(InfFile) $(Option): Write Pcmcia database"
  590.     OpenRegKey $(!REG_H_LOCAL) "" "SYSTEM\CurrentControlSet\Services\Pcmcia\DataBase\3Com Corporation\3C589" $(MAXIMUM_ALLOWED) MyPcmciaHandle
  591.     Ifstr $(MyPcmciaHandle) == $(KeyNull)
  592.     Debug-Output "CreatRegKey (3C589)"
  593.     OpenRegKey $(!REG_H_LOCAL) "" "SYSTEM\CurrentControlSet\Services\Pcmcia\DataBase\3Com Corporation" $(MAXIMUM_ALLOWED) MyPcmciaKey
  594.     CreateRegKey $(MyPcmciaKey) {"3C589",0,GenericClass} "" $(MAXIMUM_ALLOWED) "" MyPcmcialHandle
  595.     CloseRegKey ($MyPcmciaKey)
  596.         OpenRegKey $(!REG_H_LOCAL) "" "SYSTEM\CurrentControlSet\Services\Pcmcia\DataBase\3Com Corporation\3C589" $(MAXIMUM_ALLOWED) MyPcmciaHandle
  597.     endif
  598.     set NewValueList = {{Driver,$(NoTitle),$(!REG_VT_SZ),"elpc3r"}}
  599.     Shell $(UtilityInf), AddValueList, $(MyPcmciaHandle), $(NewValueList)
  600.     Debug-Output "<DBG> AddValueList - Driver:REG_SZ:elpc3r"
  601.     CloseRegKey $(MyPcmciaHandle)
  602.  
  603.     Debug-Output "$(InfFile) $(Option): Write Pcmcia database"
  604.     OpenRegKey $(!REG_H_LOCAL) "" "SYSTEM\CurrentControlSet\Services\Pcmcia\DataBase\3Com Corporation\3C589D" $(MAXIMUM_ALLOWED) MyPcmciaHandle
  605.     Ifstr $(MyPcmciaHandle) == $(KeyNull)
  606.     Debug-Output "CreatRegKey (3C589D)"
  607.     OpenRegKey $(!REG_H_LOCAL) "" "SYSTEM\CurrentControlSet\Services\Pcmcia\DataBase\3Com Corporation" $(MAXIMUM_ALLOWED) MyPcmciaKey
  608.     CreateRegKey $(MyPcmciaKey) {"3C589D",0,GenericClass} "" $(MAXIMUM_ALLOWED) "" MyPcmcialHandle
  609.     CloseRegKey ($MyPcmciaKey)
  610.         OpenRegKey $(!REG_H_LOCAL) "" "SYSTEM\CurrentControlSet\Services\Pcmcia\DataBase\3Com Corporation\3C589D" $(MAXIMUM_ALLOWED) MyPcmciaHandle
  611.     endif
  612.     set NewValueList = {{Driver,$(NoTitle),$(!REG_VT_SZ),"elpc3r"}}
  613.     Shell $(UtilityInf), AddValueList, $(MyPcmciaHandle), $(NewValueList)
  614.     Debug-Output "<DBG> AddValueList - Driver:REG_SZ:elpc3r"
  615.     CloseRegKey $(MyPcmciaHandle)
  616.  
  617.     Debug-Output "$(InfFile) $(Option): Write"
  618.     Set NewValueList = {+
  619.                {BusType,$(NoTitle),$(!REG_VT_DWORD),$(BusInterfaceType)},+
  620.                {BusNumber,$(NoTitle),$(!REG_VT_DWORD),$(BusNumber)},+
  621.                {CardType,$(NoTitle),$(!REG_VT_DWORD),0},+
  622.                {MediaType,$(NoTitle),$(!REG_VT_DWORD),1},+
  623.                {InterruptNumber,$(NoTitle),$(!REG_VT_DWORD),$(IRQValue)},+
  624.                {IoBaseAddress,$(NoTitle),$(!REG_VT_DWORD),$(IOBaseAddrValue)},+
  625.                {Pcmcia,$(NoTitle),$(!REG_VT_DWORD),1},+
  626.            {AdapterType,$(NoTitle),$(!REG_VT_DWORD),$(AdapterTypeValue)},+
  627.            {OSType,$(NoTitle),$(!REG_VT_DWORD),1}}
  628.     Shell  $(UtilityInf), AddValueList, $(KeyParameters), $(NewValueList)
  629.     ifstr(i) $(!STF_GUI_UNATTENDED) == "YES"
  630.     Shell $(UtilityInf), AddDefaultNetCardParameters, $(KeyParameters)
  631.     endif
  632.     CloseRegKey $(KeyParameters)
  633.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  634.     Debug-Output "ShellCode error."
  635.     goto ShellCodeError
  636.     endif
  637.     set RegistryErrorIndex = $($R0)
  638.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  639.     Debug-Output "Registry error: Add value list"
  640.     goto fatalregistry
  641.     endif
  642.     EndWait
  643.     goto successful
  644.  
  645. ;*******************************************************************************
  646. ;
  647. ; Common routines for the entire .inf file.
  648. ;
  649. ;
  650. bindingadapter =+
  651.     set Error = "Binding: Sorry, not yet implemented."
  652.     goto fatal
  653. removeadapter = +
  654.     Ifstr(i) $(ProductKeyName) == $(!NTN_RegBase)
  655.     Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer), +
  656.         $(ProductSoftwareName)
  657.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  658.         Debug-Output "ShellCode error"
  659.         goto ShellCodeError
  660.     endif
  661.     set RegistryErrorIndex = $($R0)
  662.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  663.         goto fatalregistry
  664.     endif
  665.     else
  666.     Shell $(UtilityInf), RemoveHardwareComponent, $(Manufacturer), +
  667.         $(ProductSoftwareName), $(!NTN_RegBase)
  668.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  669.         Debug-Output "ShellCode error"
  670.         goto ShellCodeError
  671.     endif
  672.     set RegistryErrorIndex = $($R0)
  673.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  674.         goto fatalregistry
  675.     endif
  676.     endif
  677.     goto end
  678. UpgradeSoftware = +
  679.     Debug-Output "Looking at Key: "$(ProductKeyName)
  680.     OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyProduct
  681.     ;
  682.     ; Also update if Microsoft installed the driver.
  683.     ;
  684.     Ifstr $(KeyProduct) == $(KeyNull) 
  685.         Debug-Output "Looking at Key: "$(MS_ProductKeyName)
  686.         OpenRegKey $(!REG_H_LOCAL) "" $(MS_ProductKeyName) $(MAXIMUM_ALLOWED) KeyProduct
  687.     endif
  688.     Ifstr $(KeyProduct) != $(KeyNull)
  689.     Debug-Output "Adding files to install list"
  690.     install "Install-Update"
  691.     ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
  692.         goto fatal
  693.     endif
  694.     Debug-Output "Changing Reg Version Nubmers!"
  695.     SetRegValue $(KeyProduct) {MajorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMajorVersion)}
  696.     SetRegValue $(KeyProduct) {MinorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMinorVersion)}
  697.     CloseRegKey $(KeyProduct)
  698.     else
  699.     goto fatalregistry
  700.     endif
  701.     goto end
  702.  
  703. successful = +
  704.     goto end
  705.  
  706. abandon = +
  707.     ForListDo $(OEM_ABANDON_OPTIONS)
  708.     Shell $(UtilityInf), RemoveHardwareComponent, $(Manufacturer), +
  709.         $(ProductSoftwareName), $($)
  710.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  711.         Debug-Output "ShellCode error"
  712.         goto ShellCodeError
  713.     endif
  714.     set RegistryErrorIndex = $($R0)
  715.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  716.         goto fatalregistry
  717.     endif
  718.     EndForListDo
  719.     Ifstr(i) $(OEM_ABANDON_SOFTWARE) == TRUE
  720.     Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer), +
  721.         $(ProductSoftwareName), FALSE
  722.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  723.         Debug-Output "ShellCode error"
  724.         goto ShellCodeError
  725.     endif
  726.     set RegistryErrorIndex = $($R0)
  727.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  728.         goto fatalregistry
  729.     endif
  730.     endif
  731.     goto end
  732. warning = +
  733.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "WARNING", $(Error)
  734.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  735.     goto ShellCodeError
  736.     endif
  737.     ifstr(i) $($R1) == "OK"
  738.     goto $(to)
  739.     else-ifstr(i) $($R1) == "CANCEL"
  740.     goto $(from)
  741.     else
  742.     goto "end"
  743.     endif
  744. nonfatalinfo = +
  745.     Set Severity = STATUS
  746.     Set CommonStatus = STATUS_USERCANCEL
  747.     goto nonfatalmsg
  748. nonfatal = +
  749.     Set Severity = NONFATAL
  750.     goto nonfatalmsg
  751. nonfatalmsg = +
  752.     ifstr(i) $(Error) == ""
  753.     Set Severity = NONFATAL
  754.     Shell $(UtilityInf) RegistryErrorString "SETUP_FAIL"
  755.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  756.         goto ShellCodeError
  757.     endif
  758.     set Error = $($R0)
  759.     endif
  760.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), $(Severity), $(Error)
  761.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  762.     goto ShellCodeError
  763.     endif
  764.     ifstr(i) $($R1) == "OK"
  765.     goto $(from)
  766.     else
  767.     goto "end"
  768.     endif
  769. fatalregistry = +
  770.     Shell $(UtilityInf) RegistryErrorString $(RegistryErrorIndex)
  771.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  772.     goto ShellCodeError
  773.     endif
  774.     set Error = $($R0)
  775.     goto fatal
  776. fataldetect = +
  777.     Shell $(UtilityInf),RegistryErrorString,CANNOT_DETECT
  778.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  779.     Debug-Output "ShellCode error: cannot get an error string."
  780.     goto ShellCodeError
  781.     endif
  782.     set Error = $($R0)
  783.     Goto fatal
  784. fatal = +
  785.     ifstr(i) $(Error) == ""
  786.     Shell $(UtilityInf) RegistryErrorString "SETUP_FAIL"
  787.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  788.         goto ShellCodeError
  789.     endif
  790.     set Error = $($R0)
  791.     endif
  792.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(Error)
  793.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  794.     goto ShellCodeError
  795.     endif
  796.     goto setfailed
  797. ShellCodeError = +
  798.     set DlgType      = "MessageBox"
  799.     set STF_MB_TITLE = $(ShellCodeErrorTitle)
  800.     set STF_MB_TEXT  = $(ShellCodeErrorText)
  801.     set STF_MB_TYPE  = 1
  802.     set STF_MB_ICON  = 3
  803.     set STF_MB_DEF   = 1
  804.     ui start "Error Message"
  805.     goto setfailed
  806. setfailed = +
  807.     set CommonStatus = STATUS_FAILED
  808.     ifstr(i) $(OEM_ABANDON_ON) == TRUE
  809.     set OEM_ABANDON_ON = FALSE
  810.     goto abandon
  811.     endif
  812.     goto end
  813. end = +
  814.     goto term
  815. term = +
  816.     Return $(CommonStatus)
  817.  
  818. [DebugConfiguration]
  819.     Set InfName = "Oemsetup.INF"
  820.     Debug-Output $(InfName)" **CONFIGURATION STATE: "$($0)
  821.     Debug-Output $(InfName)" IOBaseAddrValue is "$(!p:IOBaseAddrValue)
  822.     return
  823.  
  824. [Install-Option]
  825.     set STF_VITAL = ""
  826.     ifstr(i) $(AddCopy) == "YES"
  827.         Debug-Output $(InfName)"Adding files: Files-$(Option), SrcDir=$(SrcDir)"
  828.     AddSectionFilesToCopyList Files-$(Option) $(SrcDir) $(!STF_WINDOWSSYSPATH)\drivers
  829.         AddSectionFilesToCopyList Files-Inf $(SrcDir) $(!STF_WINDOWSSYSPATH)
  830.     endif
  831.     ifstr(i) $(DoCopy) == "YES"
  832.        set !STF_NCPA_FLUSH_COPYLIST = TRUE
  833.        CopyFilesInCopyList
  834.     endif
  835.     Exit
  836.  
  837. [Install-Update]
  838.    set STF_VITAL        = ""
  839.    set STF_OVERWRITE    = "VERIFYSOURCEOLDER"
  840.    Debug-Output $(InfName)"Adding files: Files-$(Option), SrcDir=$(SrcDir)"
  841.    AddSectionFilesToCopyList Files-$(Option) $(SrcDir) $(!STF_WINDOWSSYSPATH)\drivers
  842.    AddSectionFilesToCopyList Files-Inf $(SrcDir) $(!STF_WINDOWSSYSPATH)
  843.    set !STF_NCPA_FLUSH_COPYLIST = TRUE
  844.    CopyFilesInCopyList
  845.    exit
  846.  
  847. [Source Media Descriptions]
  848.     1  = "Windows NT Setup Disk #1"  , TAGFILE = disk1
  849.     2  = "Windows NT Setup CD-ROM Disk"  , TAGFILE = disk2
  850.     3  = "3Com Etherdisk for EtherLink III", TAGFILE = elpc3r.dsk
  851.  
  852. [Signature]
  853.     FileType = MICROSOFT_FILE
  854.  
  855. [GetSignature]
  856.     read-syms Signature
  857.     return $(FileType)
  858.  
  859. [ProductType]
  860. STF_PRODUCT  = Winnt
  861. STF_PLATFORM = I386
  862.  
  863. [Files-Inf]
  864.  
  865. [Files-ELNK16]
  866. 3,elpc3r.sys , SIZE=35328
  867.  
  868. [Files-ELNK16B]
  869. 3,elpc3r.sys , SIZE=35328
  870.  
  871. [Files-ELNK16D]
  872. 3,elpc3r.sys , SIZE=35328
  873.  
  874. [LanguagesSupported]
  875.     ENG
  876.  
  877. [OptionsTextENG]
  878.     ELNK16       = "3Com EtherLink III (3C589) LAN PC Card"
  879.     ELNK16B      = "3Com EtherLink III (3C589B/C) LAN PC Card"
  880.     ELNK16D      = "3Com EtherLink III (3C589D) LAN PC Card"
  881.  
  882. [FileConstantsENG]
  883. ProCaption   = "Windows NT Setup"
  884. ProCancel    = "Cancel"
  885. ProCancelMsg = "Windows NT Networking is not correctly installed.  "+
  886.            "Are you sure you want to cancel copying files?"
  887. ProCancelCap = "Network Setup Message"
  888. ProText1     = "Copying:"
  889. ProText2     = "To:"
  890. FunctionTitle                           = "3Com EtherLink III PC Card"
  891. ProductSoftwareDescription              = "3Com EtherLink III PC Card Driver"
  892. ProductSoftwareTitle                    = "3Com EtherLink III PC Card Driver"
  893. ProductHardwareELNK16Title              = "3Com EtherLink III (3C589) LAN PC Card"
  894. ProductHardwareELNK16Description        = "3Com EtherLink III (3C589) LAN PC Card"
  895. ProductHardwareELNK16BTitle             = "3Com EtherLink III (3C589B/C) LAN PC Card"
  896. ProductHardwareELNK16BDescription       = "3Com EtherLink III (3C589B/C) LAN PC Card"
  897. ProductHardwareELNK16DTitle             = "3Com EtherLink III (3C589D) LAN PC Card"
  898. ProductHardwareELNK16DDescription       = "3Com EtherLink III (3C589D) LAN PC Card"
  899. ShellCodeErrorTitle                     = "Error: "$(FunctionTitle)
  900. ShellCodeErrorText                      = "Shell Code Error."
  901.  
  902. [DialogConstantsENG]
  903. Help        = "&Help"
  904. Exit        = "Cancel"
  905. OK          = "OK"
  906. HelpContext = ""
  907. Continue    = "Continue"
  908. Cancel      = "Cancel"
  909.  
  910. [FileDependentDlgENG]
  911. Label1 = "I/O &Port Address:"
  912. Label2 = "&Interrupt Number:"
  913. DlgType = "Combination"
  914. DlgTemplate = "NE2000"
  915. Caption = $(FunctionTitle)
  916. Combo1List = $(IOADDR_Hex_List)
  917. Combo1Out  = $(IOADDR_Hex_Value)
  918. Combo2List = $(IRQList)
  919. Combo2Out = $(IRQValue)
  920. ComboListItemsIn = {Combo1List, Combo2List}
  921. ComboListItemsOut = {Combo1Out, Combo2Out}
  922. EditTextIn = ""
  923. EditTextLim = ""
  924. CBOptionsGreyed = {}
  925. NotifyFields = {NO, NO, NO}
  926. HelpContext = $(!IDH_DB_OEMNADE3_INS)
  927.  
  928.