;
; WpdFs.inf
;
; WPD File System driver
;

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

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
wpdfs.dll 		= 3426

[ControlFlags]
BasicDriverOk=*

[Manufacturer]
%MicrosoftMfg%=Microsoft,NTamd64

[Microsoft.NTamd64]
%BasicDeviceName%=Basic_Install,wpdbusenum\fs

; =================== WPDFS Device ==================================

[Basic_Install]
CopyFiles=System32Copy

[Basic_Install.hw]
AddReg=Device_AddReg

[Basic_Install.Services]
AddService=WUDFWpdFs,0x000001fa,WUDFWpdFs_ServiceInstall

[Basic_Install.CoInstallers]
AddReg=Basic_Install.CoInstallers_AddReg

[Basic_Install.CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WUDFCoInstaller.dll"

[Basic_Install.Wdf]
UmdfService=WpdFs, WpdFs_Install
UmdfServiceOrder=WpdFs
UmdfImpersonationLevel = Impersonation

[WpdFs_Install]
UmdfLibraryVersion=1.11.0
DriverCLSID="{112DE495-AC4C-46F8-B663-6A4266C53313}"
ServiceBinary=%12%\UMDF\WpdFs.dll

[Device_AddReg]
; Enable auto-detection of WIA and WMDM legacy support
HKR,,"EnableLegacySupport",0x10001,0xFFFFFFFF
; Enable writable DCF storage (if present)
HKR,,"AutoPlaySourceOnly",0x10001,0
HKR,,"UseExtendedWmdm",0x10001,1
HKR,,"WMDMSPCLSID",,"{77F7F122-20B0-4117-A2FB-059D1FC88256}"
HKR,,"OptimalTransferSize",0x10001,262144
; Disable appearance in shell extension
HKR,,"PortableDeviceIsMassStorage",0x10001,1
; WPDSP Should convert unicode serial numbers from WPD to ANSI
HKR,,"ConvertSerialNumberToANSI",0x10001,1

[WUDFWpdFs_ServiceInstall]
DisplayName    = %WPDFS_SvcName%
Description    = %WPDFS_SvcDesc%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\WUDFRd.sys
StartName=\Driver\WudfRd

[DestinationDirs]
System32Copy=12,UMDF ; copy to system32\drivers\umdf

[System32Copy]
WpdFs.dll,,,0x0100

; =================== Strings ==================================

[Strings]

;Non-Localizable
Msft="Microsoft"

;Localizable
WPDFS_SvcName="WPD File System driver"
WPDFS_SvcDesc="User mode driver that enables communication with removable storage devices via the WPD interface"
BasicDeviceName="WPD FileSystem Volume Driver"
MicrosoftMfg="Microsoft"
