;
; VCommUsb.inf - Install the VCommUsb user-mode driver
;

[Version]
Signature="$Windows NT$"
Class=WdmUSB
ClassGUID={189d690b-ae78-47d0-9a31-aa1b2afbda55}
Provider=%MSFTUMDF%
DriverVer=06/16/2010,1.00.00
DriverPackageType=PlugAndPlay
DriverPackageDisplayName=%MediaDescription%
CatalogFile.NTx86=VCommUsbx86.cat
CatalogFile.NTamd64=VCommUsbamd64.cat

[Manufacturer]
%MSFTUMDF%=Actia, NTx86, NTamd64

[Actia.NTx86]
%PSAXS.DeviceDesc%=VCommUsb_Install, USB\VID_103a&PID_f000
%CMES.DeviceDesc%=VCommUsb_Install, USB\VID_103a&PID_f001
%BBP.DeviceDesc%=VCommUsb_Install, USB\VID_103a&PID_f002
%PassThru.DeviceDesc%=VCommUsb_Install, USB\VID_103a&PID_f007
%PPiEvol.DeviceDesc%=VCommUsb_Install, USB\VID_103a&PID_f008
%PPiEvolTest.DeviceDesc%=VCommUsb_Install, USB\VID_103a&PID_ff08

[Actia.NTamd64]
%PSAXS.DeviceDesc%=VCommUsb_Install, USB\VID_103a&PID_f000
%CMES.DeviceDesc%=VCommUsb_Install, USB\VID_103a&PID_f001
%BBP.DeviceDesc%=VCommUsb_Install, USB\VID_103a&PID_f002
%PassThru.DeviceDesc%=VCommUsb_Install, USB\VID_103a&PID_f007
%PPiEvol.DeviceDesc%=VCommUsb_Install, USB\VID_103a&PID_f008
%PPiEvolTest.DeviceDesc%=VCommUsb_Install, USB\VID_103a&PID_ff08

[ClassInstall32]
AddReg=ActiaUsbClass_RegistryAdd

[ActiaUsbClass_RegistryAdd]
HKR,,,,%ClassName%
HKR,,Icon,,"-10"

[SourceDisksFiles.x86]
VCommUsb.dll=1
WudfUpdate_01009.dll=1
WdfCoInstaller01009.dll=1
WinUsbCoinstaller2.dll=1

[SourceDisksFiles.amd64]
VCommUsb.dll=2
WudfUpdate_01009.dll=2
WdfCoInstaller01009.dll=2
WinUsbCoinstaller2.dll=2

[SourceDisksNames]
1 = %MediaDescription%,,,.\x86
2 = %MediaDescription%,,,.\amd64

; =================== UMDF VCommUsb Device ==================================

[VCommUsb_Install.NT]
CopyFiles=UMDriverCopy
Include=WINUSB.INF                      ; Import sections from WINUSB.INF
Needs=WINUSB.NT                         ; Run the CopyFiles & AddReg directives for WinUsb.INF

[VCommUsb_Install.NT.hw]
AddReg=VCommUsb_Device_AddReg

[VCommUsb_Install.NT.Services]
AddService=WUDFRd,0x000001fa,WUDFRD_ServiceInstall  ; flag 0x2 sets this as the service for the device
AddService=WinUsb,0x000001f8,WinUsb_ServiceInstall  ; this service is installed because its a filter.

[VCommUsb_Install.NT.Wdf]
KmdfService=WINUSB, WinUsb_Install
UmdfDispatcher=WinUsb
UmdfService=VCommUsb, VCommUsb_Install
UmdfServiceOrder=VCommUsb

[VCommUsb_Install.NT.CoInstallers]
AddReg=CoInstallers_AddReg
CopyFiles=CoInstallers_CopyFiles

[WinUsb_Install]
KmdfLibraryVersion = 1.9

[VCommUsb_Install]
UmdfLibraryVersion=1.9.0
DriverCLSID = "{A67E3996-7BE3-4997-B6A9-2C7BDA745561}"
ServiceBinary = "%12%\UMDF\VCommUsb.dll"

[VCommUsb_Device_AddReg]
HKR,,"LowerFilters",0x00010008,"WinUsb" ; FLG_ADDREG_TYPE_MULTI_SZ | FLG_ADDREG_APPEND

[WUDFRD_ServiceInstall]
DisplayName = %WudfRdDisplayName%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\WUDFRd.sys
LoadOrderGroup = Base


[WinUsb_ServiceInstall]
DisplayName     = %WinUsb_SvcDesc%
ServiceType     = 1
StartType       = 3
ErrorControl    = 1
ServiceBinary   = %12%\WinUSB.sys

[CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WudfUpdate_01009.dll", "WinUsbCoinstaller2.dll", "WdfCoInstaller01009.dll,WdfCoInstaller"

[CoInstallers_CopyFiles]
WudfUpdate_01009.dll
WdfCoInstaller01009.dll
WinUsbCoinstaller2.dll

[DestinationDirs]
UMDriverCopy=12,UMDF ; copy to driversMdf
CoInstallers_CopyFiles=11

[UMDriverCopy]
VCommUsb.dll

; =================== Generic ==================================

[Strings]
MSFTUMDF="ACTIA Automotive"
MediaDescription="ACTIA USB Devices Driver Installation Media"
ClassName="ACTIA USB Devices"
WudfRdDisplayName="Windows Driver Foundation - User-mode Driver Framework Reflector"
PSAXS.DeviceDesc="USB Com Board Driver ( UMDF )"
CMES.DeviceDesc="USB Mesure Board Driver ( UMDF )"
BBP.DeviceDesc="USB BBP Driver ( UMDF )"
PassThru.DeviceDesc="USB PassThru Driver ( UMDF )"
PPiEvol.DeviceDesc="USB Com Board Evolution Driver ( UMDF )"
PPiEvolTest.DeviceDesc="USB Com Board Evolution test Driver ( UMDF )"
WinUsb_SvcDesc="WinUSB Driver"

