Source code of Windows XP (NT5)
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.

225 lines
6.7 KiB

  1. ; PhilTune.INF -- This file installs PhilTune.sys
  2. ;
  3. ;
  4. [Version]
  5. signature="$CHICAGO$"
  6. Class=Media
  7. ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
  8. Provider=%Msft%
  9. LayoutFile=Layout.inf, Layout1.inf, Layout2.inf
  10. DriverVer=05/24/2000,5.1.2239.1
  11. ; F i l e c o p y i n g s e c t i o n s (where the files go to).
  12. ;
  13. [DestinationDirs]
  14. PHILTUNE.CopyDrivers=10,System32\Drivers ; ie \windows\system32\drivers
  15. ; PHILTUNE.CopyInf=10,Inf ; ie \windows\Inf
  16. [Manufacturer]
  17. %MfgName%=Philips
  18. [ControlFlags]
  19. ExcludeFromSelect=*
  20. ExcludeFromSelect.NT=*
  21. ; =================== Generic ==================================
  22. [Philips]
  23. %PhilTune.DeviceDesc%=PhilTune.Device,STREAM\PhilTune
  24. [PhilTune.Device]
  25. Include = ks.inf, kscaptur.inf, bda.inf
  26. Needs = KS.Registration,KSCAPTUR.Registration,BDA.Registration
  27. AddReg = PhilTune.addreg
  28. CopyFiles = PhilTune.CopyDrivers
  29. ; KnownFiles = PhilTune.KnownFiles
  30. [PhilTune.Device.NT]
  31. Include = ks.inf, kscaptur.inf, bda.inf
  32. Needs = KS.Registration,KSCAPTUR.Registration.NT,BDA.Registration
  33. AddReg = PhilTune.AddReg
  34. CopyFiles = PhilTune.CopyDrivers
  35. ; KnownFiles = PhilTune.KnownFiles
  36. [PhilTune.Device.NT.Services]
  37. Addservice = PhilTune, 0x00000002, PhilTune.AddService
  38. [PhilTune.AddService]
  39. DisplayName = %SvcDesc%
  40. ServiceType = 1 ; SERVICE_KERNEL_DRIVER
  41. StartType = 2 ; SERVICE_AUTO_START
  42. ErrorControl = 1 ; SERVICE_ERROR_NORMAL
  43. ServiceBinary = %10%\System32\Drivers\PhilTune.sys
  44. LoadOrderGroup = Base
  45. [PhilTune.CopyDrivers]
  46. PhilTune.sys
  47. ; [PhilTune.CopyInf]
  48. ; PhilTune.Inf
  49. ; [PhilTune.KnownFiles]
  50. ; PhilTune.sys=safe
  51. [PhilTune.AddReg]
  52. HKR,,DevLoader,,*ntkern
  53. HKR,,NTMPDriver,,PhilTune.sys
  54. HKR,,PageOutWhenUnopened,3,01
  55. ;---------------------------------------------------------------
  56. ; Tuner related values
  57. ; All values in the tuner key are string values
  58. ;---------------------------------------------------------------
  59. HKR,,InitialFrequency,1,D0,57,3F,16 ; Initial Frequency of tuner
  60. HKR,,TunerI2cAddress,1,c0,0,0,0 ; I2C address of the tuner chip
  61. HKR,,8VsbI2cAddress,1,18,0,0,0 ; I2C address of the 8VSB Demod Chipo
  62. HKR,,ParallelPortI2cAddress,1,40,0,0,0 ; I2C address of the 7146 Parallel Port
  63. HKR,,BoardType,1,01,00,00,00 ; Board Type
  64. ; 0 - Coney
  65. ; 1 - Catalina (Maui)
  66. ; 2 - Kangaroo
  67. ; 3 - Coronado
  68. ; 4 - CES
  69. ; 5 - CorFU
  70. HKR,,TunerType,0,TD1536 ; Tuner Type
  71. ; Possible Tuner Types
  72. ;
  73. ; "FI1216" : CCIR B, G system
  74. ; (Western Europe)
  75. ; "FI1216MF": CCIR B,G, L, L1 system
  76. ; (W. Europe, SE Asia, OZ, NZ)
  77. ; "FI1236" : RTMA M+N system
  78. ; (USA)
  79. ; "FI1246" : CCIR I system
  80. ; (UK, Ireland, SA, H.K.)
  81. ; "FI1256" : OIRT system
  82. ; (China, Russia, E. Europe)
  83. ; "FR1216" : RTMN M+N system + FM
  84. ; (USA)
  85. ; "FR1236" : RTMN M+N system + FM
  86. ; (USA)
  87. ; "TD1536" : ATSC digital tuner
  88. ; (USA)
  89. [PhilTune.Device.Interfaces]
  90. AddInterface=%BDAcatID%,%KSNAME_Filter%,PhilTune.Interfaces,
  91. AddInterface=%GUID.BdaDeviceControl%,%KSNAME_Filter%,BdaDevice,
  92. [PhilTune.Device.NT.Interfaces]
  93. AddInterface=%BDAcatID%,%KSNAME_Filter%,PhilTune.Interfaces,
  94. AddInterface=%GUID.BdaDeviceControl%,%KSNAME_Filter%,BdaDevice,
  95. [PhilTune.Interfaces]
  96. AddReg=PhilTune.Interface.AddReg
  97. [PhilTune.Interface.AddReg]
  98. HKR,,CLSID,,%PhilTune.CLSID%
  99. HKR,,FriendlyName,,%PhilTune.FriendlyName%
  100. ; [BdaDevice]
  101. ; AddReg=BdaDevice.AddReg
  102. ; [BdaDevice.AddReg]
  103. [Strings]
  104. Msft = "Philips Semiconductors"
  105. MfgName = "Philips"
  106. PhilTune.CLSID ="{17CCA71B-ECD7-11D0-B908-00A0C9223196}" ; KsProxy.ax's ID, REQUIRED
  107. PhilTune.DeviceDesc = "Philips WDM TVTuner"
  108. PhilTune.FriendlyName = "Philips TV Tuner"
  109. PhilTune.Tuner = "PhilTune.Tuner"
  110. KSNAME_Filter = "{9B365890-165F-11D0-A195-0020AFD156E4}"
  111. SvcDesc = "Philips TV Tuner"
  112. ;
  113. ; The following items should be moved to KS_registration - TCP
  114. ;
  115. Plugin_BdaDevice ="BDA Device Control Plug-in"
  116. BDAcatID ="{FD0A5AF4-B41D-11d2-9C95-00C04F7971E0}"
  117. AMcatID ="{DA4E3DA0-D07D-11d0-BD50-00A0C911CE86}"
  118. BDAReceivers ="BDA Streaming Receiver Components"
  119. MediaCategories ="SYSTEM\CurrentControlSet\Control\MediaCategories"
  120. Pin.BdaTransport ="BDA Transport Stream"
  121. GUID.BdaTransport ="{78216A81-CFA8-493e-9711-36A61C08BD9D}"
  122. GUID.BdaDeviceControl ="{FD0A5AF3-B41D-11d2-9C95-00C04F7971E0}"
  123. ;
  124. ; ServiceType values
  125. SERVICE_KERNEL_DRIVER = 0x00000001
  126. SERVICE_FILE_SYSTEM_DRIVER = 0x00000002
  127. SERVICE_ADAPTER = 0x00000004
  128. SERVICE_RECOGNIZER_DRIVER = 0x00000008
  129. SERVICE_WIN32_OWN_PROCESS = 0x00000010
  130. SERVICE_WIN32_SHARE_PROCESS = 0x00000020
  131. SERVICE_INTERACTIVE_PROCESS = 0x00000100
  132. SERVICE_INTERACTIVE_SHARE_PROCESS = 0x00000120
  133. ; StartType values
  134. SERVICE_BOOT_START = 0x00000000
  135. SERVICE_SYSTEM_START = 0x00000001
  136. SERVICE_AUTO_START = 0x00000002
  137. SERVICE_DEMAND_START = 0x00000003
  138. SERVICE_DISABLED = 0x00000004
  139. ; ErrorControl values
  140. SERVICE_ERROR_IGNORE = 0x00000000
  141. SERVICE_ERROR_NORMAL = 0x00000001
  142. SERVICE_ERROR_SEVERE = 0x00000002
  143. SERVICE_ERROR_CRITICAL = 0x00000003
  144. ; Characteristic flags
  145. NCF_VIRTUAL = 0x0001
  146. NCF_WRAPPER = 0x0002
  147. NCF_PHYSICAL = 0x0004
  148. NCF_HIDDEN = 0x0008
  149. NCF_NO_SERVICE = 0x0010
  150. NCF_NOT_USER_REMOVABLE = 0x0020
  151. NCF_HAS_UI = 0x0080
  152. NCF_MODEM = 0x0100
  153. ; Registry types
  154. REG_MULTI_SZ = 0x10000
  155. REG_EXPAND_SZ = 0x20000
  156. REG_DWORD = 0x10001
  157. ; Win9x Compatible Types
  158. REG_BINARY = 17
  159. REG_SZ = 0
  160. ; Service install flags
  161. SPSVCINST_TAGTOFRONT = 0x1
  162. SPSVCINST_ASSOCSERVICE = 0x2