home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / WindowsServerTrial / server.iso / sources / install.wim / 1 / Windows / inf / wpdmtp.inf < prev    next >
Encoding:
Text (UTF-16)  |  2008-01-19  |  21.9 KB  |  384 lines

  1. ; Installation inf for devices supporting Media Transfer Protocol (MTP)
  2. ;
  3. ; Copyright (c) Microsoft Corporation.
  4. ;
  5.  
  6. [SourceDisksNames]
  7. 3426=windows cd
  8.  
  9. [SourceDisksFiles]
  10. wpdusb.sys         = 3426
  11. wpdmtpdr.dll         = 3426
  12. wpdmtp.dll         = 3426
  13. wpdmtpus.dll         = 3426
  14. wpdmtpip.dll         = 3426
  15. wpdconns.dll         = 3426
  16.  
  17. [Version]
  18. Signature="$WINDOWS NT$"
  19. Class=WPD
  20. ClassGUID={EEC5AD98-8080-425f-922A-DABF3DE3F69A}
  21. Provider=%Msft%
  22. DriverVer=06/21/2006,6.0.6001.18000
  23.  
  24.  
  25. [DestinationDirs]
  26. MTP.Files.Kernel = 12
  27. MTP.Files.XPRT_USB = 11
  28. MTP.Files.XPRT_IP = 11
  29. MTP.Files.Core = 11
  30. MTP.Files.UMDFDDriver = 12,UMDF ; copy to system32\drivers\umdf
  31.  
  32. [Manufacturer]
  33. %MfgName%=Generic,NTx86,NTamd64
  34. %MfgNameVendorModels%=VendorModels,NTx86,NTamd64
  35.  
  36. ;
  37. ;Device is identified by Microsoft OS descriptor
  38. ;If your device does not support it, use specific VID & PID for identification
  39. ;
  40. [Generic.NTx86]
  41. %GenericMTP.DeviceDesc%=MTP, USB\MS_COMP_MTP
  42. %GenericPTP.DeviceDesc%=MTP, USB\Class_06&SubClass_01&Prot_01
  43. %GenericMTPIP.DeviceDesc%=MTPIP, umb\urn:microsoft-com:device:mtp:1
  44.  
  45. [Generic.NTamd64]
  46. %GenericMTP.DeviceDesc%=MTP, USB\MS_COMP_MTP
  47. %GenericPTP.DeviceDesc%=MTP, USB\Class_06&SubClass_01&Prot_01
  48. %GenericMTPIP.DeviceDesc%=MTPIP, umb\urn:microsoft-com:device:mtp:1
  49.  
  50. [VendorModels.NTx86]
  51. ; Kodak PTP
  52. %USB\VID_040A&PID_0140.Device%=MTP, USB\VID_040A&PID_0140
  53. %USB\VID_040A&PID_0200.Device%=MTP, USB\VID_040A&PID_0200
  54. %USB\VID_040A&PID_0121.Device%=MTP, USB\VID_040A&PID_0121
  55. %KodakDC4800%=MTP, USB\VID_040A&PID_0160
  56.  
  57. [VendorModels.NTamd64]
  58. ; Kodak PTP
  59. %USB\VID_040A&PID_0140.Device%=MTP, USB\VID_040A&PID_0140
  60. %USB\VID_040A&PID_0200.Device%=MTP, USB\VID_040A&PID_0200
  61. %USB\VID_040A&PID_0121.Device%=MTP, USB\VID_040A&PID_0121
  62. %KodakDC4800%=MTP, USB\VID_040A&PID_0160
  63.  
  64.  
  65. ;;******************************************************************************
  66. ;;
  67. ;; MTP with USB Transport
  68. ;; ======================
  69. ;; 
  70. ;; The following are to be used in vendor specific "Includes" and "Needs" sections.
  71. ;; Specifically, the vendor INF should contain:
  72. ;;
  73. ;; [DDInstall]
  74. ;; Include = wpdmtp.inf
  75. ;; Needs   = WPD.MTP
  76. ;;
  77. ;; [DDInstall.hw]
  78. ;; Include = wpdmtp.inf
  79. ;; Needs   = WPD.MTP.Registration       <- includes all default legacy API and autoplay registration for the device
  80. ;;  - OR - 
  81. ;; Needs   = WPD.MTP.RegistrationBasic  <- only do minimum registration, no legacy API or autoplay
  82. ;; 
  83. ;; [DDInstall.Services]
  84. ;; Include = wpdmtp.inf
  85. ;; Needs   = WPD.MTP.Services
  86. ;;
  87. ;; [DDInstall.CoInstallers]
  88. ;; Include = wpdmtp.inf
  89. ;; Needs = WPD.MTP.CoInstallers
  90. ;;
  91. ;; [DDInstall.Wdf]
  92. ;; Include = wpdmtp.inf
  93. ;; Needs = WPD.MTP.Wdf
  94. ;; UmdfServiceOrder=WpdMtpDriver
  95. ;;
  96. ;;******************************************************************************
  97.  
  98. [WPD.MTP]
  99. CopyFiles = MTP.Files.Kernel, MTP.Files.XPRT_USB, MTP.Files.Core, MTP.Files.UMDFDDriver
  100. RegisterDlls = MTP.RegisterComServers
  101.  
  102. [WPD.MTP.Registration]
  103. AddReg    = WDF.Registration, MTP.AutoPlayRegistration, MTP.LEGACY.Registration, MTPUSB.Transport.Registration
  104.  
  105. [WPD.MTP.RegistrationBasic]
  106. AddReg    = WDF.Registration, MTPUSB.Transport.Registration
  107.  
  108. [WPD.MTP.Services]
  109. AddService=WUDFRd, 0x000001fa, WUDFRD_ServiceInstall   ; 0x2 - assigned the name service as the PnP function driver
  110. AddService=WpdUsb, 0x000001f8, MTP.WpdUsb.AddService 
  111.  
  112. [WPD.MTP.CoInstallers]
  113. AddReg   = WDF.CoInstaller
  114.  
  115. [WPD.MTP.Wdf]
  116. UmdfService=WpdMtpDriver,WpdMtpDriver_Install
  117.  
  118. ;;******************************************************************************
  119. ;; Inbox MTP USB section
  120. ;;******************************************************************************
  121.  
  122. [MTP.NT]
  123. CopyFiles = MTP.Files.Kernel, MTP.Files.XPRT_USB, MTP.Files.Core, MTP.Files.UMDFDDriver
  124. RegisterDlls = MTP.RegisterComServers
  125. AddProperty=MTP.AddProp
  126.  
  127. [MTP.NT.hw]
  128. AddReg    = WDF.Registration, MTP.AutoPlayRegistration, MTP.LEGACY.Registration, MTPUSB.Transport.Registration, TSRedirection.Registration
  129.  
  130. [MTP.NT.Services]
  131. AddService=WUDFRd, 0x000001fa, WUDFRD_ServiceInstall   ; 0x2 - assigned the name service as the PnP function driver
  132. AddService=WpdUsb, 0x000001f8, MTP.WpdUsb.AddService   
  133.  
  134. [MTP.NT.CoInstallers]
  135. AddReg = WDF.CoInstaller
  136.  
  137. [MTP.NT.Wdf]
  138. UmdfService=WpdMtpDriver,WpdMtpDriver_Install
  139. UmdfServiceOrder=WpdMtpDriver
  140.  
  141.  
  142. [MTPUSB.Transport.Registration]
  143. HKR,"WpdMtpDriver","TransportClassID",0x0,"{34C445BA-07EB-4b5d-8EE9-F66BB9DA403B}"
  144.  
  145.  
  146. ;;******************************************************************************
  147. ;;
  148. ;; MTP with IP Transport
  149. ;; =====================
  150. ;;
  151. ;; The following are to be used in vendor specific "Includes" and "Needs" sections.
  152. ;; Specifically, the INF should contain:
  153. ;;
  154. ;; [DDInstall]
  155. ;; Include = wpdmtp.inf
  156. ;; Needs   = WPD.MTPIP
  157. ;;
  158. ;; [DDInstall.hw]
  159. ;; Include = wpdmtp.inf
  160. ;; Needs   = WPD.MTPIP.Registration       <- includes all default legacy API and autoplay registration for the device
  161. ;;  - OR - 
  162. ;; Needs   = WPD.MTPIP.RegistrationBasic  <- only do minimum registration, no legacy API or autoplay
  163. ;;
  164. ;; [DDInstall.Services]
  165. ;; Include = wpdmtp.inf
  166. ;; Needs   = WPD.MTPIP.Services
  167. ;;
  168. ;; [DDInstall.CoInstallers]
  169. ;; Include = wpdmtp.inf
  170. ;; Needs = WPD.MTPIP.CoInstallers
  171. ;;
  172. ;; [DDInstall.Wdf]
  173. ;; Include = wpdmtp.inf
  174. ;; Needs = WPD.MTPIP.Wdf
  175. ;; UmdfServiceOrder=WpdMtpDriver
  176. ;;
  177. ;;******************************************************************************
  178.  
  179. [WPD.MTPIP]
  180. CopyFiles = MTP.Files.Kernel, MTP.Files.XPRT_IP, MTP.Files.Core, MTP.Files.UMDFDDriver
  181. RegisterDlls = MTPIP.RegisterComServers
  182.  
  183. [WPD.MTPIP.Registration]
  184. AddReg    = WDF.Registration, PTP.AutoPlayRegistration, PTP.LEGACY.Registration, MTPIP.Transport.Registration
  185.  
  186. [WPD.MTPIP.RegistrationBasic]
  187. AddReg    = WDF.Registration, MTPIP.Transport.Registration
  188.  
  189. [WPD.MTPIP.Services]
  190. AddService=WUDFRd, 0x000001fa, WUDFRD_ServiceInstall   ; 0x2 - assigned the name service as the PnP function driver
  191.  
  192. [WPD.MTPIP.CoInstallers]
  193. AddReg   = WDF.CoInstaller
  194.  
  195. [WPD.MTPIP.Wdf]
  196. UmdfService=WpdMtpDriver,WpdMtpDriver_Install
  197.  
  198.  
  199. ;;******************************************************************************
  200. ;; Inbox MTP IP section
  201. ;;******************************************************************************
  202.  
  203. [MTPIP.NT]
  204. CopyFiles = MTP.Files.XPRT_IP, MTP.Files.Core, MTP.Files.UMDFDDriver
  205. RegisterDlls = MTPIP.RegisterComServers
  206. AddProperty=MTP.AddProp
  207.  
  208. [MTPIP.NT.hw]
  209. AddReg    = PTP.AutoPlayRegistration, PTP.LEGACY.Registration, MTPIP.Transport.Registration, TSRedirection.Registration
  210.  
  211. [MTPIP.NT.Services]
  212. AddService=WUDFRd, 0x000001fa, WUDFRD_ServiceInstall   ; 0x2 bit  assigned the name service as the PnP function driver
  213.  
  214. [MTPIP.NT.CoInstallers]
  215. AddReg = WDF.CoInstaller
  216.  
  217. [MTPIP.NT.Wdf]
  218. UmdfService=WpdMtpDriver,WpdMtpDriver_Install
  219. UmdfServiceOrder=WpdMtpDriver
  220.  
  221.  
  222. [MTPIP.Transport.Registration]
  223. HKR,"WpdMtpDriver","TransportClassID",0x0,"{90ED8EEA-1605-4c46-8314-EED94AAA588B}"
  224.  
  225.  
  226. ;;******************************************************************************
  227. ;; Common section
  228. ;;   1. File copy 
  229. ;;   2. Regsvr COM servers
  230. ;;   3. AutoPlay 
  231. ;;   4. WDF 
  232. ;;   5. Registration
  233. ;;   6. WMDM/WIA legacy support
  234. ;;   7. Kernel mode service (WPDUSB)
  235. ;;   8. Driver update notification
  236. ;;******************************************************************************
  237.  
  238. [MTP.Files.XPRT_IP]
  239. WpdMtpIP.dll,,,0x0100
  240.  
  241. [MTP.Files.Kernel]
  242. WpdUsb.sys,,,0x0100
  243.  
  244. [MTP.Files.XPRT_USB]
  245. WpdMtpUS.dll,,,0x0100
  246. WpdConns.dll,,,0x0100
  247.  
  248. [MTP.Files.Core]
  249. WpdMtp.dll,,,0x0100
  250.  
  251. [MTP.Files.UMDFDDriver]
  252. WpdMtpDr.dll,,,0x0100
  253.  
  254.  
  255. [MTP.RegisterComServers]
  256. 11,,wpdconns.dll,1
  257. 11,,wpdmtpus.dll,1
  258. 11,,wpdmtp.dll,1
  259. 12,UMDF,wpdmtpdr.dll,1
  260.  
  261. [MTPIP.RegisterComServers]
  262. 11,,wpdmtpip.dll,1
  263. 11,,wpdmtp.dll,1
  264. 12,UMDF,wpdmtpdr.dll,1
  265.  
  266.  
  267. ;=============== TS Redirection =============
  268. [TSRedirection.Registration]
  269. ;
  270. ; Enable support for redirecting the device over Terminal Server connection.
  271. ;
  272. HKR,,"TSRedirFlags",0x10001,0x1
  273.  
  274.  
  275.  
  276. ; ================ AutoPlay =================
  277.  
  278. ; PTP devices
  279.  
  280. [PTP.AutoPlayRegistration]
  281. ; This lists the interfaces which WpdUsb.sys will register on device start; this list contains the legacy AutoPlay
  282. HKR,,"Interfaces",0x00010000,"{6ac27878-a6fa-4155-ba85-f98f491d4f33}"
  283.  
  284. ; Enable default AutoPlay support
  285. HKR,,"EnableDefaultAutoPlaySupport",0x10001,1
  286.  
  287. ; Ensure that the entries show up as 'source only' so apps registered for sink do not show up in the list
  288. HKR,,"AutoPlaySourceOnly",0x10001,1
  289.  
  290. ; MTP devices
  291.  
  292. [MTP.AutoPlayRegistration]
  293. ; Enable default AutoPlay support
  294. HKR,,"EnableDefaultAutoPlaySupport",0x10001,1
  295.  
  296.  
  297. ; ================= WDF sections ===============
  298.  
  299. [WDF.CoInstaller]
  300. HKR,,CoInstallers32,0x00010000,"WUDFCoinstaller.dll"
  301.  
  302. [WDF.Registration]
  303. HKR,"WUDF","Exclusive",0x10001,1
  304. HKR,,"LowerFilters",0x00010008,"WpdUSB" ; FLG_ADDREG_TYPE_MULTI_SZ | FLG_ADDREG_APPEND
  305.  
  306. [WpdMtpDriver_Install]
  307. UmdfLibraryVersion=1.0.0
  308. ServiceBinary="%12%\umdf\WpdMtpDr.dll"
  309. DriverCLSID="{AAAE762B-A6A2-4c45-B5D8-9A83AFB6BB70}"
  310.  
  311. ; =============== Legacy support ===============
  312.  
  313. ; PTP devices
  314.  
  315. [PTP.LEGACY.Registration]
  316. ; Request for auto-determination of WIA/WMDM legacy API support based on device capabilities and type
  317. HKR,,"EnableLegacySupport",0x10001,0xFFFFFFFF
  318.  
  319. ; Set PTP devices to 'Camera type' devices so the correct device icon will be displayed in Windows Explorer
  320. HKR,,"PortableDeviceType",0x10001,1
  321.  
  322. ; Report EXIF format as JPEG for WIA  
  323. HKR,,"ReportJPGFormatForEXIF",0x10001,1
  324.  
  325.  
  326. ; MTP devices
  327.  
  328. [MTP.LEGACY.Registration]
  329. ; Request for auto-determination of WIA/WMDM legacy API support based on device capabilities and type
  330. HKR,,"EnableLegacySupport",0x10001,0xFFFFFFFF
  331.  
  332. ; Report EXIF format as JPEG for WIA  
  333. HKR,,"ReportJPGFormatForEXIF",0x10001,1
  334.  
  335. ; =================== WUDFRd ===================
  336.  
  337. [WUDFRD_ServiceInstall]
  338. ServiceType     = %SERVICE_KERNEL_DRIVER%
  339. StartType       = %SERVICE_DEMAND_START%
  340. ErrorControl    = %SERVICE_ERROR_NORMAL%
  341. ServiceBinary   = %12%\WUDFRd.sys
  342.  
  343. ; =================== WPDUSB ===================
  344.  
  345. [MTP.WpdUsb.AddService]
  346. DisplayName    = %WpdUsb.SvcDesc%
  347. ServiceType    = %SERVICE_KERNEL_DRIVER%
  348. StartType      = %SERVICE_DEMAND_START%
  349. ErrorControl   = %SERVICE_ERROR_NORMAL%
  350. ServiceBinary  = %12%\wpdusb.sys
  351. LoadOrderGroup = Base
  352.  
  353. ; =========== Driver update notification ========
  354.  
  355. [MTP.AddProp]
  356. GenericDriverInstalled,,,,1
  357.  
  358.  
  359. ;
  360. ; =================== Strings ===================
  361. ;
  362.  
  363. [Strings]
  364.  
  365. ; not localizable 
  366. SERVICE_KERNEL_DRIVER = 0x1 
  367. SERVICE_DEMAND_START  = 0x3 
  368. SERVICE_ERROR_NORMAL  = 0x1 
  369.  
  370. ;; Localizable strings
  371. USB\VID_040A&PID_0121.Device="Kodak Digital Camera"
  372. USB\VID_040A&PID_0140.Device="Kodak DC4800 Zoom Digital Camera"
  373. USB\VID_040A&PID_0200.Device="Kodak Digital Camera"
  374. KodakDC4800="Kodak DC4800 Zoom Digital Camera"
  375. GenericPTP.DeviceDesc="Digital Still Camera"
  376.  
  377. Msft="Microsoft"
  378. WpdUsb.SvcDesc="WpdUsb"
  379. GenericMTP.DeviceDesc="MTP Device"
  380. GenericMTPIP.DeviceDesc="MTP IP Device"
  381. MfgName="(Standard MTP-compliant devices)"
  382. MfgNameVendorModels="(Standard MTP-Compliant Device)"
  383. Autoplay.Label= "Portable Device"
  384.