usbvm31b.inf
上传用户:xajzrc
上传日期:2015-02-11
资源大小:1905k
文件大小:9k
源码类别:

视频捕捉/采集

开发平台:

Others

  1. ;Installation File (.inf) for USB PC Camera
  2. [Version]
  3. Signature="$CHICAGO$"
  4. LayoutFile=Layout.inf, Layout1.inf, Layout2.inf
  5. Class=Image
  6. ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
  7. Provider=%SoftMfg%
  8. DriverVer=11/26/2003, 4.2.1126.72 
  9. CatalogFile=usbvm31b.cat
  10. [ControlFlags]
  11. ExcludeFromSelect=*
  12. [Manufacturer]
  13. %HwMfg%=VM,NT
  14. [DestinationDirs]
  15. DefaultDestDir=11
  16. VM.APP.CopyFiles = 10
  17. VM.XPAPP.CopyFiles = 10
  18. VM.STI.CopyFiles = 11
  19. VM.CustomPrp.CopyFiles = 11
  20. VM.TWAIN.CopyFiles = 10, twain_32VM301b
  21. VM.XPTWAIN.CopyFiles = 10, twain_32VM301b
  22. VM.USBDCam.Files.Ext = 10, System32Drivers
  23. VM.Config.CopyFiles = 10, inf
  24. [VM]
  25. %USBVID_0AC8&PID_0302.DeviceDesc%=VM.USBDCam302,USBVID_0AC8&PID_301B
  26. [VM.NT]
  27. %USBVID_0AC8&PID_0302.DeviceDesc%=VM.USBDCam302.XP,USBVID_0AC8&PID_301B
  28. ;****************************************
  29. [VM.USBDCam302]
  30. Include=ks.inf, kscaptur.inf, ksfilter.inf, Config.set 
  31. Needs=KS.Registration,KSCAPTUR.Registration, VM.HWConfig  
  32. SubClass=StillImage
  33. DeviceType=2
  34. DeviceSubType=0x0302
  35. Capabilities=1 
  36. Events=VM.STI.Events
  37. DeviceData=VM.STI.DeviceData
  38. ICMProfiles="sRGB Color Space Profile.icm"
  39. AddReg=VM.USBDCam.AddReg, VM.CustomPrp.AddReg,  VM.STI.AddReg, VM.TWAIN.AddReg
  40. CopyFiles=VM.USBDCam.Files.Ext, VM.CustomPrp.CopyFiles, VM.STI.CopyFiles, VM.APP.CopyFiles, VM.TWAIN.CopyFiles, VM.Config.CopyFiles
  41. [VM.USBDCam302.NT]
  42. Include=ks.inf, kscaptur.inf, ksfilter.inf, Config.set   
  43. Needs=KS.Registration,KSCAPTUR.Registration.NT, VM.HWConfig   
  44. SubClass=StillImage
  45. DeviceType=2
  46. DeviceSubType=0x0302
  47. Capabilities=1  
  48. Events=VM.STI.Events
  49. DeviceData=VM.STI.DeviceData
  50. ICMProfiles="sRGB Color Space Profile.icm"
  51. AddReg=VM.USBDCam.AddReg, VM.CustomPrp.AddReg,  VM.STI.AddReg,  VM.TWAIN.AddReg
  52. CopyFiles=VM.USBDCam.Files.Ext, VM.CustomPrp.CopyFiles, VM.STI.CopyFiles, VM.APP.CopyFiles, VM.TWAIN.CopyFiles, VM.Config.CopyFiles
  53. [VM.USBDCam302.XP]
  54. Include=ks.inf, kscaptur.inf, Config.set
  55. Needs=KS.Registration,KSCAPTUR.Registration.NT, VM.HWConfig
  56. AddReg=VM.USBDCam.AddReg, VM.CustomPrp.AddReg, VM.WIA.AddReg,  VM.TWAIN.AddReg
  57. CopyFiles=VM.USBDCam.Files.Ext, VM.CustomPrp.CopyFiles, VM.STI.CopyFiles, VM.XPAPP.CopyFiles, VM.XPTWAIN.CopyFiles, VM.Config.CopyFiles
  58. SubClass=StillImage
  59. DeviceType=3
  60. DeviceSubType=0x0302
  61. Capabilities=0x00000031
  62. ;Capabilities=0x00000001
  63. PortSelect=No
  64. ;Events=VM.STI.Events
  65. DeviceData=VM.WIA.DeviceData
  66. ICMProfiles="sRGB Color Space Profile.icm"
  67. ;LogConfig = VM.XP.NEEDDREBOOT
  68. Reboot
  69. ;**********************************************
  70. [VM.USBDCam.AddReg]
  71. HKR,,HardwareConfig,1,1
  72. HKR,,DevLoader,,*ntkern
  73. HKR,,NTMPDriver,,usbVM31b.sys
  74. ;HKR,,PageOutWhenUnopened,3,00
  75. ;HKR,,PowerDownWhenUnopened,3,00
  76. [VM.CustomPrp.AddReg]
  77. HKCR,CLSID%GUID_VMCustomPropertySets%,,,%VMCustomPropertySets%
  78. HKCR,CLSID%GUID_VMCustomPropertySets%InprocServer32,,,VM31bPrp.Ax
  79. HKCR,CLSID%GUID_VMCustomPropertySets%InprocServer32,ThreadingModel,,Both
  80. HKLM,SystemCurrentControlSetControlMediaInterfaces%GUID_VMCustomPropertySets%,,,%VMCustomPropertySets%
  81. HKLM,SystemCurrentControlSetControlMediaInterfaces%GUID_VMCustomPropertySets%,IID,1,5A,7C,75,9C,95,8D,3c,45,82,84,90,6A,68,DC,53,FA
  82. HKCR,CLSID%CLSID_VMCustomPropertyPage%,,,%VMCustomPropertyPage%
  83. HKCR,CLSID%CLSID_VMCustomPropertyPage%InprocServer32,,,VM31bPrp.Ax
  84. HKCR,CLSID%CLSID_VMCustomPropertyPage%InprocServer32,ThreadingModel,,Both
  85. HKCR,CLSID%CLSID_VMBackDoorPropertyPage%,,,%VMBackDoorPropertyPage%
  86. HKCR,CLSID%CLSID_VMBackDoorPropertyPage%InprocServer32,,,VM31bPrp.Ax
  87. HKCR,CLSID%CLSID_VMBackDoorPropertyPage%InprocServer32,ThreadingModel,,Both
  88. HKLM,SystemCurrentControlSetControlMediaSets%GUID_VMCustomPropertySets%PropertyPages%CLSID_VMCustomPropertyPage%,,,%VMCustomPropertyPage%
  89. ;Add or remove backdoor from the registry:
  90. ;HKLM,SystemCurrentControlSetControlMediaSets%GUID_VMCustomPropertySets%PropertyPages%CLSID_VMBackDoorPropertyPage%,,,%VMBackDoorPropertyPage%
  91. [VM.STI.AddReg]
  92. HKR,,USDClass,,"{80989FCE-A58A-4902-B5C8-37410E34023F}"
  93. HKCR,CLSID{80989FCE-A58A-4902-B5C8-37410E34023F} ,,,%STI_DEVICE_NAME%
  94. HKCR,CLSID{80989FCE-A58A-4902-B5C8-37410E34023F}InProcServer32,,,%11%VM31bSTI.dll
  95. HKCR,CLSID{80989FCE-A58A-4902-B5C8-37410E34023F}InProcServer32,ThreadingModel,,"Both"
  96. HKLM,"SOFTWAREMicrosoftWindowsCurrentVersionStillImageRegistered Applications",%VIDEOAPP%,,"%10%amcap.exe /StiDevice:%1 /StiEvent:%2"
  97. HKLM,"SOFTWAREMicrosoftWindowsCurrentVersionStillImageRegistered Applications",%STILLAPP%,,"%10%StillCap.exe /StiDevice:%1 /StiEvent:%2"
  98. [VM.WIA.AddReg]
  99. HKR,,USDClass,,"{0527d1d0-88c2-11d2-82c7-00c04f8ec183}"
  100. HKLM,"SOFTWAREMicrosoftWindowsCurrentVersionRun","BigDogPath",,"%10%VM_STI.EXE %USBVID_0AC8&PID_0302.DeviceDesc%"
  101. HKLM,"SoftwareZSMCUSBCAMERABigDogPath",Snapshot1,,"%10%amcap.exe"
  102. HKLM,"SoftwareZSMCUSBCAMERABigDogPath",Snapshot2,,"%10%VMCap.exe"
  103. [VM.STI.DeviceData]
  104. TwainDS=%USBVID_0AC8&PID_0302.TWAINDSName%
  105. SpecialInfo="VM"
  106. [VM.WIA.DeviceData]
  107. Server=local
  108. UI DLL=sti.dll
  109. UI Class ID={5d8ef5a3-ac13-11d2-a093-00c04f72dc3c}
  110. TwainDS=%USBVID_0AC8&PID_0302.TWAINDSName%
  111. SpecialInfo="VM"
  112. [VM.STI.Events]
  113. ; These are events that the device issues to trigger application 
  114. ; launching.
  115. Snapshot=%SNAPSHOT%,{E76F3027-CA52-468e-B06E-2F32E2F6B59E},*
  116. Snapshot2=%SNAPSHOT2%,{E76F3028-CA52-468e-B06E-2F32E2F6B59E},%STILLAPP%
  117. [VM.TWAIN.AddReg]
  118. HKLM,%TWAINSetting%,DeviceName,,%USBVID_0AC8&PID_0302.DeviceDesc%
  119. HKLM,%TWAINSetting%,DSName,,%USBVID_0AC8&PID_0302.TWAINDSName%
  120. HKLM,%TWAINSetting%,OEM,,%USBVID_0AC8&PID_0302.TWAINOEMPath%
  121. [VM.XP.NEEDDREBOOT]
  122. ConfigPriority = REBOOT 
  123. ;****************************************************
  124. [VM.USBDCam302.Interfaces]
  125. AddInterface=%KSCATEGORY_CAPTURE%,GLOBAL,VM.USBDCam302.Interface
  126. [VM.USBDCam302.NT.Interfaces]
  127. AddInterface=%KSCATEGORY_CAPTURE%,GLOBAL,VM.USBDCam302.Interface
  128. [VM.USBDCam302.XP.Interfaces]
  129. AddInterface=%KSCATEGORY_CAPTURE%,GLOBAL,VM.USBDCam302.Interface
  130. [VM.USBDCam302.Interface]
  131. AddReg=VM.USBDCam302.Intf.AddReg
  132.          
  133. [VM.USBDCam302.Intf.AddReg]
  134. HKR,,CLSID,,%ProxyVCap.CLSID%
  135. HKR,,FriendlyName,,%USBVID_0AC8&PID_0302.DeviceDesc%
  136. HKR,PageAliases,"{71F96464-78F3-11d0-A18C-00A0C9118956}",1,51,7C,75,9C, 95,8D, 3C,45, 0x82, 0x84, 0x90, 0x6A, 0x68, 0xDC, 0x53, 0xFA
  137. HKR,PinFactory1Interfaces%GUID_VMCustomPropertySets%,,,
  138. HKR,,ExtensionDLL,,%VM.ExtensionDLL%
  139. [VM.USBDCam302.NT.Services]
  140. AddService = ZSMC301b,0x00000002,VM.USBDCam302.ServiceInstall
  141. [VM.USBDCam302.XP.Services]
  142. AddService = ZSMC301b,0x00000002,VM.USBDCam302.ServiceInstall
  143. [VM.USBDCam302.ServiceInstall]
  144. DisplayName   = %USBVID_0AC8&PID_0302.DeviceDesc%
  145. ServiceType   = %SERVICE_KERNEL_DRIVER%
  146. StartType     = %SERVICE_DEMAND_START%
  147. ErrorControl  = %SERVICE_ERROR_NORMAL%
  148. ServiceBinary = %10%System32DriversusbVM31b.sys
  149. ;******************************************************
  150. [VM.USBDCam.Files.Ext]
  151. usbVM31b.sys
  152. [VM.CustomPrp.CopyFiles]
  153. VM31bPrp.Ax
  154. [VM.APP.CopyFiles]
  155. amcap.exe
  156. StillCap.exe
  157. [VM.XPAPP.CopyFiles]
  158. amcap.exe
  159. VM_STI.EXE,,,COPYFLG_FORCE_FILE_IN_USE
  160. VMCap.exe
  161. [VM.STI.CopyFiles]
  162. VM31bSTI.dll
  163. [VM.TWAIN.CopyFiles]
  164. VM31bTWN.DS
  165. [VM.XPTWAIN.CopyFiles]
  166. VM31bTXP.DS
  167. [VM.Config.CopyFiles]
  168. config.set
  169. [SourceDisksNames]
  170. 1 = %SRCDISKNAME%,,,
  171. [SourceDisksFiles]
  172. usbVM31b.sys = 1
  173. VM31bPrp.Ax = 1
  174. VM31bSTI.dll = 1 
  175. VM31bTWN.DS = 1
  176. VM31bTXP.DS = 1
  177. amcap.exe = 1
  178. StillCap.exe = 1
  179. VMCap.exe = 1
  180. VM_STI.EXE = 1
  181. config.set = 1
  182. [Strings]
  183. ;----------------
  184. ; Non-Localizable
  185. ;----------------
  186. ProxyVCap.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
  187. KSCATEGORY_CAPTURE="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
  188. SERVICE_KERNEL_DRIVER=1
  189. SERVICE_DEMAND_START=3
  190. SERVICE_ERROR_NORMAL=1
  191. VM.ExtensionDLL = "VM31bPrp.Ax"
  192. ;----------------
  193. ; Localizable
  194. ;----------------
  195. SRCDISKNAME = "USB PC CAMERA DISK"
  196. SoftMfg="VM"
  197. HwMfg="VM"
  198. USBVID_0AC8&PID_0302.DeviceDesc = "USB PC Camera 301P"
  199. VMCustomPropertySets="VM Custom Property Sets" 
  200. VMCustomPropertyPage="VM Custom Property Page"
  201. VMBackDoorPropertyPage="VM Back Door Property Page"
  202. TWAINSetting = "SoftwareZSMCUSBCAMERAZC0301TWAIN"
  203. USBVID_0AC8&PID_0302.TWAINDSName = "USB PC Camera 301P"
  204. USBVID_0AC8&PID_0302.TWAINOEMPath = "VM301b"
  205. GUID_VMCustomPropertySets="{9C757C5A-8D95-453c-8284-906A68DC53FA}"
  206. CLSID_VMCustomPropertyPage="{9C757C51-8D95-453c-8284-906A68DC53FA}"
  207. CLSID_VMBackDoorPropertyPage="{9C757C52-8D95-453c-8284-906A68DC53FA}"
  208. SNAPSHOT  = "Startup Camera"
  209. SNAPSHOT2 = "Capture Image"
  210. VIDEOAPP = "MS Video Capture Application"
  211. STILLAPP = "VM Still Capture Application"
  212. STI_DEVICE_NAME = "VM STI USB"