;-------------------------------------------------------------------------------
; ZTENET.INF
;
; ZTE Wireless Network Device
;
; Copyright (c) ZTE Inc.  All rights reserved.


[version]
Signature   = "$Windows NT$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %Mfg%
DriverVer   = 12/17/2014,1.0.8.5
CatalogFile = Ndis_driver_dev.cat

[ControlFlags]
ExcludeFromSelect = *

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

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

[DestinationDirs]
DefaultDestDir = 12
DevInstall.CopyFiles = 12

[Manufacturer]
%Mfg% = DeviceList, NTia64, NTamd64

[DeviceList]
;%DeviceDesc_NDIS%    = DevInstall, USB\VID_19D2&PID_0533&MI_01
%DeviceDesc_NDIS%    = DevInstall, USB\VID_19D2&PID_0199&MI_01
%DeviceDesc_NDIS%    = DevInstall, USB\VID_19D2&PID_0511&MI_01
%DeviceDesc_NDIS%    = DevInstall, USB\VID_19D2&PID_0535&MI_01
%DeviceDesc_NDIS_1%    = DevInstall, USB\VID_19D2&PID_0533&MI_01
%DeviceDesc_NDIS_2%    = DevInstall, USB\VID_19D2&PID_0533&MI_04


[DeviceList.NTia64]
;%DeviceDesc_NDIS%    = DevInstall, USB\VID_19D2&PID_0533&MI_01
%DeviceDesc_NDIS%    = DevInstall, USB\VID_19D2&PID_0199&MI_01
%DeviceDesc_NDIS%    = DevInstall, USB\VID_19D2&PID_0511&MI_01
%DeviceDesc_NDIS%    = DevInstall, USB\VID_19D2&PID_0535&MI_01
%DeviceDesc_NDIS_1%    = DevInstall, USB\VID_19D2&PID_0533&MI_01
%DeviceDesc_NDIS_2%    = DevInstall, USB\VID_19D2&PID_0533&MI_04


[DeviceList.NTamd64]
;%DeviceDesc_NDIS%    = DevInstall, USB\VID_19D2&PID_0533&MI_01
%DeviceDesc_NDIS%    = DevInstall, USB\VID_19D2&PID_0199&MI_01
%DeviceDesc_NDIS%    = DevInstall, USB\VID_19D2&PID_0511&MI_01
%DeviceDesc_NDIS%    = DevInstall, USB\VID_19D2&PID_0535&MI_01
%DeviceDesc_NDIS_1%    = DevInstall, USB\VID_19D2&PID_0533&MI_01
%DeviceDesc_NDIS_2%    = DevInstall, USB\VID_19D2&PID_0533&MI_04

;-------------------------------------------------------------------------------
; Virtual Ethernet Adapter
;
[DevInstall]
Characteristics = 0x1 ; NCF_VIRTUAL
BusType         = 15  ; PNPBus
AddReg          = DevInstall.Reg
CopyFiles       = DevInstall.CopyFiles

[DevInstall.Services]
AddService      = Ndis_driver_dev, 2, DevInstall.Service, DevInstall.EventLog

;-----------------------------------------------------------------------------
; Virtual Miniport Common
;
[DevInstall.Reg]
HKR,    ,                         BusNumber,           0, "0" 
HKR, Ndi,                         Service,             0, "Ndis_driver_dev"
HKR, Ndi\Interfaces,              UpperRange,          0, "ndis5"
HKR, Ndi\Interfaces,              LowerRange,          0, "ethernet"
HKR,, QCDevDisableQoS, 0x00010001, 0x00000003
HKR, ,QCDriverDebugMask, 0x00010001, 0xffffffff
HKR,,  QCDriverTLPSize,  0x00010001, 0x00003c00
HKR,,  QCDriverTLPMaxPackets,  0x00010001, 0x0000000a

;-----------------------------------------------------------------------------
; Driver and Service Section
;
[DevInstall.CopyFiles]
Ndis_driver_dev.sys,,,2

[DevInstall.Service]
;DisplayName     = %ztewwan.Service.DispName%
ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
StartType       = 3 ;%SERVICE_DEMAND_START%
ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\Ndis_driver_dev.sys
LoadOrderGroup  = NDIS
AddReg          = TextModeFlags.Reg

[DevInstall.EventLog]
AddReg = DevInstall.AddEventLog.Reg

[DevInstall.AddEventLog.Reg]
HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
HKR, , TypesSupported,   0x00010001, 7

[TextModeFlags.Reg]
HKR, , TextModeFlags,    0x00010001, 0x0001
;-----------------------------------------------------------------------------
; Localizable Strings
;
[Strings]
Mfg                          =  "ZTE"
DeviceDesc_NDIS              =  "NDIS Interface"
DeviceDesc_NDIS_1            =  "NDIS_1 Interface"
DeviceDesc_NDIS_2            =  "NDIS_2 Interface"
;ztewwan.Service.DispName    =  "Qihoo CMCC NDIS Interface Gemini"
Disk_Description             =  "ZTE Driver Installation Disk"
