; Windows Virtual Serial Port Setup File
; Copyright (c) 2008 ZTE Incorporated
; Manufacturer: ZTE Incorporated
;
;This INF file installs a virtual COM port on 32-bit and 64-bit Windows OS, such as Windows 2000, Windows XP and Vista.

[Version]
signature  = "$WINDOWS NT$"
Class      = Ports
Provider   = %ZTE%
ClassGuid  = {4D36E978-E325-11CE-BFC1-08002BE10318}
DriverVer  =  07/29/2008,1.2050.0.6
CatalogFile = ZTEusbdiag.cat

[ControlFlags]
ExcludeFromSelect = *

[SourceDisksNames]
1000 = %ZTESRCDISK%,,,""

[SourceDisksFiles]
ZTEusbser6k.sys = 1000,,

[DestinationDirs]
DefaultDestDir = 12
ZTEportInstall6k.NT.Copy=12

[Manufacturer]
%ZTE% = ZTEcomSerialPort, NTamd64

[ZTEcomSerialPort]
;zte's driver to diag's interface vid&pid&mi
%ZTEDevice0001% = ZTEportInstall6k, USB\VID_19D2&PID_0001&MI_01
%ZTEDevice0002% = ZTEportInstall6k, USB\VID_19D2&PID_0002&MI_03
%ZTEDevice0012% = ZTEportInstall6k, USB\VID_19D2&PID_0012&MI_03
%ZTEDevice0015% = ZTEportInstall6k, USB\VID_19D2&PID_0015&MI_02
%ZTEDevice0016% = ZTEportInstall6k, USB\VID_19D2&PID_0016&MI_00
%ZTEDevice0017% = ZTEportInstall6k, USB\VID_19D2&PID_0017&MI_00
%ZTEDevice0021% = ZTEportInstall6k, USB\VID_19D2&PID_0021&MI_00
%ZTEDevice0025% = ZTEportInstall6k, USB\VID_19D2&PID_0025&MI_03
%ZTEDevice0030% = ZTEportInstall6k, USB\VID_19D2&PID_0030&MI_02
%ZTEDevice0031% = ZTEportInstall6k, USB\VID_19D2&PID_0031&MI_00
%ZTEDevice0033% = ZTEportInstall6k, USB\VID_19D2&PID_0033&MI_00
%ZTEDevice0042% = ZTEportInstall6k, USB\VID_19D2&PID_0042&MI_00
%ZTEDevice0043% = ZTEportInstall6k, USB\VID_19D2&PID_0043&MI_01
%ZTEDevice0048% = ZTEportInstall6k, USB\VID_19D2&PID_0048&MI_01
%ZTEDevice0049% = ZTEportInstall6k, USB\VID_19D2&PID_0049&MI_01
%ZTEDevice0052% = ZTEportInstall6k, USB\VID_19D2&PID_0052&MI_00
%ZTEDevice0055% = ZTEportInstall6k, USB\VID_19D2&PID_0055&MI_03
[ZTEcomSerialPort.NTamd64]
;zte's driver to diag's interface vid&pid&mi
%ZTEDevice0001% = ZTEportInstall6k, USB\VID_19D2&PID_0001&MI_01
%ZTEDevice0002% = ZTEportInstall6k, USB\VID_19D2&PID_0002&MI_03
%ZTEDevice0012% = ZTEportInstall6k, USB\VID_19D2&PID_0012&MI_03
%ZTEDevice0015% = ZTEportInstall6k, USB\VID_19D2&PID_0015&MI_02
%ZTEDevice0016% = ZTEportInstall6k, USB\VID_19D2&PID_0016&MI_00
%ZTEDevice0017% = ZTEportInstall6k, USB\VID_19D2&PID_0017&MI_00
%ZTEDevice0021% = ZTEportInstall6k, USB\VID_19D2&PID_0021&MI_00
%ZTEDevice0025% = ZTEportInstall6k, USB\VID_19D2&PID_0025&MI_03
%ZTEDevice0030% = ZTEportInstall6k, USB\VID_19D2&PID_0030&MI_02
%ZTEDevice0031% = ZTEportInstall6k, USB\VID_19D2&PID_0031&MI_00
%ZTEDevice0033% = ZTEportInstall6k, USB\VID_19D2&PID_0033&MI_00
%ZTEDevice0042% = ZTEportInstall6k, USB\VID_19D2&PID_0042&MI_00
%ZTEDevice0043% = ZTEportInstall6k, USB\VID_19D2&PID_0043&MI_01
%ZTEDevice0048% = ZTEportInstall6k, USB\VID_19D2&PID_0048&MI_01
%ZTEDevice0049% = ZTEportInstall6k, USB\VID_19D2&PID_0049&MI_01
%ZTEDevice0052% = ZTEportInstall6k, USB\VID_19D2&PID_0052&MI_00
%ZTEDevice0055% = ZTEportInstall6k, USB\VID_19D2&PID_0055&MI_03
[ZTEportInstall6k.NT]
CopyFiles=ZTEportInstall6k.NT.Copy
AddReg = All6k, AddReg.NT

[ZTEportInstall6k.NT.Copy]
ZTEusbser6k.sys

[ZTEportInstall6k.NT.Services]
AddService = ZTEusbser6k, 0x00000002, ZTEport_Service_Inst6k

[ZTEport_Service_Inst6k]
DisplayName   = %ZTEcomSerialPortName6k%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\ZTEusbser6k.sys

[All6k]
HKR,,NTMPDriver,,ZTEusbser6k.sys

[AddReg.NT]
HKR,,PortSubClass,1,01
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

[Strings]
ZTE                      = "ZTE Corporation"
ZTESRCDISK               = "ZTE Multimedia USB COM Driver Disk"
ZTEDevice0001            = "ZTE Diagnostics Interface"
ZTEDevice0002            = "ZTE Diagnostics Interface"
ZTEDevice0012            = "ZTE Diagnostics Interface"
ZTEDevice0015            = "ZTE Diagnostics Interface"
ZTEDevice0025            = "ZTE Diagnostics Interface"
ZTEDevice0030            = "ZTE Diagnostics Interface"
ZTEDevice0016            = "ZTE Diagnostics Interface"
ZTEDevice0017            = "ZTE Diagnostics Interface"
ZTEDevice0021            = "ZTE Diagnostics Interface"
ZTEDevice0031            = "ZTE Diagnostics Interface"
ZTEDevice0033            = "ZTE Diagnostics Interface"
ZTEDevice0042            = "ZTE Diagnostics Interface"
ZTEDevice0043            = "ZTE Diagnostics Interface"
ZTEDevice0048            = "ZTE Diagnostics Interface"
ZTEDevice0049            = "ZTE Diagnostics Interface"
ZTEDevice0052            = "ZTE Diagnostics Interface"
ZTEDevice0055            = "ZTE Diagnostics Interface"
ZTEcomSerialPortName6k   = "ZTE Diagnostic Port"