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.

208 lines
6.2 KiB

  1. [Version]
  2. signature="$CHICAGO$"
  3. Class=MEDIA
  4. ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
  5. Provider=%Msft%
  6. LayoutFile=layout.inf,layout1.inf
  7. DriverVer=11/10/1999
  8. [ControlFlags]
  9. ExcludeFromSelect=*
  10. ;---------------------------------------------------------------------------
  11. ; Manual "Right-Click" Installation
  12. ;---------------------------------------------------------------------------
  13. [DefaultInstall]
  14. ; This section is used for manual device installation.
  15. ;
  16. ; The device to be installed by right-clicking the INF and
  17. ; selecting the Install option.
  18. ;
  19. needs=bdacap.Installation
  20. [bdacap.Installation]
  21. ; This section is used for manual device installation.
  22. ;
  23. CopyFiles=bdacap.inf.CopyFiles
  24. AddReg=bdacap.RunOnce.AddReg
  25. [bdacap.inf.CopyFiles]
  26. ; This section is used for manual device installation.
  27. ;
  28. bdacap.inf
  29. [bdacap.RunOnce.AddReg]
  30. ; This section is used for manual device installation.
  31. ;
  32. HKLM,%RunOnce%,"bdacap.Capture",,"rundll32.exe streamci,StreamingDeviceSetup %BdaSWCapture.DeviceId%,%KSSTRING_BdaSWCaptureFilter%,%KSCATEGORY_BDARECEIVER%,%01%\bdacap.inf,bdacap.Filter.AddReg"
  33. ;---------------------------------------------------------------------------
  34. ; PnP Installation
  35. ;---------------------------------------------------------------------------
  36. [DestinationDirs]
  37. DefaultDestDir=10,system32\drivers
  38. bdacap.inf.CopyFiles=17
  39. [Manufacturer]
  40. %Msft%=Microsoft
  41. [Microsoft]
  42. %BdaSWCapture.DeviceDesc%=bdacap,SW\{AA7F4F0A-A95B-42d1-B9DD-EE3AC9AB39A8}
  43. [bdacap]
  44. ; The Include and Needs lines cause the installation support devices
  45. ; and registration of required DShow categories.
  46. ;
  47. ; NOTE! If there is not a separate capture filter then the tuner
  48. ; INF should contain these lines.
  49. ;
  50. Include = ks.inf, kscaptur.inf, bda.inf
  51. Needs = KS.Registration, KSCAPTUR.Registration, BDA.Installation
  52. AddReg=bdacap.AddReg
  53. CopyFiles=bdacap.CopyFiles
  54. [bdacap.NT]
  55. ; The Include and Needs lines cause the installation support devices
  56. ; and registration of required DShow categories.
  57. ;
  58. ; NOTE! If there is not a separate capture filter then the tuner
  59. ; INF should contain these lines.
  60. ;
  61. Include = ks.inf, kscaptur.inf, bda.inf
  62. Needs = KS.Registration, KSCAPTUR.Registration.NT, BDA.Installation.NT
  63. CopyFiles=bdacap.CopyFiles
  64. [bdacap.AddReg]
  65. HKR,,DevLoader,,*NTKERN
  66. HKR,,NTMPDriver,,bdacap.sys
  67. [bdacap.CopyFiles]
  68. bdacap.sys
  69. [bdacap.Interfaces]
  70. ; Add an interface for each type of filter exposed by this device driver.
  71. ; The format of each line is as follows
  72. ;
  73. ; AddInterface = DSHOW_CATEGORY, FILTER_REFERENCE_GUID, INSTALLATION_SECTION
  74. ;
  75. ; DSHOW_CATEGORY is the GUID for the Direct Show category in which the
  76. ; filter should appear. A filter that appears in multiple categories should
  77. ; have a line for each category.
  78. ;
  79. ; FILTER_REFERENC_GUID should be the same as the ReferenceGuid in the
  80. ; the KSFILTER_DESCRIPTOR for the filter.
  81. ;
  82. ; INSTALLATION_SECTION specifies the section that the installer should call
  83. ; to add the ring 3 filter class to the registry. Except for legacy analog
  84. ; tuner and crossbar, all BDA filters should specify KSProxy as the ring 3
  85. ; filter class.
  86. ;
  87. AddInterface = %KSCATEGORY_BDARECEIVER%, %KSSTRING_BdaSWCaptureFilter%, bdacap.Filter
  88. [bdacap.NT.Interfaces]
  89. ; Add an interface for each type of filter exposed by this device driver.
  90. ; The format of each line is as follows
  91. ;
  92. ; AddInterface = DSHOW_CATEGORY, FILTER_REFERENCE_GUID, INSTALLATION_SECTION
  93. ;
  94. ; DSHOW_CATEGORY is the GUID for the Direct Show category in which the
  95. ; filter should appear. A filter that appears in multiple categories should
  96. ; have a line for each category.
  97. ;
  98. ; FILTER_REFERENC_GUID should be the same as the ReferenceGuid in the
  99. ; the KSFILTER_DESCRIPTOR for the filter.
  100. ;
  101. ; INSTALLATION_SECTION specifies the section that the installer should call
  102. ; to add the ring 3 filter class to the registry. Except for legacy analog
  103. ; tuner and crossbar, all BDA filters should specify KSProxy as the ring 3
  104. ; filter class.
  105. ;
  106. AddInterface = %KSCATEGORY_BDARECEIVER%, %KSSTRING_BdaSWCaptureFilter%, bdacap.Filter
  107. [bdacap.Filter]
  108. ; This is the install section for the sample BDA capture filter.
  109. ;
  110. AddReg = bdacap.Filter.AddReg
  111. [bdacap.Filter.AddReg]
  112. ; The sample BDA digital capture driver uses KSProxy for its ring 3 filter class.
  113. ;
  114. HKR,,CLSID,,%Proxy.CLSID%
  115. HKR,,FriendlyName,,%BdaSWCapture.FilterDesc%
  116. [bdacap.NT.Services]
  117. ; Add the NT service. This causes the driver to be loaded on NT based systems.
  118. ;
  119. AddService=bdacap, 0x00000002, bdacap.ServiceInstall
  120. [bdacap.ServiceInstall]
  121. DisplayName=%BdaSWCapture.DeviceDesc%
  122. ServiceType=%SERVICE_KERNEL_DRIVER%
  123. StartType=%SERVICE_DEMAND_START%
  124. ErrorControl=%SERVICE_ERROR_NORMAL%
  125. ServiceBinary=%10%\system32\drivers\bdacap.sys
  126. LoadOrderGroup=ExtendedBase
  127. [Strings]
  128. SERVICE_KERNEL_DRIVER=1
  129. SERVICE_DEMAND_START=3
  130. SERVICE_ERROR_NORMAL=1
  131. REG_EXPAND_SZ=0x00020000
  132. REG_DWORD=0x00010001
  133. RunOnce="SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
  134. ; Specify the GUID for the Ksproxy plugin..
  135. ;
  136. Proxy.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
  137. ; Specify the GUID for the BDA Receiver Filters category in GraphEdit.
  138. ;
  139. KSCATEGORY_BDARECEIVER="{FD0A5AF4-B41D-11d2-9C95-00C04F7971E0}"
  140. ; Specify the GUID for the BDA Source Filters category in GraphEdit.
  141. ;
  142. KSCATEGORY_BDATUNER="{71985F48-1CA1-11d3-9CC8-00C04F7971E0}"
  143. ; Specify the GUID for the capture device's SW PnP ID
  144. ;
  145. BdaSWCapture.DeviceId="{AA7F4F0A-A95B-42d1-B9DD-EE3AC9AB39A8}"
  146. ; Specify the GUID for the tuner device's SW PnP ID
  147. ;
  148. BdaSWTuner.DeviceId="{828B00F0-9A04-4692-8573-535B05DFF3F4}"
  149. ; Specify the GUID for the digital capture Filter.
  150. ;
  151. ; NOTE! This must match the reference guid specified in the driver's filter
  152. ; descriptor.
  153. ;
  154. KSSTRING_BdaSWCaptureFilter="{074649FE-2DD8-4c12-8A23-BD828BADFFFA}"
  155. ; Specify the GUID for WDM capture devices.
  156. ; A legacy analog capture filter would belong to this category.
  157. ;
  158. KSCATEGORY_CAPTURE="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
  159. ;----------------
  160. ; localizeable
  161. ;----------------
  162. Msft="Microsoft"
  163. BdaSWCapture.FilterDesc="Sample Software BDA Capture Filter"
  164. BdaSWCapture.DeviceDesc="Sample Software BDA Capture Device"