; Windows Virtual Serial Port Setup File
; Copyright (c) 2011 ZTE CORPORATION
; Manufacturer: ZTE CORPORATION
;
; This INF file installs ZTE USB Sound 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 = zgdcvousb.cat

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

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

[SourceDisksFiles]
zgdcvousb.sys = 1000,,

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

[Manufacturer]
%ZTE% = ZTEcomSerialPort, NTamd64

[ZTEcomSerialPort]
%ZTESound19D20059% = ZTEportInstallSound, USB\VID_19D2&PID_0059&MI_04
%ZTESound19D20060% = ZTEportInstallSound, USB\VID_19D2&PID_0060&MI_02
%ZTESound19D20070% = ZTEportInstallSound, USB\VID_19D2&PID_0070&MI_05
%ZTESound19D20073% = ZTEportInstallSound, USB\VID_19D2&PID_0073&MI_04
%ZTESound19D20094% = ZTEportInstallSound, USB\VID_19D2&PID_0094&MI_03
%ZTESound19D20130% = ZTEportInstallSound, USB\VID_19D2&PID_0130&MI_04
%ZTESound19D20141% = ZTEportInstallSound, USB\VID_19D2&PID_0141&MI_02
%ZTESound19D20152% = ZTEportInstallSound, USB\VID_19D2&PID_0152&MI_03

[ZTEcomSerialPort.NTamd64]
%ZTESound19D20059% = ZTEportInstallSound, USB\VID_19D2&PID_0059&MI_04
%ZTESound19D20060% = ZTEportInstallSound, USB\VID_19D2&PID_0060&MI_02
%ZTESound19D20070% = ZTEportInstallSound, USB\VID_19D2&PID_0070&MI_05
%ZTESound19D20073% = ZTEportInstallSound, USB\VID_19D2&PID_0073&MI_04
%ZTESound19D20094% = ZTEportInstallSound, USB\VID_19D2&PID_0094&MI_03
%ZTESound19D20130% = ZTEportInstallSound, USB\VID_19D2&PID_0130&MI_04
%ZTESound19D20141% = ZTEportInstallSound, USB\VID_19D2&PID_0141&MI_02
%ZTESound19D20152% = ZTEportInstallSound, USB\VID_19D2&PID_0152&MI_03

; ###### Installation Section ######
[ZTEportInstallSound.NT]
CopyFiles=ZTEportInstallSound.NT.Copy
AddReg = AllSound, AddReg.NT

[ZTEportInstallSound.NT.Copy]
zgdcvousb.sys

[ZTEportInstallSound.NT.Services]
AddService = zgdcvousb, 0x00000002, ZTEport_Service_InstSound

[ZTEport_Service_InstSound]
DisplayName   = %ZTEcomSerialPortNameSound%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
AddReg        = PortDriver.Service.Reg
ServiceBinary = %12%\zgdcvousb.sys

[AllSound]
HKR,,NTMPDriver,,zgdcvousb.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"
ZTESound19D20059             = "ZTE Mobile Broadband Audio Port"
ZTESound19D20060             = "ZTE Mobile Broadband Audio Port"
ZTESound19D20070             = "ZTE Mobile Broadband Audio Port"
ZTESound19D20073             = "ZTE Mobile Broadband Audio Port"
ZTESound19D20094             = "ZTE Mobile Broadband Audio Port"
ZTESound19D20130             = "ZTE Mobile Broadband Audio Port"
ZTESound19D20141             = "ZTE Mobile Broadband Audio Port"
ZTESound19D20152             = "ZTE Mobile Broadband Audio Port"
ZTEcomSerialPortNameSound    = "ZTE Datacard Audio Port"
FLG_ADDREG_TYPE_DWORD        = 0x00010001
