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.

167 lines
4.4 KiB

  1. ;
  2. ; StreamIP.INF -- This file contains installation information for
  3. ; the StreamIP BDA codec
  4. ;
  5. ;
  6. [Version]
  7. signature="$CHICAGO$"
  8. LayoutFile=Layout.inf
  9. Class=Media
  10. ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
  11. Provider=%Msft%
  12. [ControlFlags]
  13. ;
  14. ; Don't let this device be selected from "Add New Hardware" wizard.
  15. ;
  16. ExcludeFromSelect=*
  17. [Manufacturer]
  18. %MsftMfg%=Microsoft
  19. [DestinationDirs]
  20. StreamIP.Device.CopyDll=10,system32
  21. DefaultDestDir=12
  22. ;---------------------------------------------------------------
  23. ; M I C R O S O F T
  24. ;
  25. ; C O D E C
  26. ;---------------------------------------------------------------
  27. [Microsoft]
  28. ;
  29. ; This is the standard PnP Section for the device. It is called as a result
  30. ; of SWEnum enumerating this SW PnP device.
  31. ;
  32. %BDAcodec.DeviceDesc% = StreamIP.Device,SW\{D84D449B-62FB-4ebb-B969-5183ED3DFB51}
  33. [DefaultInstall]
  34. AddReg=StreamIP.Install
  35. Reboot = 1
  36. [DefaultInstall.NT]
  37. AddReg=StreamIP.Install
  38. [StreamIP.Install]
  39. ; This run once causes SWEnum to enumerate the MPE device.
  40. ; NOTE! This is the only way to install the device as an SWEnum device.
  41. ;
  42. HKLM,%RunOnce%,"STREAMIP0",,"rundll32.exe streamci,StreamingDeviceSetup %StreamIP.DeviceId%,GLOBAL,%GUID.BdaRenderer%,%17%\streamip.inf,BDAcodec"
  43. [StreamIP.Device]
  44. Include=bda.inf
  45. Needs=BDA.Registration,NdisIP.Installation
  46. AddReg=StreamIP.Device.AddReg
  47. RegisterDlls=StreamIP.RegisterDlls
  48. ;
  49. ; Include the following line for post dx8 builds
  50. ;
  51. CopyFiles= StreamIP.Device.CopyDrivers, StreamIP.Device.CopyDll
  52. [StreamIP.Device.NT]
  53. Include=bda.inf
  54. Needs=BDA.Registration,NdisIP.Installation.NT
  55. AddReg=StreamIP.Device.AddReg.NT
  56. RegisterDlls=StreamIP.RegisterDlls
  57. ;
  58. ; Include the following line for post dx8 builds
  59. ;
  60. CopyFiles= StreamIP.Device.CopyDrivers, StreamIP.Device.CopyDll
  61. [StreamIP.Device.AddReg]
  62. ;
  63. ; This section adds the driver service on 9x and adds device params
  64. ;
  65. HKR,,DevLoader,,*ntkern
  66. HKR,,NTMPDriver,,StreamIP.sys
  67. HKR,,DriverUsesSWEnumToLoad,3,01
  68. HKR,,OkToHibernate,3,01
  69. HKR,,DontSuspendIfStreamsAreRunning,3,01
  70. [StreamIP.Device.AddReg.NT]
  71. ;
  72. ; This section adds device params on NT
  73. ;
  74. HKR,,DriverUsesSWEnumToLoad,3,01
  75. HKR,,OkToHibernate,3,01
  76. HKR,,DontSuspendIfStreamsAreRunning,3,01
  77. [StreamIP.Device.CopyDrivers]
  78. StreamIP.sys,,,COPYFLG_NO_VERSION_DIALOG
  79. [StreamIP.Device.CopyDll]
  80. ipsink.ax,,,COPYFLG_NO_VERSION_DIALOG
  81. [StreamIP.RegisterDlls]
  82. 11,,IPSink.ax,1
  83. [StreamIP.Device.Interfaces]
  84. ; This line would be used ONLY if the device is not installed as an
  85. ; SWEnum device
  86. ;
  87. ;AddInterface=%GUID.BdaRenderer%,"GLOBAL",BDAcodec,
  88. ; This line adds the IPSink Plug-in's interface on the device
  89. ;
  90. AddInterface=%GUID.IPSinkPlugin%,"GLOBAL",IPSinkPlugin,
  91. [StreamIP.Device.NT.Interfaces]
  92. ; This line would be used ONLY if the device is not installed as an
  93. ; SWEnum device
  94. ;
  95. ;AddInterface=%GUID.BdaRenderer%,"GLOBAL",BDAcodec,
  96. ; This line adds the IPSink Plug-in's interface on the device
  97. ;
  98. AddInterface=%GUID.IPSinkPlugin%,"GLOBAL",IPSinkPlugin,
  99. [BDAcodec]
  100. AddReg=BDAcodec.AddReg, BDA.CategoryRegistration
  101. [BDAcodec.AddReg]
  102. HKR,,CLSID,,%CLSID%
  103. HKR,,FriendlyName,,%BDAcodec.FriendlyName%
  104. [BDA.CategoryRegistration]
  105. ; BDA Rendering Components
  106. ;
  107. HKCR,%ActiveMovieCategories%\%GUID.BdaRenderer%
  108. HKCR,%ActiveMovieCategories%\%GUID.BdaRenderer%,,,%Category_BdaRenderer%
  109. HKCR,%ActiveMovieCategories%\%GUID.BdaRenderer%,FriendlyName,,%Category_BdaRenderer%
  110. HKCR,%ActiveMovieCategories%\%GUID.BdaRenderer%,CLSID,,"%GUID.BdaRenderer%"
  111. [IPSinkPlugin]
  112. AddReg=IPSinkPlugin.AddReg
  113. [IPSinkPlugin.AddReg]
  114. HKCR,CLSID\%GUID.IPSinkPlugin%,,,%PlugIn_IPSink%
  115. HKCR,CLSID\%GUID.IPSinkPlugin%\InprocServer32,,,ipsink.ax
  116. HKCR,CLSID\%GUID.IPSinkPlugin%\InprocServer32,ThreadingModel,,Both
  117. HKLM,System\CurrentControlSet\Control\MediaInterfaces\%GUID.IPSinkPlugin%,,,%PlugIn_IPSink%
  118. HKLM,System\CurrentControlSet\Control\MediaInterfaces\%GUID.IPSinkPlugin%,IID,1,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
  119. [StreamIP.Device.NT.Services]
  120. ;
  121. ; This section is required to add the driver service on NT
  122. ;
  123. AddService = streamip ,0x00000002,StreamIP.ServiceInstall
  124. [StreamIP.ServiceInstall]
  125. DisplayName = %BDAcodec.DeviceDesc%
  126. ServiceType = %SERVICE_KERNEL_DRIVER%
  127. StartType = %SERVICE_DEMAND_START%
  128. ErrorControl = %SERVICE_ERROR_NORMAL%
  129. ServiceBinary = %12%\StreamIP.sys
  130. LoadOrderGroup=Extended Base