;*****************************************************************************
;
; Windows Virtual Serial Port Setup File
; Copyright (c) 2011 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, Vista and Win7.
;
;*****************************************************************************

[Version]
signature   =  "$WINDOWS NT$"
Class       =  Ports
Provider    =  %ZTE%
ClassGuid   =  {4D36E978-E325-11CE-BFC1-08002BE10318}
DriverVer   =  06/02/2011,5.2066.1.9
CatalogFile =  zghsdiag.cat

[ControlFlags]
ExcludeFromSelect = *

[SourceDisksNames.x86]
; diskid = description[, [tagfile] [, <unused>, subdir]]
1 = %ZTESRCDISK%,,,\i386

[SourceDisksNames.amd64]
; diskid = description[, [tagfile] [, <unused>, subdir]]
1 = %ZTESRCDISK%,,,\amd64

[SourceDisksFiles]
; filename = diskid[,[ subdir][, size]]
zghsdiag.sys = 1,,

;-----------------------------------------------------------------------------
; Specify target paths...
;-----------------------------------------------------------------------------
[DestinationDirs]
DefaultDestDir = 12
ZTEportInstall.NT.Copy=12

;-----------------------------------------------------------------------------
; Table of Contents
;-----------------------------------------------------------------------------
[Manufacturer]
%ZTE% = ZTEcomSerialPort, NTamd64

;-----------------------------------------------------------------------------
; Device-by-device entries
;-----------------------------------------------------------------------------
[ZTEcomSerialPort]
;
;-----------------------EVDO Handset-------------------------
;
%ZTEDevice0020% = ZTEportInstall, USB\VID_19D2&PID_0020&MI_01
%ZTEDevice0005% = ZTEportInstall, USB\VID_19D2&PID_0005&MI_01
%ZTEDevice0081% = ZTEportInstall, USB\VID_19D2&PID_0081&MI_01
%ZTEDevice0011% = ZTEportInstall, USB\VID_19D2&PID_0011&MI_01
%ZTEDevice0102% = ZTEportInstall, USB\VID_19D2&PID_0102&MI_00
%ZTEDevice0163% = ZTEportInstall, USB\VID_19D2&PID_0163&MI_01
%ZTEDevice1358% = ZTEportInstall, USB\VID_19D2&PID_1358&MI_01
%ZTEDevice1359% = ZTEportInstall, USB\VID_19D2&PID_1359&MI_00
%ZTEDevice1360% = ZTEportInstall, USB\VID_19D2&PID_1360&MI_00
%ZTEDevice1366% = ZTEportInstall, USB\VID_19D2&PID_1366&MI_00
%ZTEDevice1367% = ZTEportInstall, USB\VID_19D2&PID_1367&MI_00
;F450
%ZTEDevice0192% = ZTEportInstall, USB\VID_19D2&PID_0192&MI_01
;
;-----------------------TD Handset-------------------------
;
;TD U112
%ZTEDevice0074% = ZTEportInstall, USB\VID_19D2&PID_0074&MI_01
%ZTEDevice0023% = ZTEportInstall, USB\VID_19D2&PID_0023&MI_01
%ZTEDevice0041% = ZTEportInstall, USB\VID_19D2&PID_0041&MI_01
%ZTEDevice0085% = ZTEportInstall, USB\VID_19D2&PID_0085&MI_01
;TD U116
%ZTEDevice0093% = ZTEportInstall, USB\VID_19D2&PID_0093&MI_01
;TD U215
%ZTEDevice0114% = ZTEportInstall, USB\VID_19D2&PID_0114&MI_01
;TD U506
%ZTEDevice0236% = ZTEportInstall, USB\VID_19D2&PID_0236&MI_01
;TD U960
%ZTEDevice0229% = ZTEportInstall, USB\VID_19D2&PID_0229&MI_00
;
;-----------------WCDMA Handset----------------------
;
%ZTEDevice0010% = ZTEportInstall, USB\VID_19D2&PID_0010&MI_01
%ZTEDevice0068% = ZTEportInstall, USB\VID_19D2&PID_0068&MI_01
%ZTEDevice0111% = ZTEportInstall, USB\VID_19D2&PID_0111&MI_00
%ZTEDevice0112% = ZTEportInstall, USB\VID_19D2&PID_0112
%ZTEDevice1350% = ZTEportInstall, USB\VID_19D2&PID_1350&MI_00
;V11
%ZTEDevice0248% = ZTEportInstall, USB\VID_19D2&PID_0248&MI_00
%ZTEDevice0249% = ZTEportInstall, USB\VID_19D2&PID_0249&MI_00
%ZTEDevice0249% = ZTEportInstall, USB\VID_19D2&PID_0249

[ZTEcomSerialPort.NTamd64]
;
;-----------------------EVDO Handset-------------------------
;
%ZTEDevice0020% = ZTEportInstall, USB\VID_19D2&PID_0020&MI_01
%ZTEDevice0005% = ZTEportInstall, USB\VID_19D2&PID_0005&MI_01
%ZTEDevice0081% = ZTEportInstall, USB\VID_19D2&PID_0081&MI_01
%ZTEDevice0011% = ZTEportInstall, USB\VID_19D2&PID_0011&MI_01
%ZTEDevice0102% = ZTEportInstall, USB\VID_19D2&PID_0102&MI_00
%ZTEDevice0163% = ZTEportInstall, USB\VID_19D2&PID_0163&MI_01
%ZTEDevice1358% = ZTEportInstall, USB\VID_19D2&PID_1358&MI_01
%ZTEDevice1359% = ZTEportInstall, USB\VID_19D2&PID_1359&MI_00
%ZTEDevice1360% = ZTEportInstall, USB\VID_19D2&PID_1360&MI_00
%ZTEDevice1366% = ZTEportInstall, USB\VID_19D2&PID_1366&MI_00
%ZTEDevice1367% = ZTEportInstall, USB\VID_19D2&PID_1367&MI_00
;F450
%ZTEDevice0192% = ZTEportInstall, USB\VID_19D2&PID_0192&MI_01
%ZTEDevice0192% = ZTEportInstall, USB\VID_19D2&PID_0500&MI_00

;
;-----------------------TD Handset-------------------------
;
;TD U112
%ZTEDevice0074% = ZTEportInstall, USB\VID_19D2&PID_0074&MI_01
%ZTEDevice0023% = ZTEportInstall, USB\VID_19D2&PID_0023&MI_01
%ZTEDevice0041% = ZTEportInstall, USB\VID_19D2&PID_0041&MI_01
%ZTEDevice0085% = ZTEportInstall, USB\VID_19D2&PID_0085&MI_01
;TD U116
%ZTEDevice0093% = ZTEportInstall, USB\VID_19D2&PID_0093&MI_01
;TD U215
%ZTEDevice0114% = ZTEportInstall, USB\VID_19D2&PID_0114&MI_01
;TD U506
%ZTEDevice0236% = ZTEportInstall, USB\VID_19D2&PID_0236&MI_01
;TD U960
%ZTEDevice0229% = ZTEportInstall, USB\VID_19D2&PID_0229&MI_00
;
;-----------------WCDMA Handset----------------------
;
%ZTEDevice0010% = ZTEportInstall, USB\VID_19D2&PID_0010&MI_01
%ZTEDevice0068% = ZTEportInstall, USB\VID_19D2&PID_0068&MI_01
%ZTEDevice0111% = ZTEportInstall, USB\VID_19D2&PID_0111&MI_00
%ZTEDevice0112% = ZTEportInstall, USB\VID_19D2&PID_0112
%ZTEDevice1350% = ZTEportInstall, USB\VID_19D2&PID_1350&MI_00
;V11
%ZTEDevice0248% = ZTEportInstall, USB\VID_19D2&PID_0248&MI_00
%ZTEDevice0249% = ZTEportInstall, USB\VID_19D2&PID_0249&MI_00
%ZTEDevice0249% = ZTEportInstall, USB\VID_19D2&PID_0249

;-----------------------------------------------------------------------------
; Installation instructions
;-----------------------------------------------------------------------------
[ZTEportInstall.NT]
CopyFiles=ZTEportInstall.NT.Copy
AddReg = All, AddReg.NT

[ZTEportInstall.NT.Copy]
zghsdiag.sys

[ZTEportInstall.NT.Services]
AddService = zghsdiag, 0x00000002, ZTEport_Service_Inst

[ZTEport_Service_Inst]
DisplayName   = %ZTEcomSerialPortName%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\zghsdiag.sys

[All]
HKR,,NTMPDriver,,zghsdiag.sys

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

[Strings]
ZTE                      = "ZTE Corporation"
ZTESRCDISK               = "ZTE Multimedia USB COM Driver Disk"
ZTEDevice0020            = "ZTE CDMA Handset Diagnostics Interface"
ZTEDevice0005            = "ZTE CDMA Handset Diagnostics Interface"
ZTEDevice0081            = "ZTE CDMA Handset Diagnostics Interface"
ZTEDevice0011            = "ZTE CDMA Handset Diagnostics Interface" 
ZTEDevice0102            = "ZTE CDMA Handset Diagnostics Interface"
ZTEDevice0163            = "ZTE CDMA Handset Diagnostics Interface"
ZTEDevice1358            = "CT_ZTE_3GPhone_Diag_Interface"
ZTEDevice1359            = "CT_ZTE_3GPhone_Diag_Interface"
ZTEDevice1360            = "CT_ZTE_3GPhone_Diag_Interface"
ZTEDevice1366            = "CT_ZTE_3GPhone_Diag_Interface"
ZTEDevice1367            = "CT_ZTE_3GPhone_Diag_Interface"
ZTEDevice0192            = "ZTE Handset Diagnostic Interface"
;TD U112
ZTEDevice0074            = "ZTE TD Handset diagnostics Interface"
ZTEDevice0023            = "ZTE TD Handset diagnostics Interface"
ZTEDevice0041            = "ZTE TD Handset diagnostics Interface"
ZTEDevice0085            = "ZTE TD Handset diagnostics Interface"
;TD U116
ZTEDevice0093            = "ZTE TD Handset Diagnostics Interface"
;TD U215
ZTEDevice0114            = "ZTE TD Handset Diagnostics Interface"
;TD U506
ZTEDevice0236            = "ZTE TD Handset Diagnostics Interface"
;TD U960
ZTEDevice0229            = "ZTE Handset Diagnostic Interface"
;WCDMA Handset
ZTEDevice0010            = "ZTE Handset Diagnostic Interface"
ZTEDevice0068            = "ZTE Handset Diagnostic Interface"
ZTEDevice0111            = "ZTE Handset Diagnostic Interface"
ZTEDevice0112            = "ZTE Handset Diagnostic Interface(DFU)"
ZTEDevice1350            = "ZTE Handset Diagnostic Interface"
ZTEDevice0248            = "ZTE Handset Diagnostic Interface"
ZTEDevice0249            = "ZTE Handset Diagnostic Interface"
ZTEcomSerialPortName     = "ZTE General Handset Diagnostic Port"