;*****************************************************************************
;
; 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   =  03/28/2011,10.2066.1.4
CatalogFile =  ghsnmea.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]]
ghsnmea.sys = 1,,

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

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

;-----------------------------------------------------------------------------
; Device-by-device entries
;-----------------------------------------------------------------------------
[ZTEcomSerialPort]
;-----------------------WCDMA Handset-------------------------
;P726G
%ZTEDevice0212% = ZTEportInstall, USB\VID_19D2&PID_0212&MI_02
;
;Previous
%ZTEDevice0119% = ZTEportInstall, USB\VID_19D2&PID_0119&MI_02
%ZTEDevice0127% = ZTEportInstall, USB\VID_19D2&PID_0127&MI_02
%ZTEDevice0131% = ZTEportInstall, USB\VID_19D2&PID_0131&MI_02

[ZTEcomSerialPort.NTamd64]
;-----------------------WCDMA Handset-------------------------
;P726G
%ZTEDevice0212% = ZTEportInstall, USB\VID_19D2&PID_0212&MI_02
;
;Previous
%ZTEDevice0119% = ZTEportInstall, USB\VID_19D2&PID_0119&MI_02
%ZTEDevice0127% = ZTEportInstall, USB\VID_19D2&PID_0127&MI_02
%ZTEDevice0131% = ZTEportInstall, USB\VID_19D2&PID_0131&MI_02

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

[ZTEportInstall.NT.Copy]
ghsnmea.sys

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

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

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

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

[Strings]
ZTE                      = "ZTE Corporation"
ZTESRCDISK               = "ZTE Multimedia USB COM Driver Disk"
ZTEDevice0119            = "HSPA Handset NMEA Device"
ZTEDevice0127            = "S3 NMEA Device"
ZTEDevice0131            = "S2x NMEA Device"
ZTEDevice0212            = "Handset NMEA Port"
ZTEcomSerialPortName     = "Handset NMEA Port"