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.

131 lines
4.5 KiB

  1. ;
  2. ; OVSOUND.INF
  3. ; Logitech Video Camera Microphone Installation file.
  4. ; Copyright (c)1996-2000 Logitech Inc.
  5. ;
  6. [Version]
  7. Signature="$CHICAGO$"
  8. Class=MEDIA
  9. ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
  10. provider=%PVD%
  11. LayoutFile=layout.inf
  12. [Manufacturer]
  13. %MfgName%=Logitech
  14. [Logitech]
  15. %USB\VID_046D&PID_0801.DeviceDesc%=PCM2USB.WEB,USB\VID_046D&PID_0801&MI_01 ; Web (old)
  16. %USB\VID_046D&PID_0850.DeviceDesc%=PCM2USB.WEB,USB\VID_046D&PID_0850&MI_01 ; Web
  17. %USB\VID_046D&PID_08B0.DeviceDesc%=PCM2USB.PRO3000,USB\VID_046D&PID_08B0&MI_01 ; Pro 3000
  18. %USB\VID_046D&PID_08C0.DeviceDesc%=PCM2USB.PRO3000,USB\VID_046D&PID_08C0&MI_01 ; Pro 3000
  19. [DestinationDirs]
  20. PCM2USB.CopyList = 10,system32\drivers ; %SystemRoot%\system32\drivers
  21. [ControlFlags]
  22. ; All PnP devices should be excluded from manual AddDevice Applet list
  23. ExcludeFromSelect=*
  24. [PCM2USB.WEB.NT]
  25. Include=ks.inf, wdmaudio.inf
  26. Needs=KS.Registration, WDMAUDIO.Registration
  27. CopyFiles=PCM2USB.CopyList
  28. AddReg=PCM2USB.AddReg, RecordDevice.AddReg.WEB, RecordDevice.AddReg.NT
  29. [PCM2USB.AddReg]
  30. ;; Usb audio specific regestry update sutff
  31. HKR,,AssociatedFilters,,"wdmaud,redbook,sbemul"
  32. HKR,,Driver,,OVSound2.sys
  33. HKR,,NTMPDriver,,OVSound2.sys
  34. HKR,,OkToHibernate,3,01
  35. HKR,Drivers,SubClasses,,"wave,mixer"
  36. HKR,Drivers\wave\wdmaud.drv, Driver,,wdmaud.drv
  37. HKR,Drivers\mixer\wdmaud.drv,Driver,,wdmaud.drv
  38. HKR,Drivers\wave\wdmaud.drv,Description,,%USBGenericDesc%
  39. HKR,Drivers\mixer\wdmaud.drv,Description,,%USBGenericDesc%
  40. [RecordDevice.AddReg.NT]
  41. ; This entry is used to specify the name of the device we look for
  42. ; in the TestMeDialog and possibly the app.
  43. HKLM,"Software\Logitech\QuickCam\Drivers","Audio",,%USBGenericDesc%
  44. HKCU,%MediaPrefered%,"PreferredOnly",1,01,00,00,00
  45. HKCU,%MediaPrefered%,"SetupPreferredAudioDevicesCount",1,00,00,00,00
  46. [RecordDevice.AddReg.WEB]
  47. HKR,,SetupPreferredAudioDevices,3,01,00,00,00
  48. HKCU,%MediaPrefered%,"Record",,%USB\VID_046D&PID_0850.DeviceDesc%
  49. HKCU,%MediaPrefered%,"UserRecord",,%USB\VID_046D&PID_0850.DeviceDesc%
  50. ;; Copy to system32\drivers
  51. [PCM2USB.CopyList]
  52. OVSound2.sys
  53. wdmaud.sys
  54. [PCM2USB.WEB.NT.Interfaces]
  55. AddInterface=%KSCATEGORY_AUDIO%,"GLOBAL",PCM2USB.Interface.WEB,
  56. AddInterface=%KSCATEGORY_RENDER%,"GLOBAL",PCM2USB.Interface.WEB,
  57. AddInterface=%KSCATEGORY_CAPTURE%,"GLOBAL",PCM2USB.Interface.WEB,
  58. [PCM2USB.Interface.WEB]
  59. AddReg=PCM2USB.Interface.Addreg.WEB
  60. [PCM2USB.Interface.AddReg.WEB]
  61. HKR,,CurveType,1,01,00,00,00
  62. HKR,,FriendlyName,,%USB\VID_046D&PID_0850.DeviceDesc%
  63. HKR,,CLSID,,%Proxy.CLSID%
  64. [PCM2USB.WEB.NT.Services]
  65. AddService = wdmaud, 0x00000000, wdmaud_Service_Inst
  66. AddService = lusbaudio,0x00000002, lusbaudio_Service_Inst
  67. [wdmaud_Service_Inst]
  68. DisplayName = %wdmaud.SvcDesc%
  69. ServiceType = 1 ; SERVICE_KERNEL_DRIVER
  70. StartType = 1 ; SERVICE_SYSTEM_START
  71. ErrorControl = 1 ; SERVICE_ERROR_NORMAL
  72. ServiceBinary = %10%\system32\drivers\wdmaud.sys
  73. [lusbaudio_Service_Inst]
  74. DisplayName = %LUSBAudio.SvcDesc%
  75. ServiceType = 1 ; SERVICE_KERNEL_DRIVER
  76. StartType = 1 ; SERVICE_SYSTEM_START
  77. ErrorControl = 1 ; SERVICE_ERROR_NORMAL
  78. ServiceBinary = %10%\system32\drivers\OVSound2.sys
  79. ;;**************** Pro 3000 Installation ****************
  80. [PCM2USB.PRO3000.NT]
  81. Include=ks.inf, wdmaudio.inf, wdma_usb.inf
  82. Needs=KS.Registration, WDMAUDIO.Registration, USBAudio
  83. AddReg=PCM2USB.PRO3000.AddReg, RecordDevice.AddReg.PRO_3000, RecordDevice.AddReg.NT, IgnoreHwString.AddReg
  84. [PCM2USB.PRO3000.AddReg]
  85. HKR,,OkToHibernate,3,01
  86. [RecordDevice.AddReg.PRO_3000]
  87. HKR,,SetupPreferredAudioDevices,3,01,00,00,00
  88. HKCU,%MediaPrefered%,"Record",,%USB\VID_046D&PID_08B0.DeviceDesc%
  89. HKCU,%MediaPrefered%,"UserRecord",,%USB\VID_046D&PID_08B0.DeviceDesc%
  90. [IgnoreHwString.AddReg]
  91. HKR,,IgnoreHwString,0x10001,1
  92. [PCM2USB.PRO3000.NT.Interfaces]
  93. AddInterface=%KSCATEGORY_AUDIO%,"GLOBAL",USBAudio.Interface.LogitechPro3000,
  94. AddInterface=%KSCATEGORY_RENDER%,"GLOBAL",USBAudio.Interface.LogitechPro3000,
  95. AddInterface=%KSCATEGORY_CAPTURE%,"GLOBAL",USBAudio.Interface.LogitechPro3000,
  96. [USBAudio.Interface.LogitechPro3000]
  97. AddReg=USBAudio.Interface.Addreg.LogitechPro3000
  98. [USBAudio.Interface.AddReg.LogitechPro3000]
  99. HKR,,CurveType,1,01,00,00,00
  100. HKR,,FriendlyName,,%USB\VID_046D&PID_08B0.DeviceDesc%
  101. HKR,,CLSID,,%Proxy.CLSID%
  102. [PCM2USB.PRO3000.NT.Services]
  103. Include=wdma_usb.inf
  104. Needs=USBAudio.NT.Services