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.

273 lines
7.2 KiB

  1. ; tosfdc2.inf
  2. ;
  3. ; Installation inf for Toshiba Floppy Disk Controller (DDK Sample).
  4. ;
  5. ; (c) Copyright 2000 Microsoft
  6. ;
  7. [Version]
  8. Signature="$WINDOWS NT$"
  9. Class=fdc
  10. ClassGuid={4D36E969-E325-11CE-BFC1-08002BE10318}
  11. Provider=%TOSHIBA%
  12. CatalogFile=ddk_sample.cat
  13. DriverVer=07/18/2001,5.00.2195.1
  14. [SourceDisksNames]
  15. 1 = "Toshiba NT Floppy Controller Driver",disk1,,\
  16. [SourceDisksFiles]
  17. %FileDesktop1% = 1
  18. %FileDesktop2% = 1
  19. %FileDesktop3% = 1
  20. %FileNotebook1% = 1
  21. %FileLibretto1% = 1
  22. [DestinationDirs]
  23. DefaultDestDir=12
  24. [Manufacturer]
  25. %TOSHIBA%=TSBMfg
  26. [TSBMfg]
  27. %DeviceLibrettoA% = InstallLibrettoA,PCMCIA\Y-E_DATA-External_FDD-994B
  28. %DeviceNotebookA% = InstallNotebookA,*PNP0700
  29. %DeviceDesktopA% = InstallDesktopA,*PNP0700
  30. %DeviceDesktopB1% = InstallDesktopB1,*PNP0700
  31. %DeviceDesktopB2% = InstallDesktopB2,*PNP0700
  32. %DeviceDesktopB3% = InstallDesktopB3,*PNP0700
  33. %DeviceDesktopB4% = InstallDesktopB4,*PNP0700
  34. %DeviceDesktopC% = InstallDesktopC,*PNP0700
  35. ;
  36. ; Libretto Type A
  37. ;
  38. [InstallLibrettoA.nt]
  39. CopyFiles=CopyFileLibrettoA
  40. DriverVer=11/06/1998,5.7.1
  41. [CopyFileLibrettoA]
  42. %FileLibretto1%
  43. [InstallLibrettoA.nt.Services]
  44. AddService = lbrtfdc, %SPSVCINST_ASSOCSERVICE%, ServiceInstallLibrettoA, Miniport_EventLog_Inst
  45. [ServiceInstallLibrettoA]
  46. DisplayName=%ServiceLibrettoA%
  47. ServiceType=%SERVICE_KERNEL_DRIVER%
  48. StartType=%SERVICE_BOOT_START%
  49. ErrorControl=%SERVICE_ERROR_NORMAL%
  50. ServiceBinary = %12%\%FileLibretto1%
  51. ;*************************************************************
  52. ;The EventLog entries are the same for all SCSI miniports.
  53. [Miniport_EventLog_Inst]
  54. AddReg = Miniport_EventLog_AddReg
  55. [Miniport_EventLog_AddReg]
  56. HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll"
  57. HKR,,TypesSupported,%REG_DWORD%,7
  58. ;
  59. ; Notebook Type A
  60. ;
  61. [InstallNotebookA.nt]
  62. CopyFiles=CopyFileNotebookA
  63. DriverVer=11/06/1998,5.1.1
  64. [CopyFileNotebookA]
  65. %FileNotebook1%
  66. [InstallNotebookA.nt.Services]
  67. AddService=fdc,2,ServiceInstallNotebookA
  68. [ServiceInstallNotebookA]
  69. DisplayName=%ServiceNotebookA%
  70. ServiceType=%SERVICE_KERNEL_DRIVER%
  71. StartType=%SERVICE_START_MANUAL%
  72. ErrorControl=%SERVICE_ERROR_NORMAL%
  73. ServiceBinary = %12%\%FileNotebook1%
  74. ;
  75. ; Desktop Type A
  76. ;
  77. [InstallDesktopA.nt]
  78. CopyFiles=CopyFileDesktopA
  79. DriverVer=11/06/1998,5.1.1
  80. [CopyFileDesktopA]
  81. %FileDesktop1%
  82. [InstallDesktopA.nt.Services]
  83. AddService=fdc,2,ServiceInstallDesktopA
  84. [ServiceInstallDesktopA]
  85. DisplayName=%ServiceDesktopA%
  86. ServiceType=%SERVICE_KERNEL_DRIVER%
  87. StartType=%SERVICE_START_MANUAL%
  88. ErrorControl=%SERVICE_ERROR_NORMAL%
  89. ServiceBinary = %12%\%FileDesktop1%
  90. ;
  91. ; Desktop Type B1
  92. ;
  93. [InstallDesktopB1.nt]
  94. CopyFiles=CopyFileDesktopB1
  95. AddReg=AddRegDesktopB1
  96. DriverVer=11/06/1998,5.1.1
  97. [CopyFileDesktopB1]
  98. %FileDesktop2%
  99. [AddRegDesktopB1]
  100. HKLM,%REG_KEY_PARAMETERS%,"ConfigurationBase",%REG_DWORD%,0x370
  101. HKLM,%REG_KEY_PARAMETERS%,"ControllerID",%REG_DWORD%,0x40
  102. [InstallDesktopB1.nt.Services]
  103. AddService=fdc,2,ServiceInstallDesktopB1
  104. [ServiceInstallDesktopB1]
  105. DisplayName=%ServiceDesktopB1%
  106. ServiceType=%SERVICE_KERNEL_DRIVER%
  107. StartType=%SERVICE_START_MANUAL%
  108. ErrorControl=%SERVICE_ERROR_NORMAL%
  109. ServiceBinary = %12%\%FileDesktop2%
  110. ;
  111. ; Desktop Type B2
  112. ;
  113. [InstallDesktopB2.nt]
  114. CopyFiles=CopyFileDesktopB2
  115. AddReg=AddRegDesktopB2
  116. DriverVer=11/06/1998,5.1.1
  117. [CopyFileDesktopB2]
  118. %FileDesktop2%
  119. [AddRegDesktopB2]
  120. HKLM,%REG_KEY_PARAMETERS%,"ConfigurationBase",%REG_DWORD%,0x3f0
  121. HKLM,%REG_KEY_PARAMETERS%,"ControllerID",%REG_DWORD%,0x40
  122. [InstallDesktopB2.nt.Services]
  123. AddService=fdc,2,ServiceInstallDesktopB2
  124. [ServiceInstallDesktopB2]
  125. DisplayName=%ServiceDesktopB2%
  126. ServiceType=%SERVICE_KERNEL_DRIVER%
  127. StartType=%SERVICE_START_MANUAL%
  128. ErrorControl=%SERVICE_ERROR_NORMAL%
  129. ServiceBinary = %12%\%FileDesktop2%
  130. ;
  131. ; Desktop Type B3
  132. ;
  133. [InstallDesktopB3.nt]
  134. CopyFiles=CopyFileDesktopB3
  135. AddReg=AddRegDesktopB3
  136. DriverVer=11/06/1998,5.1.1
  137. [CopyFileDesktopB3]
  138. %FileDesktop2%
  139. [AddRegDesktopB3]
  140. HKLM,%REG_KEY_PARAMETERS%,"ConfigurationBase",%REG_DWORD%,0x370
  141. HKLM,%REG_KEY_PARAMETERS%,"ControllerID",%REG_DWORD%,0x43
  142. [InstallDesktopB3.nt.Services]
  143. AddService=fdc,2,ServiceInstallDesktopB3
  144. [ServiceInstallDesktopB3]
  145. DisplayName=%ServiceDesktopB3%
  146. ServiceType=%SERVICE_KERNEL_DRIVER%
  147. StartType=%SERVICE_START_MANUAL%
  148. ErrorControl=%SERVICE_ERROR_NORMAL%
  149. ServiceBinary = %12%\%FileDesktop2%
  150. ;
  151. ; Desktop Type B4
  152. ;
  153. [InstallDesktopB4.nt]
  154. CopyFiles=CopyFileDesktopB4
  155. AddReg=AddRegDesktopB4
  156. DriverVer=11/06/1998,5.1.1
  157. [CopyFileDesktopB4]
  158. %FileDesktop2%
  159. [AddRegDesktopB4]
  160. HKLM,%REG_KEY_PARAMETERS%,"ConfigurationBase",%REG_DWORD%,0x370
  161. HKLM,%REG_KEY_PARAMETERS%,"ControllerID",%REG_DWORD%,0x42
  162. [InstallDesktopB4.nt.Services]
  163. AddService=fdc,2,ServiceInstallDesktopB4
  164. [ServiceInstallDesktopB4]
  165. DisplayName=%ServiceDesktopB4%
  166. ServiceType=%SERVICE_KERNEL_DRIVER%
  167. StartType=%SERVICE_START_MANUAL%
  168. ErrorControl=%SERVICE_ERROR_NORMAL%
  169. ServiceBinary = %12%\%FileDesktop2%
  170. ;
  171. ; Desktop Type C
  172. ;
  173. [InstallDesktopC.nt]
  174. CopyFiles=CopyFileDesktopC
  175. AddReg=AddRegDesktopC
  176. DriverVer=11/06/1998,5.1.1
  177. [CopyFileDesktopC]
  178. %FileDesktop3%
  179. [AddRegDesktopC]
  180. HKLM,%REG_KEY_PARAMETERS%,"ConfigurationBase",%REG_DWORD%,0x3f0
  181. HKLM,%REG_KEY_PARAMETERS%,"ControllerID",%REG_DWORD%,0x97
  182. [InstallDesktopC.nt.Services]
  183. AddService=fdc,2,ServiceInstallDesktopC
  184. [ServiceInstallDesktopC]
  185. DisplayName=%ServiceDesktopC%
  186. ServiceType=%SERVICE_KERNEL_DRIVER%
  187. StartType=%SERVICE_START_MANUAL%
  188. ErrorControl=%SERVICE_ERROR_NORMAL%
  189. ServiceBinary = %12%\%FileDesktop3%
  190. ;
  191. ; Strings
  192. ;
  193. [Strings]
  194. TOSHIBA="Toshiba"
  195. FdcClassName="Floppy disk controllers"
  196. FileLibretto1=lbrtfdc.sys
  197. FileNotebook1=tosnfdc1.sys
  198. FileDesktop1=tosdfdc1.sys
  199. FileDesktop2=tosdfdc2.sys
  200. FileDesktop3=tosdfdc3.sys
  201. DeviceLibrettoA="TOSHIBA 3-mode floppy controller (Libretto Type A)"
  202. ServiceLibrettoA="TOSHIBA 3-mode floppy controller driver (Libretto Type A)"
  203. DeviceNotebookA="TOSHIBA 3-mode floppy controller (Notebook Type A)"
  204. ServiceNotebookA="TOSHIBA 3-mode floppy controller driver (Notebook Type A)"
  205. DeviceDesktopA="TOSHIBA 3-mode floppy controller (Desktop Type A)"
  206. ServiceDesktopA="TOSHIBA 3-mode floppy controller driver (Desktop Type A)"
  207. DeviceDesktopB1="TOSHIBA 3-mode floppy controller (Desktop Type B1)"
  208. ServiceDesktopB1="TOSHIBA 3-mode floppy controller driver (Desktop Type B1)"
  209. DeviceDesktopB2="TOSHIBA 3-mode floppy controller (Desktop Type B2)"
  210. ServiceDesktopB2="TOSHIBA 3-mode floppy controller driver (Desktop Type B2)"
  211. DeviceDesktopB3="TOSHIBA 3-mode floppy controller (Desktop Type B3)"
  212. ServiceDesktopB3="TOSHIBA 3-mode floppy controller driver (Desktop Type B3)"
  213. DeviceDesktopB4="TOSHIBA 3-mode floppy controller (Desktop Type B4)"
  214. ServiceDesktopB4="TOSHIBA 3-mode floppy controller driver (Desktop Type B4)"
  215. DeviceDesktopC="TOSHIBA 3-mode floppy controller (Desktop Type C)"
  216. ServiceDesktopC="TOSHIBA 3-mode floppy controller driver (Desktop Type C)"
  217. ;*******************************************
  218. ;Handy macro substitutions (non-localizable)
  219. SPSVCINST_ASSOCSERVICE = 0x00000002
  220. SERVICE_KERNEL_DRIVER = 1
  221. SERVICE_BOOT_START = 0
  222. SERVICE_START_MANUAL = 3
  223. SERVICE_ERROR_NORMAL = 1
  224. REG_EXPAND_SZ = 0x00020000
  225. REG_DWORD = 0x00010001
  226. REG_KEY_PARAMETERS="SYSTEM\CurrentControlSet\Services\Fdc\Parameters"