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

[ControlFlags]
ExcludeFromSelect={b85b7c50-6a01-11d2-b841-00c04fad5171}\ceton_usb_mocur

[Manufacturer]
%Ceton% = Ceton,NTx86,NTamd64

; For Win2K
[Ceton]
;Don't load driver for DCL
;%ceton_usb_mocur.DeviceDesc%    = ceton_usb_mocur.ndi, USB\VID_2432&PID_0AA0 ;dcl
;%ceton_usb_mocur.DeviceDesc%    = ceton_usb_mocur.ndi, USB\VID_2432&PID_0AA1 ;mpeg
%ceton_usb_mocur.DeviceDesc%    = ceton_usb_mocur.ndi, USB\VID_2432&PID_0AA2 ;ecm,mpeg
;%ceton_usb_mocur.DeviceDesc%    = ceton_usb_mocur.ndi, USB\VID_2432&PID_0AA3 ;dcl,ecm,mpeg
;old vendor id for backwards compat
%ceton_usb_mocur.DeviceDesc%    = ceton_usb_mocur.ndi, USB\VID_1781&PID_0AA2 ;ecm,mpeg


; For WinXP and later
[Ceton.NTx86]
;Don't load driver for DCL
;%ceton_usb_mocur.DeviceDesc%    = ceton_usb_mocur.ndi, USB\VID_2432&PID_0AA0 ;dcl
;%ceton_usb_mocur.DeviceDesc%    = ceton_usb_mocur.ndi, USB\VID_2432&PID_0AA1 ;mpeg
%ceton_usb_mocur.DeviceDesc%    = ceton_usb_mocur.ndi, USB\VID_2432&PID_0AA2 ;ecm,mpeg
;%ceton_usb_mocur.DeviceDesc%    = ceton_usb_mocur.ndi, USB\VID_2432&PID_0AA3 ;dcl,ecm,mpeg
;old vendor id for backwards compat
%ceton_usb_mocur.DeviceDesc%    = ceton_usb_mocur.ndi, USB\VID_1781&PID_0AA2 ;ecm,mpeg


[Ceton.NTamd64]
;Don't load driver for DCL
;%ceton_usb_mocur.DeviceDesc%    = ceton_usb_mocur.ndi, USB\VID_2432&PID_0AA0 ;dcl
;%ceton_usb_mocur.DeviceDesc%    = ceton_usb_mocur.ndi, USB\VID_2432&PID_0AA1 ;mpeg
%ceton_usb_mocur.DeviceDesc%    = ceton_usb_mocur.ndi, USB\VID_2432&PID_0AA2 ;ecm,mpeg
;%ceton_usb_mocur.DeviceDesc%    = ceton_usb_mocur.ndi, USB\VID_2432&PID_0AA3 ;dcl,ecm,mpeg
;old vendor id for backwards compat
%ceton_usb_mocur.DeviceDesc%    = ceton_usb_mocur.ndi, USB\VID_1781&PID_0AA2 ;ecm,mpeg

;-------------------------------------------------------------------------------
; Microsoft Virtual Ethernet Adapter
;
[ceton_usb_mocur.ndi]
*IfType         = 6             ; IF_TYPE_ETHERNET_CSMACD 
*MediaType      = 0                    ; NdisMedium802_3
*PhysicalMediaType = 14             ; NdisPhysicalMedium802_3
Characteristics = 0x4 ; NCF_PHYSICAL
BusType         = 15 ; if you specify NCF_PHYSICAL, you must specify bustype
AddReg          = ceton_usb_mocur.Reg
CopyFiles       = ceton_usb_mocur.CopyFiles

[ceton_usb_mocur.ndi.Services]
AddService      = ceton_usb_mocur, 2, ceton_usb_mocur.Service, ceton_usb_mocur.EventLog

;-----------------------------------------------------------------------------
; Microsoft Virtual Miniport Common
;
[ceton_usb_mocur.Reg]
HKR,    ,                         BusNumber,           0, "0"
HKR, Ndi,                         Service,             0, "ceton_usb_mocur"
HKR, Ndi\Interfaces,              UpperRange,          0, "ndis5"
HKR, Ndi\Interfaces,              LowerRange,          0, "ethernet"
;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Service\ehPrivJob\UPnPNetworks,USB\VID_2432&PID_0AA0,0x10001,0x00000001
;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Service\ehPrivJob\UPnPNetworks,USB\VID_2432&PID_0AA1,0x10001,0x00000001
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Service\ehPrivJob\UPnPNetworks,USB\VID_2432&PID_0AA2,0x10001,0x00000001
;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Service\ehPrivJob\UPnPNetworks,USB\VID_2432&PID_0AA3,0x10001,0x00000001
;old vendor id for backwards compat
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Service\ehPrivJob\UPnPNetworks,USB\VID_1781&PID_0AA2,0x10001,0x00000001
HKR, , *NdisDeviceType, 0x00010001, 1

[ceton_usb_mocur.ndi.CoInstallers]
AddReg = ceton_usb_mocur_coinstaller.AddReg
CopyFiles = ceton_usb_mocur_coinstaller.CopyFilesWdf

[ceton_usb_mocur_coinstaller.AddReg]
HKR,,CoInstallers32,0x00010000,"WdfCoinstaller01009,WdfCoInstaller", "msdri.dll, CoInstallerEntry"


;-----------------------------------------------------------------------------
; DestinationDirs
;
[ceton_usb_mocur.CopyFiles]
ceton_usb_mocur.sys

[DestinationDirs]
ceton_usb_mocur.CopyFiles = 12
ceton_usb_mocur_coinstaller.CopyFilesWdf = 11
DefaultDestDir = 11

;-----------------------------------------------------------------------------
; Driver and Service Section
;

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

[ceton_usb_mocur.AddReg]
HKR,"Parameters","MaximumTransferSize",0x10001,4096
HKR,"Parameters","DebugLevel",0x10001,2
HKR, Parameters\Wdf, VerboseOn,       0x00010001, 1
HKR, Parameters\Wdf, VerifierOn,      0x00010001, 1
HKR, Parameters\Wdf, DbgBreakOnError, 0x00010001, 1

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

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

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

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

[SourceDisksFiles.x86]
ceton_usb_mocur.sys = 1,i386,
WdfCoinstaller01009.dll = 1,i386,

[SourceDisksFiles.amd64]
ceton_usb_mocur.sys = 1,amd64,
WdfCoinstaller01009.dll = 1,amd64,

;
;--- ceton_usb_mocur.ndi WDF Coinstaller installation ------
;

[ceton_usb_mocur.ndi.Wdf]
KmdfService = ceton_usb_mocur, ceton_usb_mocur.WdfSect

[ceton_usb_mocur.WdfSect]
KmdfLibraryVersion = 1.9

[ceton_usb_mocur_coinstaller.CopyFilesWdf]
WdfCoinstaller01009.dll


;-----------------------------------------------------------------------------
; Localizable Strings
;
[Strings]
Ceton                    = "Ceton"
ceton_usb_mocur.DeviceDesc        = "Ceton USB InfiniTV Network Device"
ceton_usb_mocur.Service.DispName    = "Ceton USB InfiniTV Network Device"
DiskId1 = "Ceton USB InfiniTV Device Installation Disk #1"
