; Windows Virtual Serial Port Setup File
; Copyright (c) 2012 ZTE CORPORATION
; Manufacturer: ZTE CORPORATION
;
; This INF file installs a virtual COM port on Win2K system.

[Version]
signature  = "$WINDOWS NT$"
Class      = Ports
Provider   = %Mfg%
ClassGuid  = {4D36E978-E325-11CE-BFC1-08002BE10318}
DriverVer  = 01/14/2015,2.1.0.7
CatalogFile = Nmea_driver_dev.cat

[ControlFlags]
ExcludeFromSelect = *

[SourceDisksNames.x86]
1 = %Disk_Description%,,,\i386

[SourceDisksNames.amd64]
1 = %Disk_Description%,,,\amd64
[SourceDisksFiles]
Nmea_driver_dev.sys = 1,,

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

[Manufacturer]
%Mfg% = DeviceList,NTamd64

[DeviceList]
%DeviceDesc_NMEA% = DevInstall, USB\VID_19D2&PID_0540&MI_02
%DeviceDesc_NMEA% = DevInstall, USB\VID_19D2&PID_0199&MI_00
%DeviceDesc_NMEA% = DevInstall, USB\VID_19D2&PID_0194&MI_02
%DeviceDesc_NMEA% = DevInstall, USB\VID_19D2&PID_0511&MI_00
%DeviceDesc_NMEA% = DevInstall, USB\VID_19D2&PID_0528&MI_02
%DeviceDesc_NMEA% = DevInstall, USB\VID_19D2&PID_0532&MI_02
%DeviceDesc_NMEA% = DevInstall, USB\VID_19D2&PID_0201&MI_00
%DeviceDesc_NMEA% = DevInstall, USB\VID_19D2&PID_0538
%DeviceDesc_NMEA% = DevInstall, USB\VID_19D2&PID_FF9D&MI_03
%DeviceDesc_NMEA% = DevInstall, USB\VID_19D2&PID_FF9C&MI_03
%DeviceDesc_NMEA% = DevInstall, USB\VID_19D2&PID_0535&MI_00
%DeviceDesc_NMEA% = DevInstall, USB\VID_19D2&PID_0536&MI_02
%DeviceDesc_NMEA% = DevInstall, USB\VID_19D2&PID_0555&MI_02
%DeviceDesc_NMEA% = DevInstall, USB\VID_19D2&PID_0533&MI_00


[DeviceList.NTamd64]
%DeviceDesc_NMEA% = DevInstall, USB\VID_19D2&PID_0540&MI_02
%DeviceDesc_NMEA% = DevInstall, USB\VID_19D2&PID_0199&MI_00
%DeviceDesc_NMEA% = DevInstall, USB\VID_19D2&PID_0194&MI_02
%DeviceDesc_NMEA% = DevInstall, USB\VID_19D2&PID_0511&MI_00
%DeviceDesc_NMEA% = DevInstall, USB\VID_19D2&PID_0528&MI_02
%DeviceDesc_NMEA% = DevInstall, USB\VID_19D2&PID_0532&MI_02
%DeviceDesc_NMEA% = DevInstall, USB\VID_19D2&PID_0201&MI_00
%DeviceDesc_NMEA% = DevInstall, USB\VID_19D2&PID_0538
%DeviceDesc_NMEA% = DevInstall, USB\VID_19D2&PID_FF9D&MI_03
%DeviceDesc_NMEA% = DevInstall, USB\VID_19D2&PID_FF9C&MI_03
%DeviceDesc_NMEA% = DevInstall, USB\VID_19D2&PID_0535&MI_00
%DeviceDesc_NMEA% = DevInstall, USB\VID_19D2&PID_0536&MI_02
%DeviceDesc_NMEA% = DevInstall, USB\VID_19D2&PID_0555&MI_02
%DeviceDesc_NMEA% = DevInstall, USB\VID_19D2&PID_0533&MI_00


; ###### Installation Section ######

[DevInstall.NT]
CopyFiles=DevInstall.NT.Copy
AddReg = AllNMEA, AddReg.NT

[DevInstall.NT.Copy]
Nmea_driver_dev.sys

[DevInstall.NT.Services]
AddService = Nmea_driver_dev, 0x00000002, DevInstall.AddService

[DevInstall.AddService]
;DisplayName   = %DevInstallNMEA_DispName%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
AddReg        = PortDriver.Service.Reg
ServiceBinary = %12%\Nmea_driver_dev.sys

[AllNMEA]
HKR,,NTMPDriver,,Nmea_driver_dev.sys
HKR, ,QCDriverDebugMask, 0x00010001, 0xffffffff

[PortDriver.Service.Reg]
HKR,,QCDriverSelectiveSuspendIdleTime,%FLG_ADDREG_TYPE_DWORD%, 0x00000003
HKR,,QCDriverPowerManagementEnabled,%FLG_ADDREG_TYPE_DWORD%, 0x00000001

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

[Strings]
Mfg                      = "ZTE"
Disk_Description         = "ZTE Driver Installation Disk"
DeviceDesc_NMEA           = "AT Interface"
;DevInstallNMEA_DispName  = "Qihoo CMCC AT Interface Gemeni"
FLG_ADDREG_TYPE_DWORD     = 0x00010001
