;-------------------------------------------------------------------------------
; ZTEDCNET2.INF
;
; ZTE Wireless Network Device
;
; Copyright (c) ZTE Corporation  All rights reserved.


[version]
Signature   = "$Windows NT$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %ZTE%
DriverVer   = 12/05/2011,8.1069.0.1
CatalogFile = zgdcnet2.cat

[ControlFlags]
ExcludeFromSelect = *

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

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

[SourceDisksFiles]
zgdcnet2.sys  = 1000,,

[DestinationDirs]
DefaultDestDir = 12
ztewwan.CopyFiles = 12

[Manufacturer]
%ZTE% = ZTENetPort, NTamd64

[ZTENetPort]
;EuFi890
%ztewwan.DeviceDesc0191%    = ztewwan.ndi, USB\VID_19D2&PID_0191&MI_05

[ZTENetPort.NTamd64]
;EuFi890
%ztewwan.DeviceDesc0191%    = ztewwan.ndi, USB\VID_19D2&PID_0191&MI_05

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

[ztewwan.ndi.Services]
AddService      = zgdcnet2, 2, ztewwan.Service, ztewwan.EventLog

;-----------------------------------------------------------------------------
; Virtual Miniport Common
;
[ztewwan.Reg]
HKR,    ,                         BusNumber,           0, "0" 
HKR, Ndi,                         Service,             0, "zgdcnet2"
HKR, Ndi\Interfaces,              UpperRange,          0, "ndis5"
HKR, Ndi\Interfaces,              LowerRange,          0, "ethernet"
HKR,, QCDevDisableQoS, 0x00010001, 0x00000003

;-----------------------------------------------------------------------------
; Driver and Service Section
;
[ztewwan.CopyFiles]
zgdcnet2.sys,,,2

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

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

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

[TextModeFlags.Reg]
HKR, , TextModeFlags,    0x00010001, 0x0001

;-----------------------------------------------------------------------------
; Localizable Strings
;
[Strings]
ZTE                          = "ZTE Corporation"                      
ztewwan.DeviceDesc0191       = "ZTE Mobile Broadband Network Adapter2"
ztewwan.Service.DispName     = "ZTE Datacard Network Adapter2"
ZTESRCDISK                   = "ZTE USB-NDIS Miniport Device Installation Disk"
