;-------------------------------------------------------------------------------
; CMNET.INF
;
; Manufacturer: CMOTECH Co., Ltd.
; Cmotech Wireless Network Device
; 2K/XP/Vista/Vista64
; Copyright (c) Cmotech Co., Ltd.  All rights reserved.


[version]
Signature   = "$Windows NT$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %CMOTECH%
DriverVer   = 03/17/2008,1.0.2.9
CatalogFile = cm_net.cat

[ControlFlags]
ExcludeFromSelect = *

[Manufacturer]
%CMOTECH% = CMOTECH, NTamd64

[CMOTECH]
%CMONDIS.6003%    = cmwwan.ndi, USB\VID_16D8&PID_6003&MI_00
%CMONDIS.6004%    = cmwwan.ndi, USB\VID_16D8&PID_6004&MI_00
%CMONDIS.6007%    = cmwwan.ndi, USB\VID_16D8&PID_6007&MI_00
%CMONDIS.6008%    = cmwwan.ndi, USB\VID_16D8&PID_6008&MI_00

%CMONDIS.7001%    = cmwwan.ndi, USB\VID_16D8&PID_7001&MI_00
%CMONDIS.7002%    = cmwwan.ndi, USB\VID_16D8&PID_7002&MI_00
%CMONDIS.7003%    = cmwwan.ndi, USB\VID_16D8&PID_7003&MI_04
%CMONDIS.7004%    = cmwwan.ndi, USB\VID_16D8&PID_7004&MI_03


[CMOTECH.NTamd64]
%CMONDIS.6003%    = cmwwanamd.ndi, USB\VID_16D8&PID_6003&MI_00
%CMONDIS.6004%    = cmwwanamd.ndi, USB\VID_16D8&PID_6004&MI_00
%CMONDIS.6007%    = cmwwanamd.ndi, USB\VID_16D8&PID_6007&MI_00
%CMONDIS.6008%    = cmwwanamd.ndi, USB\VID_16D8&PID_6008&MI_00

%CMONDIS.7001%    = cmwwanamd.ndi, USB\VID_16D8&PID_7001&MI_00
%CMONDIS.7002%    = cmwwanamd.ndi, USB\VID_16D8&PID_7002&MI_00
%CMONDIS.7003%    = cmwwanamd.ndi, USB\VID_16D8&PID_7003&MI_04
%CMONDIS.7004%    = cmwwanamd.ndi, USB\VID_16D8&PID_7004&MI_03


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

[cmwwanamd.ndi]
Characteristics = 0x1 ; NCF_VIRTUAL
;BusType         = 15  ; PNPBus
AddReg          = cmwwan.Reg
CopyFiles       = cmwwanamd.CopyFiles

[cmwwan.ndi.Services]
AddService      = cm_net, 2, cmwwan.Service, cmwwan.EventLog

[cmwwanamd.ndi.Services]
AddService      = cm_net, 2, cmwwan.Service, cmwwan.EventLog


;-----------------------------------------------------------------------------
; Virtual Miniport Common
;
[cmwwan.Reg]
HKR,    ,                         BusNumber,           0, "0" 
HKR, Ndi,                         Service,             0, "cm_net"
HKR, Ndi\Interfaces,              UpperRange,          0, "ndis5"
HKR, Ndi\Interfaces,              LowerRange,          0, "ethernet"

;-----------------------------------------------------------------------------
; Driver and Service Section
;
[cmwwan.CopyFiles]
cm_net.sys,cm_net32.sys
cm_net32.sys

[cmwwanamd.CopyFiles]
cm_net.sys,cm_netamd.sys
cm_netamd.sys

[cmwwan.Service]
DisplayName     = %CMONDIS.Service.Name%
ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
StartType       = 3 ;%SERVICE_DEMAND_START%
ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\cm_net.sys
LoadOrderGroup  = NDIS
AddReg          = TextModeFlags.Reg


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

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

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

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

[SourceDisksFiles]
cm_net32.sys  = 1
cm_netamd.sys  = 1

;-----------------------------------------------------------------------------
; DestinationDirs
;
[DestinationDirs]
DefaultDestDir = 12
cmwwan.CopyFiles = 12
cmwwanamd.CopyFiles = 12

;-----------------------------------------------------------------------------
; Localizable Strings
;
[Strings]
CMOTECH                    = "C-motech U300"      
CMONDIS.Service.Name       = "C-motech USB Network Adapter U300"  
CMONDIS.6003               = "USB Network Adapter (U300)"              
CMONDIS.6004               = "USB Network Adapter (U300)"
CMONDIS.6007               = "USB Network Adapter (U300)"              
CMONDIS.6008               = "USB Network Adapter (U300)"

CMONDIS.7001               = "USB Network Adapter (U300)"              
CMONDIS.7002               = "USB Network Adapter (U300)"
CMONDIS.7003               = "USB Network Adapter (U300)"
CMONDIS.7004               = "USB Network Adapter (U300)"


DiskId1 = "C-motech USB-NDIS Miniport Device Installation Disk #1"