;  	DW Box Install Information File For Win2000, WinXP
;Install - AddReg,CopyFile
;Services --AddServices
;Interface-->AddInterface 
;warning ******  .NT is a very important section

[Version]
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
LayoutFile=Layout.inf
Provider="DVB DW Corp."
DriverVer= 06/12/2009, 2.0.0.1
CatalogFile = USB_2901amd64.cat

[DestinationDirs]
DefaultDestDir=12

[ControlFlags]
ExcludeFromSelect=*
ExcludeFromSelect.NT=*

[SourceDisksNames]
27=%DiskId%,,,

[SourceDisksFiles]
usb_2901.inf  = 27
usb_2901.sys = 27

[Manufacturer]
%Mfg% = MfgDeviceSection,NTamd64

[MfgDeviceSection.NTamd64]
"USB 2901 DVB-T Box"= DVBUSB_2901.Device, USB\VID_04B4&PID_2901

;here ------> install
[DVBUSB_2901.Device.NTamd64]
Include    = ks.inf, kscaptur.inf, bda.inf
Needs      = KS.Registration.NT,KSCAPTUR.Registration.NT,BDA.Installation.NT
AddReg     = DVBUSB_2901.AddReg,HID2901.AddReg
CopyFiles  = DVBUSB_2901.CopyFiles
KnownFiles = DVBUSB_2901.KnownFiles

[DVBUSB_2901.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usb_2901.sys
HKR,,PageOutWhenUnopened,3,00
HKR,,DontSuspendIfStreamsAreRunning,3,01

[HID2901.AddReg]
;HKR,"ENUM\Device1",pnpid,,"DVBUSB_2901.VID_04B4.Remote"

[DVBUSB_2901.CopyFiles]
usb_2901.sys

[DVBUSB_2901.KnownFiles]
usb_2901.sys=safe

[DVBUSB_2901.Device.NTamd64.Services]
AddService = DVBUSB_2901_Sevice,0x00000002,DVBUSB_2901_Sevice.AddService

[DVBUSB_2901_Sevice.AddService]
DisplayName = %DVB_DEVICE_DISPLAYNAME%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 2                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\usb_2901.sys
LoadOrderGroup = ExtendedBase


[DVBUSB_2901.Device.NTamd64.Interfaces]
AddInterface=%KSCATEGORY_BDATUNER%,%KSSTRING_BdaSWTunerFilter%,DVB_T_2901_DEVICE_Tuner.Interfaces
AddInterface=%KSCATEGORY_BDARECEIVER%,%KSSTRING_BdaSWCaptureFilter%,DVB_T_2901_DEVICE_Capture.Interfaces

[DVB_T_2901_DEVICE_Tuner.Interfaces]
AddReg=DVB_T_2901_DEVICE_Tuner.Interface.AddReg

[DVB_T_2901_DEVICE_Tuner.Interface.AddReg]
HKR,,CLSID,,%BDAPROXY.CLSID%
HKR,,FriendlyName,,%BDADEVICE_TUNER.FriendlyName%


[DVB_T_2901_DEVICE_Capture.Interfaces]
AddReg=DVB_T_2901_DEVICE_Capture.Interface.AddReg

[DVB_T_2901_DEVICE_Capture.Interface.AddReg]
HKR,,CLSID,,%BDAPROXY.CLSID%
HKR,,FriendlyName,,%BDADEVICE_CAPTURE.FriendlyName%

[Strings]
DVB_DEVICE_DISPLAYNAME="USB 2901 DVB-T Device"
Mfg = "DVB Technology Co. LTD"
BDADEVICE_TUNER.FriendlyName ="USB 2901 DVB-T Tuner"
BDADEVICE_CAPTURE.FriendlyName="USB 2901 DVB-T Capture"
DiskId = "USB 2901 DVB-T Device Disk"

KSCATEGORY_BDATUNER     = "{71985F48-1CA1-11d3-9CC8-00C04F7971E0}"
KSCATEGORY_BDARECEIVER  = "{FD0A5AF4-B41D-11d2-9C95-00C04F7971E0}"
BDAPROXY.CLSID= "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"

KSSTRING_BdaSWTunerFilter = "{5A714CAD-60F9-4124-B922-8A0557B8840E}"
KSSTRING_BdaSWCaptureFilter ="{EAAD090C-92EE-4dc9-A3E9-1C196BF95068}"
