; 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   =  06/11/2009,5.2059.1.1
CatalogFile =  zgchsnmea.cat

[ControlFlags]
ExcludeFromSelect = *

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

[SourceDisksFiles]
zgchsnmea.sys = 1000,,

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

[Manufacturer]
%ZTE% = ZTEcomSerialPort, NTamd64

[ZTEcomSerialPort]
;zte's driver to diag's interface vid&pid&mi
%ZTEDevice0081% = ZTEportInstall, USB\VID_19D2&PID_0081&MI_02
%ZTEDevice0011% = ZTEportInstall, USB\VID_19D2&PID_0011&MI_02

[ZTEcomSerialPort.NTamd64]
;zte's driver to diag's interface vid&pid&mi
%ZTEDevice0081% = ZTEportInstall, USB\VID_19D2&PID_0081&MI_02
%ZTEDevice0011% = ZTEportInstall, USB\VID_19D2&PID_0011&MI_02

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

[ZTEportInstall.NT.Copy]
zgchsnmea.sys

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

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

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

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

[Strings]
ZTE                      = "ZTE Corporation"
ZTESRCDISK               = "ZTE Multimedia USB COM Driver Disk"
ZTEDevice0081            = "ZTE CDMA Handset NMEA Interface"
ZTEDevice0011            = "ZTE CDMA Handset NMEA Interface"
ZTEcomSerialPortName     = "ZTE CDMA Handset Diagnostic Port"