; HUAWEI Virtual Ethernet Adapter Setup File
; Copyright (c) 2010-2014 Huawei Incorporated
; Manufacturer: Huawei Incorporated
;
; This INF file installs a Virtual Ethernet Adapter.

[version]
Signature   = "$Windows NT$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %HUAWEI%
DriverVer   = 02/27/2014,1.0.4.023
Catalogfile = mod_qusbnet.cat

[ControlFlags]
ExcludeFromSelect = *

[SourceDisksNames]
  1000 = %HWSRCDISK%,"",,

[SourceDisksFiles]
  mod_qusbnet.sys = 1000

[Manufacturer]
%HUAWEI% = QCOM, NTia64, NTamd64

[QCOM]

%qcwwan.DeviceDesc00%    = qcwwan.ndi, USB\VID_12d1&Subclass_04&Prot_07
%qcwwan.DeviceDesc01%    = qcwwan.ndi, USB\VID_12d1&Subclass_04&Prot_11
%qcwwan.DeviceDesc03%    = qcwwan.ndi, USB\VID_12d1&Subclass_04&Prot_16
%qcwwan.DeviceDesc02%    = qcwwan.ndi, USB\VID_12d1&Subclass_04&Prot_67
%qcwwan.DeviceDesc02%    = qcwwan.ndi, USB\VID_12d1&Subclass_04&Prot_76

%qcwwan.DeviceDesc00%    = qcwwan.ndi, USB\VID_12d1&PID_15FF&MI_01

[QCOM.NTia64]

%qcwwan.DeviceDesc00%    = qcwwan.ndi, USB\VID_12d1&Subclass_04&Prot_07
%qcwwan.DeviceDesc01%    = qcwwan.ndi, USB\VID_12d1&Subclass_04&Prot_11
%qcwwan.DeviceDesc03%    = qcwwan.ndi, USB\VID_12d1&Subclass_04&Prot_16
%qcwwan.DeviceDesc02%    = qcwwan.ndi, USB\VID_12d1&Subclass_04&Prot_67
%qcwwan.DeviceDesc02%    = qcwwan.ndi, USB\VID_12d1&Subclass_04&Prot_76

%qcwwan.DeviceDesc00%    = qcwwan.ndi, USB\VID_12d1&PID_15FF&MI_01

[QCOM.NTamd64]

%qcwwan.DeviceDesc00%    = qcwwan.ndi, USB\VID_12d1&Subclass_04&Prot_07
%qcwwan.DeviceDesc01%    = qcwwan.ndi, USB\VID_12d1&Subclass_04&Prot_11
%qcwwan.DeviceDesc03%    = qcwwan.ndi, USB\VID_12d1&Subclass_04&Prot_16
%qcwwan.DeviceDesc02%    = qcwwan.ndi, USB\VID_12d1&Subclass_04&Prot_67
%qcwwan.DeviceDesc02%    = qcwwan.ndi, USB\VID_12d1&Subclass_04&Prot_76

%qcwwan.DeviceDesc00%    = qcwwan.ndi, USB\VID_12d1&PID_15FF&MI_01

;-------------------------------------------------------------------------------
; Virtual Ethernet Adapter
;
[qcwwan.ndi]
Characteristics = 0x4 ; NCF_PHYSICAL
BusType         = 15  ; PNPBus
AddReg          = qcwwan.Reg
CopyFiles       = qcwwan.CopyFiles

[qcwwan.ndi.Services]
AddService      = mod_ewusbnet, 2, qcwwan.Service, qcwwan.EventLog

;-----------------------------------------------------------------------------
; Virtual Miniport Common
;
[qcwwan.Reg]
HKR,    ,                         BusNumber,           0, "0" 
HKR, Ndi,                         Service,             0, "mod_ewusbnet"
HKR, Ndi\Interfaces,              UpperRange,          0, "ndis5"
HKR, Ndi\Interfaces,              LowerRange,          0, "ethernet"
HKR,		   ,		  PortIdentify	       ,,  HWNET

[qcwwan.CopyFiles]
mod_qusbnet.sys,,,2

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

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

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

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

[SourceDisksNames]
1 = %DiskId1%,,,""

[SourceDisksFiles]
mod_qusbnet.sys  = 1,,

;-----------------------------------------------------------------------------
; DestinationDirs
;
[DestinationDirs]
qcwwan.CopyFiles = 12

;-----------------------------------------------------------------------------
; Localizable Strings
;
[Strings]
HWSRCDISK = "Module Multimedia USB Driver Disk"
HUAWEI   = "HUAWEI Incorporated"
qcwwan.DeviceDesc00         = "HUAWEI Mobile Connect - 3G Network Card"
qcwwan.DeviceDesc01         = "HUAWEI Mobile Connect - Network Card"
qcwwan.DeviceDesc02         = "Mobile Connect - Network Card"
qcwwan.DeviceDesc03         = "HUAWEI Mobile Connect - Network Adapter"
qcwwan.HPlt4112             = "HP lt4112 Gobi 4G Module Network Device"
qcwwan.Service.DispName     = "Module USB-NDIS miniport"
DiskId1 = "Module USB-NDIS Miniport Device Installation Disk #1"
