;------------------------------------------------------------------
; 
;   HCW99BDA.inf -- This file contains installation information for
;                Bristol (Dual tuner DVB-T)
;
;   This installation is for Windows XP SP2 or later only.
;
;   Copyright (C) Hauppauge Computer Works, 2005-2007   
;                            
;------------------------------------------------------------------


[Version]
signature   = "$CHICAGO$"
Class       = Media
ClassGUID   = {4d36e96c-e325-11ce-bfc1-08002be10318}
Provider    = %Hauppauge%
DriverVer   = 03/21/2007,4.3.25080
CatalogFile.NTamd64 = hcw99bda_64.cat


[Manufacturer]
%MfgName% = HAUPPAUGE,NTamd64


[HAUPPAUGE.NTamd64]
;%BDA3700.DeviceDesc_cold%	= BDA3700.Device,USB\VID_10B8&PID_0E74
;%BDA3700.DeviceDesc%		= BDA3700.Device,USB\VID_10B8&PID_0E75
;%BDA3700.DeviceDesc_ir%	= BDA3700.Device,USB\VID_10B8&PID_0E75&MI_00

;%BDA3700.DeviceDesc_cold%	= BDA3700.Device,USB\VID_10B8&PID_0E88
;%BDA3700.DeviceDesc%		= BDA3700.Device,USB\VID_10B8&PID_0E89
;%BDA3700.DeviceDesc_ir%	= BDA3700.Device,USB\VID_10B8&PID_0E89&MI_00

;%BDA3700.DeviceDesc_cold%	= BDA3700.Device,USB\VID_10B8&PID_0EEC
;%BDA3700.DeviceDesc%		= BDA3700.Device,USB\VID_10B8&PID_0EED
;%BDA3700.DeviceDesc_ir%	= BDA3700.Device,USB\VID_10B8&PID_0EED&MI_00

;0700 vA
%BDA3700.DeviceDesc_cold%   = BDA3700.Device,USB\VID_2040&PID_9900
;%BDA3700.DeviceDesc_ir%    = BDA3700.Device,USB\VID_2040&PID_9901&MI_00
%BDA3700.DeviceDesc%	    = BDA3700.Device,USB\VID_2040&PID_9901
%BDA3700.DeviceDesc_cold%   = BDA3700.Device,USB\VID_2040&PID_9910
%BDA3700.DeviceDesc_ir%     = BDA3700.Device,USB\VID_2040&PID_9911&MI_00
;%BDA3700.DeviceDesc%        = BDA3700.Device,USB\VID_2040&PID_9911

;0700 vB
%BDA3700.DeviceDesc_cold%   = BDA3700.Device,USB\VID_2040&PID_9940
;%BDA3700.DeviceDesc_ir%    = BDA3700.Device,USB\VID_2040&PID_9941&MI_00
%BDA3700.DeviceDesc%	    = BDA3700.Device,USB\VID_2040&PID_9941
%BDA3700.DeviceDesc_cold%   = BDA3700.Device,USB\VID_2040&PID_9950
%BDA3700.DeviceDesc_ir%     = BDA3700.Device,USB\VID_2040&PID_9951&MI_00
;%BDA3700.DeviceDesc%        = BDA3700.Device,USB\VID_2040&PID_9951

; legacy 0700 vA based boards; EEprom programming only!!
;%BDA3700.DeviceDesc_cold2% = BDA3700.Device,USB\VID_10B8&PID_0064
;%BDA3700.DeviceDesc2%	   = BDA3700.Device,USB\VID_10B8&PID_0065
;%BDA3700.DeviceDesc2%	   = BDA3700.Device,USB\VID_10B8&PID_0065&MI_00

; Uncomment these on production test systems to enable blank EEprom programming
;%BDA3700.DeviceDesc_cold2% = BDA3700.Device,USB\VID_10B8&PID_0066
;%BDA3700.DeviceDesc2%	   = BDA3700.Device,USB\VID_10B8&PID_0067
;%BDA3700.DeviceDesc2%      = BDA3700.Device,USB\VID_10B8&PID_0067&MI_00


[DestinationDirs]
BDA3700.CopyDrivers	= 10,System32\Drivers 
BDA3700.CopyUtils	= 10,System32 


[SourceDisksNames]
1=%INSTALLATION_DISK%,,,Driver99             ;32/64bit machine, Non-Bit-Specific Components
2=%INSTALLATION_DISK64%,,,"Driver99\64bit"   ;64bit machine, 64bit components
3=%INSTALLATION_DISKWOW%,,,"Driver99\WOW64"  ;64bit machine, 32bit components (WOW64)


[SourceDisksFiles]
hcw99bda.sys = 2
;hcwutl32.dll = 2

[ControlFlags]
ExcludeFromSelect	= *
ExcludeFromSelect.NT	= *


[BDA3700.Device]
Include    = ks.inf, kscaptur.inf, bda.inf
Needs      = KS.Registration, KSCAPTUR.Registration, BDA.Installation, BDA.Registration,
AddReg     = BDA3700.AddReg, HCW99BDA.AddReg
CopyFiles  = BDA3700.CopyDrivers, BDA3700.CopyUtils


[BDA3700.Device.NT]
Include    = ks.inf, kscaptur.inf, bda.inf, wdmaudio.inf
Needs      = KS.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
AddReg     = BDA3700.AddReg, HCW99BDA.AddReg
CopyFiles  = BDA3700.CopyDrivers, BDA3700.CopyUtils


[BDA3700.Device.NT.Services]
Addservice = HCW99BDA, 0x00000002, BDA3700.AddService



[BDA3700.AddService]
DisplayName   	= %BDA3700.FriendlyName%
ServiceType    	= 1                  ; SERVICE_KERNEL_DRIVER
StartType      	= 3                  ; SERVICE_DEMAND_START
ErrorControl   	= 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  	= %10%\System32\Drivers\hcw99bda.sys
LoadOrderGroup 	= Base
AddReg     	= BDA3700.Service.AddReg


[BDA3700.Service.AddReg]
HKR,,DigitalFirmware,0x00000000,%BDA3700.DigitalFirmware%
HKR,,DigitalJmp,0x00010001,0x00


[BDA3700.CopyDrivers]
hcw99bda.sys

[BDA3700.CopyUtils]
;hcwutl32.dll

[BDA3700.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,hcw99bda.sys
HKR,,PageOutWhenUnopened,3,01
HKLM,System\CurrentControlSet\Control\MediaCategories\{FF7451BA-42F1-4a9e-9908-E12406A48D6D}
HKLM,System\CurrentControlSet\Control\MediaCategories\{FF7451BA-42F1-4a9e-9908-E12406A48D6D},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{FF7451BA-42F1-4a9e-9908-E12406A48D6D},Name,,"Tuner Node"
HKLM,System\CurrentControlSet\Control\MediaCategories\{7969986E-A637-4e4e-8AC8-0BD9A02DFC1F}
HKLM,System\CurrentControlSet\Control\MediaCategories\{7969986E-A637-4e4e-8AC8-0BD9A02DFC1F},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{7969986E-A637-4e4e-8AC8-0BD9A02DFC1F},Name,,"Demodulator Node"
HKLM,System\CurrentControlSet\Control\MediaCategories\{54B37042-5CED-48dd-BF4B-16FF7D6E8C81}
HKLM,System\CurrentControlSet\Control\MediaCategories\{54B37042-5CED-48dd-BF4B-16FF7D6E8C81},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{54B37042-5CED-48dd-BF4B-16FF7D6E8C81},Name,,"Antenna In Pin"



[HCW99BDA.AddReg]
; save our driver version for reference
HKLM,Software\Hauppauge\WDM\Version,,0x4000,"4.2.25032"
; legacy stuff for I2C; need to remove this
HKLM,Software\Hauppauge\hcwTVWnd,"VCapFilter",0x4000,"Nova-DT DVB-T Tuner (Dev1 Path0) "



[Strings]


Hauppauge                 = "Hauppauge Computer Works, Inc."
MfgName                   = "Hauppauge"
BDA3700.FriendlyName      = "Hauppauge Nova-DT Dual DVB-T Tuner"
BDA3700.DeviceDesc        = "Hauppauge Nova-DT Dual DVB-T Tuner Device"
BDA3700.DeviceDesc_ir     = "Hauppauge Nova-DT Dual DVB-T Tuner Device (+IR)"
BDA3700.DeviceDesc_cold   = "Hauppauge Nova-DT FW Downloader"

BDA3700.DeviceDesc2       = "Hauppauge Nova-DT Dual DVB-T Tuner Device (blank EEprom)"
BDA3700.DeviceDesc_cold2  = "Hauppauge Nova-DT FW Downloader (blank EEprom)"

INSTALLATION_DISK         = "Hauppauge Nova-DT Driver Disk"
INSTALLATION_DISK64       = "Hauppauge Nova-DT Driver Disk (64Bit Components)"
INSTALLATION_DISKWOW      = "Hauppauge Nova-DT Driver Disk (WOW64 Components)"


BDA3700.DigitalFirmware	= "\??\c:\windows\system32\hauppauge\bristol.hex"

;
; The following items should be moved to KS_registration - TCP
;

MediaCategories         = "SYSTEM\CurrentControlSet\Control\MediaCategories"
    

;
; ServiceType values
SERVICE_KERNEL_DRIVER				= 0x00000001
SERVICE_FILE_SYSTEM_DRIVER			= 0x00000002
SERVICE_ADAPTER					    = 0x00000004
SERVICE_RECOGNIZER_DRIVER			= 0x00000008
SERVICE_WIN32_OWN_PROCESS			= 0x00000010
SERVICE_WIN32_SHARE_PROCESS			= 0x00000020
SERVICE_INTERACTIVE_PROCESS			= 0x00000100
SERVICE_INTERACTIVE_SHARE_PROCESS	= 0x00000120

; StartType values
SERVICE_BOOT_START          = 0x00000000
SERVICE_SYSTEM_START        = 0x00000001
SERVICE_AUTO_START          = 0x00000002
SERVICE_DEMAND_START        = 0x00000003
SERVICE_DISABLED            = 0x00000004

; ErrorControl values
SERVICE_ERROR_IGNORE        = 0x00000000
SERVICE_ERROR_NORMAL        = 0x00000001
SERVICE_ERROR_SEVERE        = 0x00000002
SERVICE_ERROR_CRITICAL      = 0x00000003

; Characteristic flags
NCF_VIRTUAL                 = 0x0001
NCF_WRAPPER                 = 0x0002
NCF_PHYSICAL                = 0x0004
NCF_HIDDEN                  = 0x0008
NCF_NO_SERVICE              = 0x0010
NCF_NOT_USER_REMOVABLE      = 0x0020
NCF_HAS_UI                  = 0x0080
NCF_MODEM                   = 0x0100

; Registry types
REG_MULTI_SZ                = 0x10000
REG_EXPAND_SZ               = 0x20000
REG_DWORD                   = 0x10001

; Win9x Compatible Types
REG_BINARY                  = 17
REG_SZ                      = 0

; Service install flags
SPSVCINST_TAGTOFRONT        = 0x1
SPSVCINST_ASSOCSERVICE      = 0x2
