Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

157 lines
4.8 KiB

  1. [Version]
  2. LayoutFile=layout.inf
  3. Signature = "$Windows NT$"
  4. Provider=%VIA%
  5. Class=Infrared
  6. ClassGUID = {6bdd1fc5-810f-11d0-BEC7-08002BE2092F}
  7. [DestinationDirs]
  8. ;
  9. ; Specify destination directories for groups of files.
  10. ; '12' indicates the Windows System32\drivers directory.
  11. ;
  12. DefaultDestDir=12
  13. [Manufacturer]
  14. ;
  15. ; Specify a name and devices section for each supported manufacturer that
  16. ; makes products of this class.
  17. ;
  18. "VIA Technologies, Inc."=VIA_Devices
  19. [VIA_Devices]
  20. ;
  21. ; This section describes the devices of this class made by a particular
  22. ; manufacturer.
  23. ; The first descriptor, delimited by '%', is a symbolic string whose actual
  24. ; value is given in the [Strings] section below.
  25. ;
  26. %VIA3058.DeviceDesc% = VIA3058.ndi,*VIA3058 ; VIA Device
  27. [VIA3058.ndi]
  28. SyssetupPnPFlags=1
  29. ;
  30. ; This section describes how to install a particular device.
  31. ; It names other sections which detail the registry changes
  32. ; that need to be made and the files that need to be copied.
  33. ;
  34. DeviceID=*VIA3058
  35. DelReg=VIA_DelReg
  36. AddReg=VIA_AddReg,IR3058_AddReg,Dongle_Addreg,MAXSPEED_AddReg,Help_AddReg
  37. MaxInstance=1
  38. BusType = 14
  39. Characteristics = 0x4 ; NCF_PHYSICAL
  40. CopyFiles=VIA_CopyFiles
  41. [VIA3058.ndi.Services]
  42. AddService= VIAIRDA, 2, VIAIRDA.AddService, common.EventLog
  43. [VIA3058.ndi.Coinstallers]
  44. DelReg=VIA_DelCoinstallers
  45. [VIA_CopyFiles]
  46. ;
  47. ; This section lists the source and destination names of files that need
  48. ; to be copied to the user's drive. The destination directory is given
  49. ; in the [DestinationDirs] section above.
  50. ;
  51. viairda.sys
  52. [VIA_AddReg]
  53. ;HKR,NDI\Install,,0,VIAIRDA.Install
  54. ; Interfaces
  55. HKR, Ndi, Service, 0, "VIAIRDA"
  56. HKR, , BusType, 0, "14"
  57. HKR,NDI\Interfaces,DefUpper,0,ndisirda
  58. HKR,NDI\Interfaces,UpperRange,0,ndisirda
  59. HKR,Ndi\Interfaces, DefLower, 0,nolower
  60. HKR,Ndi\Interfaces, LowerRange, 0,nolower
  61. HKR,Ndi,RequiredAll,0,"MS_IrDA"
  62. [IR3058_AddReg]
  63. HKR, , BoardType, 0, "0"
  64. HKR,NDI\params\Dongle,default,,"2"
  65. HKR,NDI\params\MaxConnectRate,default,,"4000000"
  66. [Dongle_Addreg]
  67. ;
  68. ; These entries allow the user to select the Configuration Register
  69. ; dialog box AFTER INSTALLATION (under the 'Advanced' options).
  70. ; The user's selection is recorded in the registry and then read out
  71. ; by the nscirda.sys driver at boot time.
  72. ;
  73. HKR,NDI\params\Dongle,ParamDesc,,%Dongle%
  74. HKR,NDI\params\Dongle,flag,1,20,00,00,00
  75. ;HKR,NDI\params\Dongle,default,,"2"
  76. HKR,NDI\params\Dongle,type,,enum
  77. HKR,NDI\params\Dongle\enum,"1",,%DongleType_1%
  78. HKR,NDI\params\Dongle\enum,"2",,%DongleType_2%
  79. HKR,NDI\params\Dongle\enum,"3",,%DongleType_3%
  80. [MAXSPEED_AddReg]
  81. ;These entries allow the user to select the Max speed which the device
  82. ;will support. The user's selection is recorded in the registry and then
  83. ;read out by the viairda.sys driver at boot time.
  84. HKR,NDI\params\MaxConnectRate,ParamDesc,,"MaxConnectRate"
  85. HKR,NDI\params\MaxConnectRate,type,,enum
  86. HKR,NDI\params\MaxConnectRate\enum,"4000000",,"4,000,000 bps"
  87. HKR,NDI\params\MaxConnectRate\enum,"1152000",,"1,152,000 bps"
  88. HKR,NDI\params\MaxConnectRate\enum,"115200",, " 115,200 bps"
  89. HKR,NDI\params\MaxConnectRate\enum,"57600",, " 57,600 bps"
  90. HKR,NDI\params\MaxConnectRate\enum,"38400",, " 38,400 bps"
  91. HKR,NDI\params\MaxConnectRate\enum,"19200",, " 19,200 bps"
  92. HKR,NDI\params\MaxConnectRate\enum,"9600",, " 9,600 bps"
  93. [VIA_DelReg]
  94. HKR,,EnumPropPages32
  95. [VIA_DelCoinstallers]
  96. HKR,,CoInstallers32
  97. [Help_Addreg]
  98. HKR,NDI,HelpText,0,%IRMINI_HELP%
  99. [VIAIRDA.AddService]
  100. DisplayName = %VIAIRDA.ServiceDesc%
  101. ServiceType = 1 ; %SERVICE_KERNEL_DRIVER%
  102. StartType = 3 ; %SERVICE_DEMAND_START%
  103. ErrorControl = 1 ; %SERVICE_ERROR_NORMAL%
  104. ServiceBinary = %12%\viairda.sys ;12=drivers directory
  105. LoadOrderGroup = NDIS
  106. [common.EventLog]
  107. AddReg = common.AddEventLog.reg
  108. [common.AddEventLog.reg]
  109. HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
  110. HKR, , TypesSupported, 0x00010001, 7
  111. [Strings]
  112. ;
  113. ; This section defines symbolic string constants for use in the rest
  114. ; of the .inf script. You should create and use symbols for all
  115. ; translatable strings in order to make localization easier.
  116. ; Also, spaces within strings elsewhere in the script confuse infedit.exe;
  117. ; so use symbolic constants for any multi-word strings.
  118. ;
  119. IRMINI_HELP="The IrDA infrared port. It can be used to establish wireless serial and network links to other computers."
  120. VIAIRDA.ServiceDesc="VIA Infrared Device Driver"
  121. VIA3058.DeviceDesc="VIA Fast Infrared Controller"
  122. V_CLASSNAME="Infrared adapters"
  123. VIA="VIA Technologies, Inc."
  124. Dongle="Infrared Transceiver"
  125. DongleType_1="HP HSDL-1100"
  126. DongleType_2="IBM 31T1100"
  127. DongleType_3="HP HSDL-3600"