; Windows Virtual Serial Port Setup File
; Copyright (c) 2011 ZTE CORPORATION
; Manufacturer: ZTE CORPORATION
;
; This INF file installs ZTE USB AT extension port on 32-bit and 64-bit Windows OS, such as Windows 2000, Windows XP, Vista and Win7.

[Version]
signature   = "$WINDOWS NT$"
Class       = Ports
Provider    = %ZTE%
ClassGuid   = {4D36E978-E325-11CE-BFC1-08002BE10318}
DriverVer   = 12/05/2011,8.2088.0.1
CatalogFile = zgdcatext.cat

[ControlFlags]
ExcludeFromSelect = *

[SourceDisksNames.x86]
1000 = %ZTESRCDISK%,,,\i386

[SourceDisksNames.amd64]
1000 = %ZTESRCDISK%,,,\amd64

[SourceDisksFiles]
zgdcatext.sys = 1000,,

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

[Manufacturer]
%ZTE% = ZTEcomSerialPort, NTamd64

[ZTEcomSerialPort]
%ZTEATEXT19D20130% = ZTEportInstallATEXT, USB\VID_19D2&PID_0130&MI_07

[ZTEcomSerialPort.NTamd64]
%ZTEATEXT19D20130% = ZTEportInstallATEXT, USB\VID_19D2&PID_0130&MI_07

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

[ZTEportInstallATEXT.NT]
CopyFiles=ZTEportInstallATEXT.NT.Copy
AddReg = AllATEXT, AddReg.NT

[ZTEportInstallATEXT.NT.Copy]
zgdcatext.sys

[ZTEportInstallATEXT.NT.Services]
AddService = zgdcatextmb, 0x00000002, ZTEport_Service_InstATEXT

[ZTEport_Service_InstATEXT]
DisplayName   = %ZTEcomSerialPortNameATEXT%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
AddReg        = PortDriver.Service.Reg
ServiceBinary = %12%\zgdcatext.sys

[AllATEXT]
HKR,,NTMPDriver,,zgdcatext.sys

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

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

[Strings]
ZTE                       = "ZTE Corporation"
ZTESRCDISK                = "ZTE Multimedia USB COM Driver Disk"
ZTEATEXT19D20130          = "ZTE Mobile Broadband AT EXT Port"
ZTEcomSerialPortNameATEXT = "ZTE Datacard AT EXT Port"
FLG_ADDREG_TYPE_DWORD     = 0x00010001