; 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   =  04/29/2010,1.2066.1.3
CatalogFile =  zgwhsdiag.cat

[ControlFlags]
ExcludeFromSelect = *

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

[SourceDisksFiles]
zgwhsdiag.sys = 1000,,

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

[Manufacturer]
%ZTE% = ZTEcomSerialPort, NTamd64

[ZTEcomSerialPort]
;zte's driver to diag's interface vid&pid&mi
%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

[ZTEcomSerialPort.NTamd64]
;zte's driver to diag's interface vid&pid&mi
%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

[ZTEportInstall.NT]
CopyFiles=ZTEportInstall.NT.Copy
AddReg = All, AddReg.NT

[ZTEportInstall.NT.Copy]
zgwhsdiag.sys

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

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

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

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

[Strings]
ZTE                      = "ZTE Corporation"
ZTESRCDISK               = "ZTE Multimedia USB COM Driver Disk"
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"
ZTEcomSerialPortName     = "ZTE WCDMA Handset Diagnostic Port"