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.

122 lines
3.6 KiB

  1. [Version]
  2. LayoutFile=Layout.inf, Layout1.inf, Layout2.inf
  3. signature="$CHICAGO$"
  4. Class=Media
  5. ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
  6. Provider=%Msft%
  7. DriverVer=11/14/1999,5.00.2183.1
  8. [Manufacturer]
  9. %Manufacturer%=Microsoft
  10. [DestinationDirs]
  11. casamp.CopyFiles=10,system32\drivers
  12. casamp.Inf.CopyFiles=17
  13. casamp.Plugin.CopyFiles=11
  14. [Microsoft]
  15. %DeviceDesc%=casamp.Device,SW\%DeviceId%
  16. ;
  17. ; This is the section that is called out in the Needs line of other infs.
  18. ;
  19. [casamp.Installation]
  20. AddReg=casamp.RunOnce.AddReg
  21. ;
  22. ; There should be a runonce line for each class that the object server will
  23. ; create.
  24. ;
  25. [casamp.RunOnce.AddReg]
  26. HKLM,%RunOnce%,"casamp0",,"rundll32.exe streamci.dll,StreamingDeviceSetup %DeviceId%,%KSNAME_Filter%,%BDAcatID%,%17%\casamp.inf,casamp.Interfaces"
  27. [casamp.Device]
  28. Include = ks.inf, kscaptur.inf, bda.inf
  29. Needs = KS.Registration,KSCAPTUR.Registration,BDA.Registration
  30. CopyFiles=casamp.CopyFiles, casamp.Inf.CopyFiles, casamp.Plugin.CopyFiles
  31. AddReg=casamp.AddReg
  32. [casamp.Device.NT]
  33. Include = ks.inf, kscaptur.inf, bda.inf
  34. Needs = KS.Registration,KSCAPTUR.Registration,BDA.Registration
  35. CopyFiles=casamp.CopyFiles, casamp.Inf.CopyFiles, casamp.Plugin.CopyFiles
  36. AddReg=casamp.AddReg
  37. [casamp.AddReg]
  38. HKR,,DevLoader,,*NTKERN
  39. HKR,,NTMPDriver,,casamp.sys
  40. HKR,,DriverUsesSWEnumToLoad,3,01
  41. ;HKLM,%RunOnce%,"casamp0",,"rundll32.exe streamci.dll,StreamingDeviceSetup %DeviceId%,%KSNAME_Filter%,%BDAcatID%,%17%\casamp.inf,casamp.Interfaces"
  42. ;
  43. ; next few lines are for the plugin
  44. HKCR,CLSID\%GUID.CAPropSet%,,,%PluginName%
  45. HKCR,CLSID\%GUID.CAPropSet%\InprocServer32,,,caplugin.ax
  46. HKCR,CLSID\%GUID.CAPropSet%\InprocServer32,ThreadingModel,,Both
  47. HKLM,%MediaInterfaces%\%GUID.CAPropSet%,,,%PluginName%
  48. HKLM,%MediaInterfaces%\%GUID.CAPropSet%,IID,1,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
  49. [casamp.CopyFiles]
  50. casamp.sys
  51. stream.sys
  52. [casamp.Inf.CopyFiles]
  53. casamp.inf
  54. [casamp.Plugin.CopyFiles]
  55. caplugin.ax
  56. [casamp.Device.Interfaces]
  57. AddInterface=%BDAcatID%,%KSNAME_Filter%,casamp.Interfaces,
  58. AddInterface=%GUID.CAPropSet%,%KSNAME_Filter%,CaPluginInterface,
  59. [casamp.Device.NT.Interfaces]
  60. AddInterface=%BDAcatID%,%KSNAME_Filter%,casamp.Interfaces,
  61. AddInterface=%GUID.CAPropSet%,%KSNAME_Filter%,CaPluginInterface,
  62. [casamp.Interfaces]
  63. AddReg=casamp.Interface.AddReg
  64. [casamp.Interface.AddReg]
  65. HKR,,CLSID,,%Proxy.CLSID%
  66. HKR,,FriendlyName,,%FriendlyName%
  67. HKR,,Description,,%FriendlyName%
  68. [casamp.Device.NT.Services]
  69. AddService=casamp, 0x00000002, casamp.ServiceInstall
  70. [casamp.ServiceInstall]
  71. DisplayName=%DeviceDesc%
  72. ServiceType=%SERVICE_KERNEL_DRIVER%
  73. StartType=%SERVICE_DEMAND_START%
  74. ErrorControl=%SERVICE_ERROR_NORMAL%
  75. ServiceBinary=%10%\system32\drivers\casamp.sys
  76. LoadOrderGroup=ExtendedBase
  77. [Strings]
  78. SERVICE_KERNEL_DRIVER=1
  79. SERVICE_AUTO_START=2
  80. SERVICE_DEMAND_START=3
  81. SERVICE_ERROR_NORMAL=1
  82. ;----------------
  83. ; non-localizeable
  84. ;----------------
  85. DeviceId = "{195C3A3C-4687-44e3-92D9-D79D027ECCDD}"
  86. DriverName = "casamp"
  87. PluginName = "caplugin"
  88. Proxy.CLSID = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
  89. BDAcatID = "{FD0A5AF4-B41D-11d2-9C95-00C04F7971E0}"
  90. KSNAME_Filter = "{9B365890-165F-11D0-A195-0020AFD156E4}"
  91. GUID.CAPropSet = "{B0693766-5278-4ec6-B9E1-3CE40560EF5A}"
  92. MediaInterfaces = "SYSTEM\CurrentControlSet\Control\MediaInterfaces"
  93. RunOnce = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
  94. ;----------------
  95. ; localizeable
  96. ;----------------
  97. Msft = "Microsoft"
  98. Manufacturer = "Microsoft"
  99. FriendlyName = "Conditional Access Sample Driver"
  100. DeviceDesc = "Conditional Access Sample Driver"