; Installation inf for devices supporting Media Transfer Protocol (MTP)
;
; Copyright (c) Microsoft Corporation.

[Version]
Signature="$WINDOWS NT$"
Class=WPD
ClassGUID={EEC5AD98-8080-425f-922A-DABF3DE3F69A}
Provider=%Msft%
DriverVer = 06/21/2006,10.0.22621.1

[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%=TSMTP, TS_USB\MS_COMP_MTP
%GenericPTP.DeviceDesc%=TSMTP, TS_USB\Class_06&SubClass_01&Prot_01
%GenericMTPIP.DeviceDesc%=TSMTPIP, TS_umb\urn:microsoft-com:device:mtp:1


[Generic.NTamd64]
%GenericMTP.DeviceDesc%=TSMTP, TS_USB\MS_COMP_MTP
%GenericPTP.DeviceDesc%=TSMTP, TS_USB\Class_06&SubClass_01&Prot_01
%GenericMTPIP.DeviceDesc%=TSMTPIP, TS_umb\urn:microsoft-com:device:mtp:1

[VendorModels.NTx86]
; Kodak PTP
%TS_USB\VID_040A&PID_0140.Device%=TSMTP, TS_USB\VID_040A&PID_0140
%TS_USB\VID_040A&PID_0200.Device%=TSMTP, TS_USB\VID_040A&PID_0200
%TS_USB\VID_040A&PID_0121.Device%=TSMTP, TS_USB\VID_040A&PID_0121
%KodakDC4800%=TSMTP, TS_USB\VID_040A&PID_0160
;Nokia N91
%GenericMTP.DeviceDesc%=TSMTP, TS_USB\VID_0421&PID_0485
;Creative PMC
%GenericMTP.DeviceDesc%=TSMTP, TS_USB\VID_041E&PID_4123
;Samsung PMC
%GenericMTP.DeviceDesc%=TSMTP, TS_USB\VID_04E8&PID_5A0F
;Intel Bandon PMC
%GenericMTP.DeviceDesc%=TSMTP, TS_USB\VID_045E&PID_00C9
;iRiver PMC
%GenericMTP.DeviceDesc%=TSMTP, TS_USB\VID_1006&PID_4002
%GenericMTP.DeviceDesc%=TSMTP, TS_USB\VID_1006&PID_4003

[VendorModels.NTamd64]
; Kodak PTP
%TS_USB\VID_040A&PID_0140.Device%=TSMTP, TS_USB\VID_040A&PID_0140
%TS_USB\VID_040A&PID_0200.Device%=TSMTP, TS_USB\VID_040A&PID_0200
%TS_USB\VID_040A&PID_0121.Device%=TSMTP, TS_USB\VID_040A&PID_0121
%KodakDC4800%=TSMTP, TS_USB\VID_040A&PID_0160
;Nokia N91
%GenericMTP.DeviceDesc%=TSMTP, TS_USB\VID_0421&PID_0485
;Creative PMC
%GenericMTP.DeviceDesc%=TSMTP, TS_USB\VID_041E&PID_4123
;Samsung PMC
%GenericMTP.DeviceDesc%=TSMTP, TS_USB\VID_04E8&PID_5A0F
;Intel Bandon PMC
%GenericMTP.DeviceDesc%=TSMTP, TS_USB\VID_045E&PID_00C9
;iRiver PMC
%GenericMTP.DeviceDesc%=TSMTP, TS_USB\VID_1006&PID_4002
%GenericMTP.DeviceDesc%=TSMTP, TS_USB\VID_1006&PID_4003

;;******************************************************************************

[TSMTP.NT]
Include = wpdmtp.inf,WINUSB.INF
Needs   = WPD.MTP,WINUSB.NT
Include = ts_generic.inf
Needs   = TS_Generic_Basic_Install

[TSMTP.NT.Hw]
Include = ts_generic.inf
Needs   = TS_Generic_Basic_Install.Hw
AddReg= TSMTP.AutoPlayRegistration,TSMTP.LEGACY.Registration,MTP.InstallationInterface

[TSMTP.NT.Services]
Include = ts_generic.inf
Needs   = TS_Generic_Basic_Install.Services

[TSMTP.NT.CoInstallers]
Include = wpdmtp.inf
Needs   = MTP.NT.CoInstallers

[TSMTP.NT.Wdf]
Include = ts_generic.inf
Needs   = TS_Generic_Basic_Install.Wdf
UmdfServiceOrder=UsbDr

[TSMTPIP.NT]
Include = wpdmtp.inf
Needs   = MTPIP.NT
Include = ts_generic.inf
Needs   = TS_Generic_Basic_Install

[TSMTPIP.NT.Hw]
Include = ts_generic.inf
Needs   = TS_Generic_Basic_Install.Hw
AddReg=  TSPTP.AutoPlayRegistration,TSPTP.LEGACY.Registration,MTP.InstallationInterface

[TSMTPIP.NT.Services]
Include = ts_generic.inf
Needs   = TS_Generic_Basic_Install.Services

[TSMTPIP.NT.CoInstallers]
Include = wpdmtp.inf
Needs   = MTPIP.NT.CoInstallers

[TSMTPIP.NT.Wdf]
Include = ts_generic.inf
Needs   = TS_Generic_Basic_Install.Wdf
UmdfServiceOrder=UsbDr

[MTP.InstallationInterface]
; This lists the GUID_DEVINTERFACE_WPD_DRIVER_PREPARED interface which mtp device requires for proper device installation
HKR,"UsbDr","Interfaces",0x00010000,"{10497b1b-ba51-44e5-8318-a65c837b6661}"

[TSMTP.AutoPlayRegistration]
; Enable default AutoPlay support
HKR,,"EnableDefaultAutoPlaySupport",0x10001,1

[TSMTP.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

[TSPTP.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

[TSPTP.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 File Explorer
HKR,,"PortableDeviceType",0x10001,1

; Report EXIF format as JPEG for WIA  
HKR,,"ReportJPGFormatForEXIF",0x10001,1

[Strings]

;; Localizable strings
TS_USB\VID_040A&PID_0121.Device="Kodak Digital Camera"
TS_USB\VID_040A&PID_0140.Device="Kodak DC4800 Zoom Digital Camera"
TS_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"
