;
; ToshCDC.inf
;
; Installs WinUsb
;

[Version]
Signature = "$Windows NT$"
Class     = USBDevice
ClassGUID = {88BAE032-5A81-49f0-BC3D-A4FF138216D6}
Provider = %ManufacturerName%
CatalogFile=ToshCDC.cat
DriverVer=10/21/2015,11.42.34.471

; ========== Manufacturer/Models sections ===========

[Manufacturer]
%ManufacturerName% = Standard,NTx86,NTai64,NTamd64

[Standard]
%eStudio170%=USB_Install, USB\VID_08A6&PID_8004
%Changjiang2L1%=USB_Install, USB\VID_08A6&PID_8011
%Changjiang2L2%=USB_Install, USB\VID_08A6&PID_8012
%Changjiang2H1%=USB_Install, USB\VID_08A6&PID_8013
%Changjiang2H2%=USB_Install, USB\VID_08A6&PID_8014
%Changjiang2H3%=USB_Install, USB\VID_08A6&PID_8015
%Changjiang3L1%=USB_Install, USB\VID_08A6&PID_801B
%Changjiang3L2%=USB_Install, USB\VID_08A6&PID_801C
%Changjiang3H1%=USB_Install, USB\VID_08A6&PID_801D
%Changjiang3H2%=USB_Install, USB\VID_08A6&PID_801E
%Changjiang3H3%=USB_Install, USB\VID_08A6&PID_801F

[Standard.NTx86]
%eStudio170%=USB_Install, USB\VID_08A6&PID_8004
%Changjiang2L1%=USB_Install, USB\VID_08A6&PID_8011
%Changjiang2L2%=USB_Install, USB\VID_08A6&PID_8012
%Changjiang2H1%=USB_Install, USB\VID_08A6&PID_8013
%Changjiang2H2%=USB_Install, USB\VID_08A6&PID_8014
%Changjiang2H3%=USB_Install, USB\VID_08A6&PID_8015
%Changjiang3L1%=USB_Install, USB\VID_08A6&PID_801B
%Changjiang3L2%=USB_Install, USB\VID_08A6&PID_801C
%Changjiang3H1%=USB_Install, USB\VID_08A6&PID_801D
%Changjiang3H2%=USB_Install, USB\VID_08A6&PID_801E
%Changjiang3H3%=USB_Install, USB\VID_08A6&PID_801F

[Standard.NTai64]
%eStudio170%=USB_Install, USB\VID_08A6&PID_8004
%Changjiang2L1%=USB_Install, USB\VID_08A6&PID_8011
%Changjiang2L2%=USB_Install, USB\VID_08A6&PID_8012
%Changjiang2H1%=USB_Install, USB\VID_08A6&PID_8013
%Changjiang2H2%=USB_Install, USB\VID_08A6&PID_8014
%Changjiang2H3%=USB_Install, USB\VID_08A6&PID_8015
%Changjiang3L1%=USB_Install, USB\VID_08A6&PID_801B
%Changjiang3L2%=USB_Install, USB\VID_08A6&PID_801C
%Changjiang3H1%=USB_Install, USB\VID_08A6&PID_801D
%Changjiang3H2%=USB_Install, USB\VID_08A6&PID_801E
%Changjiang3H3%=USB_Install, USB\VID_08A6&PID_801F

[Standard.NTamd64]
%eStudio170%=USB_Install, USB\VID_08A6&PID_8004
%Changjiang2L1%=USB_Install, USB\VID_08A6&PID_8011
%Changjiang2L2%=USB_Install, USB\VID_08A6&PID_8012
%Changjiang2H1%=USB_Install, USB\VID_08A6&PID_8013
%Changjiang2H2%=USB_Install, USB\VID_08A6&PID_8014
%Changjiang2H3%=USB_Install, USB\VID_08A6&PID_8015
%Changjiang3L1%=USB_Install, USB\VID_08A6&PID_801B
%Changjiang3L2%=USB_Install, USB\VID_08A6&PID_801C
%Changjiang3H1%=USB_Install, USB\VID_08A6&PID_801D
%Changjiang3H2%=USB_Install, USB\VID_08A6&PID_801E
%Changjiang3H3%=USB_Install, USB\VID_08A6&PID_801F

; ========== Class definition ===========

[ClassInstall32]
AddReg = ClassInstall_AddReg

[ClassInstall_AddReg]
HKR,,,,%ClassName%
HKR,,NoInstallClass,,1
HKR,,IconPath,%REG_MULTI_SZ%,"c:\windows\system32\setupapi.dll,-20"
HKR,,LowerLogoVersion,,5.2

; =================== Installation ===================

[USB_Install]
Include=winusb.inf
Needs=WINUSB.NT

[USB_Install.Services]
Include=winusb.inf
AddService=WinUsb,0x00000002,WinUsb_ServiceInstall

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

[USB_Install.HW]
AddReg=Dev_AddReg

[Dev_AddReg]
; By default, USBDevice class uses iProduct descriptor to name the device in
; Device Manager on Windows 8 and higher.
; Uncomment for this device to use %DeviceName% on Windows 8 and higher:
;HKR,,FriendlyName,,%DeviceName%
;;;HKR,,DeviceInterfaceGUIDs,0x10000,"{$devinterfaceGuidRegistryFormat$}"
HKR,,DeviceInterfaceGUIDs,0x10000,"{345253ae-a5ad-4810-9cae-aa21212661a0}"

[USB_Install.CoInstallers]
AddReg=CoInstallers_AddReg
CopyFiles=CoInstallers_CopyFiles

[CoInstallers_AddReg]
;


[CoInstallers_CopyFiles]
;


[DestinationDirs]
CoInstallers_CopyFiles=11

; ================= Source Media Section =====================

[SourceDisksNames]
1 = %DiskName%

[SourceDisksFiles]
;


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

[Strings]
ManufacturerName="Toshiba"
ClassName="Universal Serial Bus devices"
DiskName="Toshiba CDC Installation Disk"
WinUsb_SvcDesc="WinUSB Driver"
REG_MULTI_SZ = 0x00010000

eStudio170 = "TOSHIBA e-STUDIO170F"

Changjiang2L1 = "TOSHIBA e-STUDIO166"
Changjiang2L2 = "TOSHIBA e-STUDIO206"
Changjiang2H1 = "TOSHIBA e-STUDIO167"
Changjiang2H2 = "TOSHIBA e-STUDIO207"
Changjiang2H3 = "TOSHIBA e-STUDIO237"

Changjiang3L1 = "TOSHIBA e-STUDIO181"
Changjiang3L2 = "TOSHIBA e-STUDIO211"
Changjiang3H1 = "TOSHIBA e-STUDIO182"
Changjiang3H2 = "TOSHIBA e-STUDIO212"
Changjiang3H3 = "TOSHIBA e-STUDIO242"
