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.

166 lines
5.3 KiB

  1. ;
  2. ; Testcap.INF -- This file contains installation information for Testcap,
  3. ; A sample WDM capture driver that requires no hardware
  4. ;
  5. ; Copyright (c) Microsoft Corporation. All rights reserved.
  6. ;
  7. ;
  8. [Version]
  9. signature="$CHICAGO$"
  10. Class=Media
  11. ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
  12. Provider=%ProviderName%
  13. ; LayoutFile needed only for Windows 9x/Me
  14. LayoutFile=layout.inf,layout1.inf,layout2.inf
  15. DriverVer=03/01/2001,1.0
  16. CatalogFile=testcap.cat
  17. [ControlFlags]
  18. ;ExcludeFromSelect=*
  19. [Manufacturer]
  20. %MsftMfg%=Microsoft
  21. [DestinationDirs]
  22. Testcap.CopyDrivers=10,system32\drivers
  23. [SourceDisksNames]
  24. 1=%TESTCAP.Disk1%,,,
  25. [SourceDisksFiles]
  26. testcap.sys=1
  27. ;---------------------------------------------------------------
  28. ; M I C R O S O F T
  29. ;
  30. ; T E S T C A P
  31. ;---------------------------------------------------------------
  32. [Microsoft]
  33. %TESTCAP.DeviceDesc%=Testcap.Device,TESTCAP
  34. [Testcap.Device]
  35. Include= ks.inf,kscaptur.inf
  36. Needs= Stream.Registration,KS.Registration,KSCAPTUR.Registration
  37. AddReg= Testcap.AddReg
  38. CopyFiles= Testcap.CopyDrivers
  39. KnownFiles= Testcap.KnownFiles
  40. [Testcap.Device.NT]
  41. Include= ks.inf,kscaptur.inf
  42. Needs= Stream.Registration,KS.Registration,KSCAPTUR.Registration.NT
  43. AddReg= Testcap.AddReg
  44. CopyFiles= Testcap.CopyDrivers
  45. [Testcap.AddReg]
  46. HKR,,DevLoader,,*ntkern
  47. HKR,,NTMPDriver,,testcap.sys
  48. HKR,,PageOutWhenUnopened,3,01
  49. HKR,,DontSuspendIfStreamsAreRunning,3,01
  50. [Testcap.CopyDrivers]
  51. testcap.sys
  52. [Testcap.KnownFiles]
  53. testcap.sys=safe
  54. [TESTCAP.Device.Interfaces]
  55. AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
  56. AddInterface={6994AD05-93EF-11D0-A3CC-00A0C9223196},"GLOBAL",VideoCapture,
  57. AddInterface={a799a800-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvTuner,
  58. AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoCrossbar,
  59. AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,
  60. [TESTCAP.Device.NT.Interfaces]
  61. AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
  62. AddInterface={6994AD05-93EF-11D0-A3CC-00A0C9223196},"GLOBAL",VideoCapture,
  63. AddInterface={a799a800-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvTuner,
  64. AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoCrossbar,
  65. AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,
  66. [VideoCapture]
  67. AddReg=VideoCapture.AddReg
  68. [VideoTvTuner]
  69. AddReg=VideoTvTuner.AddReg
  70. [VideoCrossbar]
  71. AddReg=VideoXBar.AddReg
  72. [VideoTvAudio]
  73. AddReg=VideoTvAudio.AddReg
  74. [VideoCapture.AddReg]
  75. HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
  76. HKR,,FriendlyName,,%TESTCAP.Capture%
  77. ; IAMVideoCompression installed as static interface on both output pins
  78. HKR,PinFactory\0\Interfaces\{C6E13343-30AC-11d0-A18C-00A0C9118956},,,{C6E13343-30AC-11d0-A18C-00A0C9118956}
  79. HKR,PinFactory\1\Interfaces\{C6E13343-30AC-11d0-A18C-00A0C9118956},,,{C6E13343-30AC-11d0-A18C-00A0C9118956}
  80. HKLM,Software\CLASSES\CLSID\%TESTCAP.AMcatID%\Instance\%TESTCAP.VBIcatID%
  81. HKLM,Software\CLASSES\CLSID\%TESTCAP.AMcatID%\Instance\%TESTCAP.VBIcatID%,,,%TESTCAP.WDMcodecs%
  82. HKLM,Software\CLASSES\CLSID\%TESTCAP.AMcatID%\Instance\%TESTCAP.VBIcatID%,FriendlyName,,%TESTCAP.WDMcodecs%
  83. HKLM,Software\CLASSES\CLSID\%TESTCAP.AMcatID%\Instance\%TESTCAP.VBIcatID%,CLSID,,"%TESTCAP.VBIcatID%"
  84. HKLM,System\CurrentControlSet\Control\MediaCategories\%TESTCAP.CCpinID%
  85. HKLM,System\CurrentControlSet\Control\MediaCategories\%TESTCAP.CCpinID%,Name,,%TESTCAP.CCpinName%
  86. HKLM,System\CurrentControlSet\Control\MediaCategories\%TESTCAP.NABpinID%
  87. HKLM,System\CurrentControlSet\Control\MediaCategories\%TESTCAP.NABpinID%,Name,,%TESTCAP.NABpinName%
  88. [VideoTvTuner.AddReg]
  89. HKR,,CLSID,,{266EEE40-6C63-11cf-8A03-00AA006ECB65}
  90. HKR,,FriendlyName,,%TESTCAP.TvTuner%
  91. [VideoXBar.AddReg]
  92. HKR,,CLSID,,{71F96460-78F3-11d0-A18C-00A0C9118956}
  93. HKR,,FriendlyName,,%TESTCAP.Crossbar%
  94. [VideoTvAudio.AddReg]
  95. HKR,,CLSID,,{71F96462-78F3-11d0-A18C-00A0C9118956}
  96. HKR,,FriendlyName,,%TESTCAP.TvAudio%
  97. [Testcap.Device.NT.Services]
  98. AddService = TESTCAP,0x00000002,Testcap.ServiceInstall
  99. [Testcap.ServiceInstall]
  100. DisplayName = %TESTCAP.DeviceDesc%
  101. ServiceType = %SERVICE_KERNEL_DRIVER%
  102. StartType = %SERVICE_DEMAND_START%
  103. ErrorControl = %SERVICE_ERROR_NORMAL%
  104. ServiceBinary = %12%\testcap.sys
  105. ;---------------------------------------------------------------
  106. ; S t r i n g s
  107. ;---------------------------------------------------------------
  108. [Strings]
  109. ;----------------
  110. ; Non-Localizable
  111. ;----------------
  112. SERVICE_KERNEL_DRIVER=1
  113. SERVICE_DEMAND_START=3
  114. SERVICE_ERROR_NORMAL=1
  115. TESTCAP.VBIcatID= "{07DAD660-22F1-11d1-A9F4-00C04FBBDE8F}"
  116. TESTCAP.AMcatID= "{DA4E3DA0-D07D-11d0-BD50-00A0C911CE86}"
  117. TESTCAP.CCpinID= "{1AAD8061-012D-11d2-B4B1-00A0D102CFBE}"
  118. TESTCAP.NABpinID= "{29703660-498A-11d2-B4B1-00A0D102CFBE}"
  119. ;----------------
  120. ; Localizable
  121. ;----------------
  122. ProviderName= "YourNameHere"
  123. MsftMfg= "Microsoft"
  124. TESTCAP.Disk1= "Install Disk"
  125. TESTCAP.DeviceDesc= "Testcap, WDM Video Capture"
  126. TESTCAP.Capture= "TestCap Capture"
  127. TESTCAP.TvTuner= "TestCap TvTuner"
  128. TESTCAP.Crossbar= "TestCap Crossbar"
  129. TESTCAP.TvAudio= "TestCap TvAudio"
  130. TESTCAP.WDMcodecs= "WDM Streaming VBI Codecs"
  131. TESTCAP.CCpinName= "HWCC"
  132. TESTCAP.NABpinName= "HWNABTS"