home *** CD-ROM | disk | FTP | other *** search
- ; Installation inf for devices supporting Media Transfer Protocol (MTP)
- ;
- ; Copyright (c) Microsoft Corporation.
- ;
-
- [SourceDisksNames]
- 3426=windows cd
-
- [SourceDisksFiles]
- wpdusb.sys = 3426
- wpdmtpdr.dll = 3426
- wpdmtp.dll = 3426
- wpdmtpus.dll = 3426
- wpdmtpip.dll = 3426
- wpdconns.dll = 3426
-
- [Version]
- Signature="$WINDOWS NT$"
- Class=WPD
- ClassGUID={EEC5AD98-8080-425f-922A-DABF3DE3F69A}
- Provider=%Msft%
- DriverVer=06/21/2006,6.0.6001.18000
-
-
- [DestinationDirs]
- MTP.Files.Kernel = 12
- MTP.Files.XPRT_USB = 11
- MTP.Files.XPRT_IP = 11
- MTP.Files.Core = 11
- MTP.Files.UMDFDDriver = 12,UMDF ; copy to system32\drivers\umdf
-
- [Manufacturer]
- %MfgName%=Generic,NTx86,NTamd64
- %MfgNameVendorModels%=VendorModels,NTx86,NTamd64
-
- ;
- ;Device is identified by Microsoft OS descriptor
- ;If your device does not support it, use specific VID & PID for identification
- ;
- [Generic.NTx86]
- %GenericMTP.DeviceDesc%=MTP, USB\MS_COMP_MTP
- %GenericPTP.DeviceDesc%=MTP, USB\Class_06&SubClass_01&Prot_01
- %GenericMTPIP.DeviceDesc%=MTPIP, umb\urn:microsoft-com:device:mtp:1
-
- [Generic.NTamd64]
- %GenericMTP.DeviceDesc%=MTP, USB\MS_COMP_MTP
- %GenericPTP.DeviceDesc%=MTP, USB\Class_06&SubClass_01&Prot_01
- %GenericMTPIP.DeviceDesc%=MTPIP, umb\urn:microsoft-com:device:mtp:1
-
- [VendorModels.NTx86]
- ; Kodak PTP
- %USB\VID_040A&PID_0140.Device%=MTP, USB\VID_040A&PID_0140
- %USB\VID_040A&PID_0200.Device%=MTP, USB\VID_040A&PID_0200
- %USB\VID_040A&PID_0121.Device%=MTP, USB\VID_040A&PID_0121
- %KodakDC4800%=MTP, USB\VID_040A&PID_0160
-
- [VendorModels.NTamd64]
- ; Kodak PTP
- %USB\VID_040A&PID_0140.Device%=MTP, USB\VID_040A&PID_0140
- %USB\VID_040A&PID_0200.Device%=MTP, USB\VID_040A&PID_0200
- %USB\VID_040A&PID_0121.Device%=MTP, USB\VID_040A&PID_0121
- %KodakDC4800%=MTP, USB\VID_040A&PID_0160
-
-
- ;;******************************************************************************
- ;;
- ;; MTP with USB Transport
- ;; ======================
- ;;
- ;; The following are to be used in vendor specific "Includes" and "Needs" sections.
- ;; Specifically, the vendor INF should contain:
- ;;
- ;; [DDInstall]
- ;; Include = wpdmtp.inf
- ;; Needs = WPD.MTP
- ;;
- ;; [DDInstall.hw]
- ;; Include = wpdmtp.inf
- ;; Needs = WPD.MTP.Registration <- includes all default legacy API and autoplay registration for the device
- ;; - OR -
- ;; Needs = WPD.MTP.RegistrationBasic <- only do minimum registration, no legacy API or autoplay
- ;;
- ;; [DDInstall.Services]
- ;; Include = wpdmtp.inf
- ;; Needs = WPD.MTP.Services
- ;;
- ;; [DDInstall.CoInstallers]
- ;; Include = wpdmtp.inf
- ;; Needs = WPD.MTP.CoInstallers
- ;;
- ;; [DDInstall.Wdf]
- ;; Include = wpdmtp.inf
- ;; Needs = WPD.MTP.Wdf
- ;; UmdfServiceOrder=WpdMtpDriver
- ;;
- ;;******************************************************************************
-
- [WPD.MTP]
- CopyFiles = MTP.Files.Kernel, MTP.Files.XPRT_USB, MTP.Files.Core, MTP.Files.UMDFDDriver
- RegisterDlls = MTP.RegisterComServers
-
- [WPD.MTP.Registration]
- AddReg = WDF.Registration, MTP.AutoPlayRegistration, MTP.LEGACY.Registration, MTPUSB.Transport.Registration
-
- [WPD.MTP.RegistrationBasic]
- AddReg = WDF.Registration, MTPUSB.Transport.Registration
-
- [WPD.MTP.Services]
- AddService=WUDFRd, 0x000001fa, WUDFRD_ServiceInstall ; 0x2 - assigned the name service as the PnP function driver
- AddService=WpdUsb, 0x000001f8, MTP.WpdUsb.AddService
-
- [WPD.MTP.CoInstallers]
- AddReg = WDF.CoInstaller
-
- [WPD.MTP.Wdf]
- UmdfService=WpdMtpDriver,WpdMtpDriver_Install
-
- ;;******************************************************************************
- ;; Inbox MTP USB section
- ;;******************************************************************************
-
- [MTP.NT]
- CopyFiles = MTP.Files.Kernel, MTP.Files.XPRT_USB, MTP.Files.Core, MTP.Files.UMDFDDriver
- RegisterDlls = MTP.RegisterComServers
- AddProperty=MTP.AddProp
-
- [MTP.NT.hw]
- AddReg = WDF.Registration, MTP.AutoPlayRegistration, MTP.LEGACY.Registration, MTPUSB.Transport.Registration, TSRedirection.Registration
-
- [MTP.NT.Services]
- AddService=WUDFRd, 0x000001fa, WUDFRD_ServiceInstall ; 0x2 - assigned the name service as the PnP function driver
- AddService=WpdUsb, 0x000001f8, MTP.WpdUsb.AddService
-
- [MTP.NT.CoInstallers]
- AddReg = WDF.CoInstaller
-
- [MTP.NT.Wdf]
- UmdfService=WpdMtpDriver,WpdMtpDriver_Install
- UmdfServiceOrder=WpdMtpDriver
-
-
- [MTPUSB.Transport.Registration]
- HKR,"WpdMtpDriver","TransportClassID",0x0,"{34C445BA-07EB-4b5d-8EE9-F66BB9DA403B}"
-
-
- ;;******************************************************************************
- ;;
- ;; MTP with IP Transport
- ;; =====================
- ;;
- ;; The following are to be used in vendor specific "Includes" and "Needs" sections.
- ;; Specifically, the INF should contain:
- ;;
- ;; [DDInstall]
- ;; Include = wpdmtp.inf
- ;; Needs = WPD.MTPIP
- ;;
- ;; [DDInstall.hw]
- ;; Include = wpdmtp.inf
- ;; Needs = WPD.MTPIP.Registration <- includes all default legacy API and autoplay registration for the device
- ;; - OR -
- ;; Needs = WPD.MTPIP.RegistrationBasic <- only do minimum registration, no legacy API or autoplay
- ;;
- ;; [DDInstall.Services]
- ;; Include = wpdmtp.inf
- ;; Needs = WPD.MTPIP.Services
- ;;
- ;; [DDInstall.CoInstallers]
- ;; Include = wpdmtp.inf
- ;; Needs = WPD.MTPIP.CoInstallers
- ;;
- ;; [DDInstall.Wdf]
- ;; Include = wpdmtp.inf
- ;; Needs = WPD.MTPIP.Wdf
- ;; UmdfServiceOrder=WpdMtpDriver
- ;;
- ;;******************************************************************************
-
- [WPD.MTPIP]
- CopyFiles = MTP.Files.Kernel, MTP.Files.XPRT_IP, MTP.Files.Core, MTP.Files.UMDFDDriver
- RegisterDlls = MTPIP.RegisterComServers
-
- [WPD.MTPIP.Registration]
- AddReg = WDF.Registration, PTP.AutoPlayRegistration, PTP.LEGACY.Registration, MTPIP.Transport.Registration
-
- [WPD.MTPIP.RegistrationBasic]
- AddReg = WDF.Registration, MTPIP.Transport.Registration
-
- [WPD.MTPIP.Services]
- AddService=WUDFRd, 0x000001fa, WUDFRD_ServiceInstall ; 0x2 - assigned the name service as the PnP function driver
-
- [WPD.MTPIP.CoInstallers]
- AddReg = WDF.CoInstaller
-
- [WPD.MTPIP.Wdf]
- UmdfService=WpdMtpDriver,WpdMtpDriver_Install
-
-
- ;;******************************************************************************
- ;; Inbox MTP IP section
- ;;******************************************************************************
-
- [MTPIP.NT]
- CopyFiles = MTP.Files.XPRT_IP, MTP.Files.Core, MTP.Files.UMDFDDriver
- RegisterDlls = MTPIP.RegisterComServers
- AddProperty=MTP.AddProp
-
- [MTPIP.NT.hw]
- AddReg = PTP.AutoPlayRegistration, PTP.LEGACY.Registration, MTPIP.Transport.Registration, TSRedirection.Registration
-
- [MTPIP.NT.Services]
- AddService=WUDFRd, 0x000001fa, WUDFRD_ServiceInstall ; 0x2 bit assigned the name service as the PnP function driver
-
- [MTPIP.NT.CoInstallers]
- AddReg = WDF.CoInstaller
-
- [MTPIP.NT.Wdf]
- UmdfService=WpdMtpDriver,WpdMtpDriver_Install
- UmdfServiceOrder=WpdMtpDriver
-
-
- [MTPIP.Transport.Registration]
- HKR,"WpdMtpDriver","TransportClassID",0x0,"{90ED8EEA-1605-4c46-8314-EED94AAA588B}"
-
-
- ;;******************************************************************************
- ;; Common section
- ;; 1. File copy
- ;; 2. Regsvr COM servers
- ;; 3. AutoPlay
- ;; 4. WDF
- ;; 5. Registration
- ;; 6. WMDM/WIA legacy support
- ;; 7. Kernel mode service (WPDUSB)
- ;; 8. Driver update notification
- ;;******************************************************************************
-
- [MTP.Files.XPRT_IP]
- WpdMtpIP.dll,,,0x0100
-
- [MTP.Files.Kernel]
- WpdUsb.sys,,,0x0100
-
- [MTP.Files.XPRT_USB]
- WpdMtpUS.dll,,,0x0100
- WpdConns.dll,,,0x0100
-
- [MTP.Files.Core]
- WpdMtp.dll,,,0x0100
-
- [MTP.Files.UMDFDDriver]
- WpdMtpDr.dll,,,0x0100
-
-
- [MTP.RegisterComServers]
- 11,,wpdconns.dll,1
- 11,,wpdmtpus.dll,1
- 11,,wpdmtp.dll,1
- 12,UMDF,wpdmtpdr.dll,1
-
- [MTPIP.RegisterComServers]
- 11,,wpdmtpip.dll,1
- 11,,wpdmtp.dll,1
- 12,UMDF,wpdmtpdr.dll,1
-
-
- ;=============== TS Redirection =============
- [TSRedirection.Registration]
- ;
- ; Enable support for redirecting the device over Terminal Server connection.
- ;
- HKR,,"TSRedirFlags",0x10001,0x1
-
-
-
- ; ================ AutoPlay =================
-
- ; PTP devices
-
- [PTP.AutoPlayRegistration]
- ; This lists the interfaces which WpdUsb.sys will register on device start; this list contains the legacy AutoPlay
- HKR,,"Interfaces",0x00010000,"{6ac27878-a6fa-4155-ba85-f98f491d4f33}"
-
- ; Enable default AutoPlay support
- HKR,,"EnableDefaultAutoPlaySupport",0x10001,1
-
- ; Ensure that the entries show up as 'source only' so apps registered for sink do not show up in the list
- HKR,,"AutoPlaySourceOnly",0x10001,1
-
- ; MTP devices
-
- [MTP.AutoPlayRegistration]
- ; Enable default AutoPlay support
- HKR,,"EnableDefaultAutoPlaySupport",0x10001,1
-
-
- ; ================= WDF sections ===============
-
- [WDF.CoInstaller]
- HKR,,CoInstallers32,0x00010000,"WUDFCoinstaller.dll"
-
- [WDF.Registration]
- HKR,"WUDF","Exclusive",0x10001,1
- HKR,,"LowerFilters",0x00010008,"WpdUSB" ; FLG_ADDREG_TYPE_MULTI_SZ | FLG_ADDREG_APPEND
-
- [WpdMtpDriver_Install]
- UmdfLibraryVersion=1.0.0
- ServiceBinary="%12%\umdf\WpdMtpDr.dll"
- DriverCLSID="{AAAE762B-A6A2-4c45-B5D8-9A83AFB6BB70}"
-
- ; =============== Legacy support ===============
-
- ; PTP devices
-
- [PTP.LEGACY.Registration]
- ; Request for auto-determination of WIA/WMDM legacy API support based on device capabilities and type
- HKR,,"EnableLegacySupport",0x10001,0xFFFFFFFF
-
- ; Set PTP devices to 'Camera type' devices so the correct device icon will be displayed in Windows Explorer
- HKR,,"PortableDeviceType",0x10001,1
-
- ; Report EXIF format as JPEG for WIA
- HKR,,"ReportJPGFormatForEXIF",0x10001,1
-
-
- ; MTP devices
-
- [MTP.LEGACY.Registration]
- ; Request for auto-determination of WIA/WMDM legacy API support based on device capabilities and type
- HKR,,"EnableLegacySupport",0x10001,0xFFFFFFFF
-
- ; Report EXIF format as JPEG for WIA
- HKR,,"ReportJPGFormatForEXIF",0x10001,1
-
- ; =================== WUDFRd ===================
-
- [WUDFRD_ServiceInstall]
- ServiceType = %SERVICE_KERNEL_DRIVER%
- StartType = %SERVICE_DEMAND_START%
- ErrorControl = %SERVICE_ERROR_NORMAL%
- ServiceBinary = %12%\WUDFRd.sys
-
- ; =================== WPDUSB ===================
-
- [MTP.WpdUsb.AddService]
- DisplayName = %WpdUsb.SvcDesc%
- ServiceType = %SERVICE_KERNEL_DRIVER%
- StartType = %SERVICE_DEMAND_START%
- ErrorControl = %SERVICE_ERROR_NORMAL%
- ServiceBinary = %12%\wpdusb.sys
- LoadOrderGroup = Base
-
- ; =========== Driver update notification ========
-
- [MTP.AddProp]
- GenericDriverInstalled,,,,1
-
-
- ;
- ; =================== Strings ===================
- ;
-
- [Strings]
-
- ; not localizable
- SERVICE_KERNEL_DRIVER = 0x1
- SERVICE_DEMAND_START = 0x3
- SERVICE_ERROR_NORMAL = 0x1
-
- ;; Localizable strings
- USB\VID_040A&PID_0121.Device="Kodak Digital Camera"
- USB\VID_040A&PID_0140.Device="Kodak DC4800 Zoom Digital Camera"
- USB\VID_040A&PID_0200.Device="Kodak Digital Camera"
- KodakDC4800="Kodak DC4800 Zoom Digital Camera"
- GenericPTP.DeviceDesc="Digital Still Camera"
-
- Msft="Microsoft"
- WpdUsb.SvcDesc="WpdUsb"
- GenericMTP.DeviceDesc="MTP Device"
- GenericMTPIP.DeviceDesc="MTP IP Device"
- MfgName="(Standard MTP-compliant devices)"
- MfgNameVendorModels="(Standard MTP-Compliant Device)"
- Autoplay.Label= "Portable Device"
-