; 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  = 12/10/2009,1.2066.1.1
CatalogFile = zgwhsnmea.cat

[ControlFlags]
ExcludeFromSelect = *

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

[SourceDisksFiles]
zgwhsnmea.sys = 1000,,

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

[Manufacturer]
%ZTE% = ZTEcomSerialPort, NTamd64

[ZTEcomSerialPort]
;zte's driver to nmea's interface vid&pid&mi
%ZTEDevice0010%   = ZTEportInstall, USB\VID_19D2&PID_0010&MI_02
%ZTEDevice0111%   = ZTEportInstall, USB\VID_19D2&PID_0111&MI_01

[ZTEcomSerialPort.NTamd64]
;zte's driver to nmea's interface vid&pid&mi
%ZTEDevice0010%   = ZTEportInstall, USB\VID_19D2&PID_0010&MI_02
%ZTEDevice0111%   = ZTEportInstall, USB\VID_19D2&PID_0111&MI_01

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

[ZTEportInstall.NT.Copy]
zgwhsnmea.sys

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

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

[All]
HKR,,NTMPDriver,,zgwhsnmea.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 NMEA Device"
ZTEDevice0111          = "ZTE Handset NMEA Device"
ZTEcomSerialPortName   = "WCDMA Handset NMEA Port"