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 >
Windows Setup INFormation  |  2008-01-19  |  22KB  |  384 lines

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