;------------------------------------------------------------------------------------------------------
;
; HCW66x64.INF  -- This file contains installation information for Hauppauge HVR 900H Stick Device.
;               
; Copyright (c) 2007, 2008 Hauppauge Computer Works Inc.
;
;------------------------------------------------------------------------------------------------------

[Version]
signature	= "$CHICAGO$"
Class		= Media
ClassGUID	= {4d36e96c-e325-11ce-bfc1-08002be10318}
Provider	= %ProviderName%
DriverVer=02/08/2011,1.0.709.29039
CatalogFile 	= hcw66x64.cat

[Manufacturer]
%MsftMfg% = Hauppauge,NTamd64

[Hauppauge.NTamd64]
%UDXTTM6010.DeviceDesc%= UDXTTM6010.Device,USB\VID_2040&PID_6600
%UDXTTM6010.DeviceDesc%= UDXTTM6010.Device,USB\VID_2040&PID_6601
%UDXTTM6010Analog.DeviceDesc%= UDXTTM6010.DeviceAnalog,USB\VID_2040&PID_6610
%UDXTTM6010Analog.DeviceDesc%= UDXTTM6010.DeviceAnalog,USB\VID_2040&PID_6611

[DestinationDirs]
UDXTTM6010.CopyDrivers	= 10,System32\Drivers 
Copy_ECP              =11 ;"\system32"

[SourceDisksNames.AMD64]
1 = %INSTALLATION_DISK%, , , \driver66\64bit

[SourceDisksFiles]
hcw66x64.sys = 1
hcwCP.ax=1

[Copy_ECP]
hcwCP.ax

[ControlFlags]
ExcludeFromSelect =*
ExcludeFromSelect.NT	= *

[UDXTTM6010.Device.NT]
Include    = ks.inf, kscaptur.inf, bda.inf, WDMAudio.inf
Needs      = KS.Registration, KSCAPTUR.Registration.NT, WDMAudio.Registration.NT, BDA.Installation.NT
AddReg     = UDXTTM6010.AddReg, WinTVUSB2.Addreg, FM_OFF.Addreg
CopyFiles  = UDXTTM6010.CopyDrivers, Copy_ECP
RegisterDlls  = Register_ECP

[UDXTTM6010.Device.NT.Services]
Addservice = hcw66xxx, 0x00000002, UDXTTM6010.AddService

[UDXTTM6010.Device.NT.Interfaces]
AddInterface=%KSCATEGORY_BDATUNER%,	%KSSTRING_ABdaFilter%, UDXTTM6010.AInterfaces,
AddInterface=%KSCATEGORY_BDARECEIVER%,	%KSSTRING_ABdaFilter%, UDXTTM6010.AInterfaces,

AddInterface=%KSCATEGORY_BDATUNER%,	%KSSTRING_CBdaFilter%, UDXTTM6010.CInterfaces,
AddInterface=%KSCATEGORY_BDARECEIVER%,	%KSSTRING_CBdaFilter%, UDXTTM6010.CInterfaces,

AddInterface=%KSCATEGORY_BDATUNER%,	%KSSTRING_TBdaFilter%, UDXTTM6010.TInterfaces,
AddInterface=%KSCATEGORY_BDARECEIVER%,	%KSSTRING_TBdaReceiverFilter%, UDXTTM6010.TInterfaces,

AddInterface=%KSCATEGORY_CROSSBAR%,%GUID_XBAR%,VideoCrossbar,0
AddInterface=%KSCATEGORY_TVTUNER%,%GUID_ANALOGTVTUNER%,VideoTvTuner,0
AddInterface=%KSCATEGORY_TVAUDIO%,%GUID_TVAUDIO%,VideoTvAudio,0
AddInterface=%KSCATEGORY_CAPTURE%,%GUID_STREAMCAPTURE%,VideoCapture,0
AddInterface=%KSCATEGORY_VIDEO%,%GUID_STREAMCAPTURE%,VideoCapture,0
AddInterface=%KSCATEGORY_AUDIO%,%GUID_STREAMCAPTURE%,AudioCapture,0

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;The following supports the Analog Stick.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[UDXTTM6010.DeviceAnalog.NT]
Include    = ks.inf, kscaptur.inf, bda.inf, WDMAudio.inf
Needs      = KS.Registration, KSCAPTUR.Registration.NT, WDMAudio.Registration.NT, BDA.Installation.NT 
AddReg     = UDXTTM6010.AddReg, WinTVUSB2.Addreg, FM_ON.Addreg
CopyFiles  = UDXTTM6010.CopyDrivers, Copy_ECP
RegisterDlls  = Register_ECP

[UDXTTM6010.DeviceAnalog.NT.Services]
Addservice = hcw66xxx, 0x00000002, UDXTTM6010.AddService

[UDXTTM6010.DeviceAnalog.NT.Interfaces]
AddInterface=%KSCATEGORY_BDATUNER%,	%KSSTRING_ABdaFilter%, UDXTTM6010.AInterfaces,
AddInterface=%KSCATEGORY_BDARECEIVER%,	%KSSTRING_ABdaFilter%, UDXTTM6010.AInterfaces,

AddInterface=%KSCATEGORY_BDATUNER%,	%KSSTRING_CBdaFilter%, UDXTTM6010.CInterfaces,
AddInterface=%KSCATEGORY_BDARECEIVER%,	%KSSTRING_CBdaFilter%, UDXTTM6010.CInterfaces,

AddInterface=%KSCATEGORY_BDATUNER%,	%KSSTRING_TBdaFilter%, UDXTTM6010.TInterfaces,
AddInterface=%KSCATEGORY_BDARECEIVER%,	%KSSTRING_TBdaReceiverFilter%, UDXTTM6010.TInterfaces,

AddInterface=%KSCATEGORY_CROSSBAR%,%GUID_XBAR%,VideoCrossbar,0
AddInterface=%KSCATEGORY_TVTUNER%,%GUID_ANALOGTVTUNER%,VideoTvTuner,0
AddInterface=%KSCATEGORY_TVAUDIO%,%GUID_TVAUDIO%,VideoTvAudio,0
AddInterface=%KSCATEGORY_CAPTURE%,%GUID_STREAMCAPTURE%,VideoCapture,0
AddInterface=%KSCATEGORY_VIDEO%,%GUID_STREAMCAPTURE%,VideoCapture,0
AddInterface=%KSCATEGORY_AUDIO%,%GUID_STREAMCAPTURE%,AudioCapture,0


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;The following should be removed.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[UDXTTM6010.Device1.NT]
Include    = ks.inf, kscaptur.inf, bda.inf, WDMAudio.inf
Needs      = KS.Registration, KSCAPTUR.Registration.NT, WDMAudio.Registration.NT, BDA.Installation.NT
AddReg     = UDXTTM6010.AddReg1, WinTVUSB2.Addreg
CopyFiles  = UDXTTM6010.CopyDrivers, Copy_ECP
RegisterDlls  = Register_ECP

[UDXTTM6010.Device1.NT.Services]
Addservice = hcw66xxx, 0x00000002, UDXTTM6010.AddService

[UDXTTM6010.Device1.NT.Interfaces]
AddInterface=%KSCATEGORY_BDATUNER%,	%KSSTRING_ABdaFilter%, UDXTTM6010.AInterfaces,
AddInterface=%KSCATEGORY_BDARECEIVER%,	%KSSTRING_ABdaFilter%, UDXTTM6010.AInterfaces,

AddInterface=%KSCATEGORY_BDATUNER%,	%KSSTRING_CBdaFilter%, UDXTTM6010.CInterfaces,
AddInterface=%KSCATEGORY_BDARECEIVER%,	%KSSTRING_CBdaFilter%, UDXTTM6010.CInterfaces,

AddInterface=%KSCATEGORY_BDATUNER%,	%KSSTRING_TBdaFilter%, UDXTTM6010.TInterfaces,
AddInterface=%KSCATEGORY_BDARECEIVER%,	%KSSTRING_TBdaReceiverFilter%, UDXTTM6010.TInterfaces,

AddInterface=%KSCATEGORY_CROSSBAR%,%GUID_XBAR%,VideoCrossbar,0
AddInterface=%KSCATEGORY_TVTUNER%,%GUID_ANALOGTVTUNER%,VideoTvTuner,0
AddInterface=%KSCATEGORY_TVAUDIO%,%GUID_TVAUDIO%,VideoTvAudio,0
AddInterface=%KSCATEGORY_CAPTURE%,%GUID_STREAMCAPTURE%,VideoCapture,0
AddInterface=%KSCATEGORY_VIDEO%,%GUID_STREAMCAPTURE%,VideoCapture,0
AddInterface=%KSCATEGORY_AUDIO%,%GUID_STREAMCAPTURE%,AudioCapture,0
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;The preceeding should be removed.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

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

[UDXTTM6010.CopyDrivers]
hcw66x64.sys

[UDXTTM6010.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,hcw66x64.sys
HKR,,PageOutWhenUnopened,3,01


HKLM,System\CurrentControlSet\Control\MediaCategories\{B7F90CC0-07AB-4453-8A16-653062908FE5}
HKLM,System\CurrentControlSet\Control\MediaCategories\{B7F90CC0-07AB-4453-8A16-653062908FE5},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{B7F90CC0-07AB-4453-8A16-653062908FE5},Name,,"Tuner Node"
HKLM,System\CurrentControlSet\Control\MediaCategories\{77B64FAB-E1CE-4c34-80EB-6702B9CFB2AA}
HKLM,System\CurrentControlSet\Control\MediaCategories\{77B64FAB-E1CE-4c34-80EB-6702B9CFB2AA},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{77B64FAB-E1CE-4c34-80EB-6702B9CFB2AA},Name,,"Demodulator Node"
HKLM,System\CurrentControlSet\Control\MediaCategories\{9A977655-0989-4e41-BCD2-35CF701D3E26}
HKLM,System\CurrentControlSet\Control\MediaCategories\{9A977655-0989-4e41-BCD2-35CF701D3E26},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{9A977655-0989-4e41-BCD2-35CF701D3E26},Name,,"Antenna In Pin"

HKLM,System\CurrentControlSet\Control\MediaCategories\{5BC7D0C9-417E-4689-B6E6-7D9C37A78C78}
HKLM,System\CurrentControlSet\Control\MediaCategories\{5BC7D0C9-417E-4689-B6E6-7D9C37A78C78},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{5BC7D0C9-417E-4689-B6E6-7D9C37A78C78},Name,,"Tuner Node"
HKLM,System\CurrentControlSet\Control\MediaCategories\{51F4850F-0142-4099-B813-ADEFEF5D2858}
HKLM,System\CurrentControlSet\Control\MediaCategories\{51F4850F-0142-4099-B813-ADEFEF5D2858},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{51F4850F-0142-4099-B813-ADEFEF5D2858},Name,,"Demodulator Node"
HKLM,System\CurrentControlSet\Control\MediaCategories\{C37AEC39-9ACA-4109-A1A0-46F43971A3B4}
HKLM,System\CurrentControlSet\Control\MediaCategories\{C37AEC39-9ACA-4109-A1A0-46F43971A3B4},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{C37AEC39-9ACA-4109-A1A0-46F43971A3B4},Name,,"Antenna In Pin"

HKLM,System\CurrentControlSet\Control\MediaCategories\{A57E5B2E-AA15-4ec4-8609-B91A360AA6B3}
HKLM,System\CurrentControlSet\Control\MediaCategories\{A57E5B2E-AA15-4ec4-8609-B91A360AA6B3},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{A57E5B2E-AA15-4ec4-8609-B91A360AA6B3},Name,,"Tuner Node"
HKLM,System\CurrentControlSet\Control\MediaCategories\{84226A18-8E5D-4259-BA30-F5A2BE5DF404}
HKLM,System\CurrentControlSet\Control\MediaCategories\{84226A18-8E5D-4259-BA30-F5A2BE5DF404},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{84226A18-8E5D-4259-BA30-F5A2BE5DF404},Name,,"Demodulator Node"
HKLM,System\CurrentControlSet\Control\MediaCategories\{4676309C-ADF9-4361-9571-C42615DA77DF}
HKLM,System\CurrentControlSet\Control\MediaCategories\{4676309C-ADF9-4361-9571-C42615DA77DF},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{4676309C-ADF9-4361-9571-C42615DA77DF},Name,,"Antenna In Pin"


; //As it is, no change
HKR,"DriverData","MCE_FreqTranslate",0x00010001, 0x00,0x00,0x00,0x00
; //Fixed 6 MHz Freq table
;HKR,"DriverData","MCE_FreqTranslate",0x00010001, 0x06,0x00,0x00,0x00
; //Fixed 7 MHz Freq table
;HKR,"DriverData","MCE_FreqTranslate",0x00010001, 0x07,0x00,0x00,0x00
; //Fixed 8 MHz Freq table
;HKR,"DriverData","MCE_FreqTranslate",0x00010001, 0x08,0x00,0x00,0x00

; //As it is, no change
HKR,"DriverData","FixedBandwidth",0x00010001, 0x00,0x00,0x00,0x00
; //VHF in 7 MHz, UHF in 8 MHz
;HKR,"DriverData","FixedBandwidth",0x00010001, 0x01,0x00,0x00,0x00
; //Fixed 6 MHz
;HKR,"DriverData","FixedBandwidth",0x00010001, 0x06,0x00,0x00,0x00
; //Fixed 7 MHz
;HKR,"DriverData","FixedBandwidth",0x00010001, 0x07,0x00,0x00,0x00
; //Fixed 8 MHz
;HKR,"DriverData","FixedBandwidth",0x00010001, 0x08,0x00,0x00,0x00

; //167KHz will be scanned
HKR,"DriverData","ShiftFreqScan",0x00010001, 0x00,0x00,0x00,0x00
; //Don't scan +-167KHz, just return lock failure
;HKR,"DriverData","ShiftFreqScan",0x00010001, 0x01,0x00,0x00,0x00

; IR system code checklist1
; 00 00 00 00 : Enable all
; FF FF 00 00 : Filter All
HKR,"DriverData","IRSYSCODECHECK1",0x00010001, 0xFF,0x00,0x00,0x00

; //Mapping RC table for DTV-DVB
HKR,"DriverData","RC_Configuration",0x00010001, 0x00,0x00,0x00,0x00
; //Mapping RC table for Cyberlink
;HKR,"DriverData","RC_Configuration",0x00010001, 0x01,0x00,0x00,0x00
; //Mapping RC table for IVI
;HKR,"DriverData","RC_Configuration",0x00010001, 0x02,0x00,0x00,0x00
; //Mapping RC table for MCE
;HKR,"DriverData","RC_Configuration",0x00010001, 0x03,0x00,0x00,0x00
; //Mapping RC table for NEW TH HID RC
;HKR,"DriverData","RC_Configuration",0x00010001, 0x04,0x00,0x00,0x00
; //Mapping RC table for Custom
;HKR,"DriverData","RC_Configuration",0x00010001, 0x05,0x00,0x00,0x00
; //Mapping RC table for DNTVLive HID RC
;HKR,"DriverData","RC_Configuration",0x00010001, 0x10,0x00,0x00,0x00
; //Disable RC
;HKR,"DriverData","RC_Configuration",0x00010001, 0xFF,0xFF,0x00,0x00

; Tuner Power off timeout setting 0: Disable n: n Sec
HKR,"DriverData","TunerOffTimeOut",0x00010001, 0xB4,0x00,0x00,0x00

; Tuner Firmware download speed 0: Normal speed, others: Speed Up Rate
HKR,"DriverData","bDLSpeed",0x00010001, 0x00,0x00,0x00,0x00

; SupportHWInfo (MAX 32 bytes)
;HKR,"DriverData","SupportHWInfo",0x00010000, "TM6010 USB TVBox"

; Device_Name (MAX 32 bytes)
;HKR,"DriverData","Device_Name",0x00010000, "TM6010 USB TVBox"

[Register_ECP]
11,,hcwCP.ax,1

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Added to Support FM
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[FM_ON.Addreg]
HKR,"DriverData","FM_Enable",0x00010001, 0x01,0x00,0x00,0x00

[FM_OFF.Addreg]
HKR,"DriverData","FM_Enable",0x00010001, 0x00,0x00,0x00,0x00

[WinTVUSB2.Addreg]
;HKLM,Software\Hauppauge\hcwTVWnd,Use_USB,0x00010001, 0x00, 0x00, 0x00, 0x00
HKLM,Software\WOW6432Node\Hauppauge\hcwTVWnd,"VCapFilter",0,"WinTV HVR-900H Capture"
HKLM,Software\WOW6432Node\Hauppauge\hcwTVWnd,"VXbarFilter",0,"WinTV HVR-900H Crossbar"
HKLM,Software\WOW6432Node\Hauppauge\hcwTVWnd,"TunerFilter",0,"WinTV HVR-900H TVTuner"
HKLM,Software\WOW6432Node\Hauppauge\hcwTVWnd,"TVAudioFilter",0,"WinTV HVR-900H TVAudio"

; save our driver version for reference
;HKLM,Software\Hauppauge\WDM\Version,,0x4000,%DriverVer%

[UDXTTM6010.AddReg1]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,hcw66x64.sys
HKR,,PageOutWhenUnopened,3,01

HKLM,System\CurrentControlSet\Control\MediaCategories\{B7F90CC0-07AB-4453-8A16-653062908FE5}
HKLM,System\CurrentControlSet\Control\MediaCategories\{B7F90CC0-07AB-4453-8A16-653062908FE5},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{B7F90CC0-07AB-4453-8A16-653062908FE5},Name,,"Tuner Node"
HKLM,System\CurrentControlSet\Control\MediaCategories\{77B64FAB-E1CE-4c34-80EB-6702B9CFB2AA}
HKLM,System\CurrentControlSet\Control\MediaCategories\{77B64FAB-E1CE-4c34-80EB-6702B9CFB2AA},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{77B64FAB-E1CE-4c34-80EB-6702B9CFB2AA},Name,,"Demodulator Node"
HKLM,System\CurrentControlSet\Control\MediaCategories\{9A977655-0989-4e41-BCD2-35CF701D3E26}
HKLM,System\CurrentControlSet\Control\MediaCategories\{9A977655-0989-4e41-BCD2-35CF701D3E26},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{9A977655-0989-4e41-BCD2-35CF701D3E26},Name,,"Antenna In Pin"

HKLM,System\CurrentControlSet\Control\MediaCategories\{5BC7D0C9-417E-4689-B6E6-7D9C37A78C78}
HKLM,System\CurrentControlSet\Control\MediaCategories\{5BC7D0C9-417E-4689-B6E6-7D9C37A78C78},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{5BC7D0C9-417E-4689-B6E6-7D9C37A78C78},Name,,"Tuner Node"
HKLM,System\CurrentControlSet\Control\MediaCategories\{51F4850F-0142-4099-B813-ADEFEF5D2858}
HKLM,System\CurrentControlSet\Control\MediaCategories\{51F4850F-0142-4099-B813-ADEFEF5D2858},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{51F4850F-0142-4099-B813-ADEFEF5D2858},Name,,"Demodulator Node"
HKLM,System\CurrentControlSet\Control\MediaCategories\{C37AEC39-9ACA-4109-A1A0-46F43971A3B4}
HKLM,System\CurrentControlSet\Control\MediaCategories\{C37AEC39-9ACA-4109-A1A0-46F43971A3B4},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{C37AEC39-9ACA-4109-A1A0-46F43971A3B4},Name,,"Antenna In Pin"

HKLM,System\CurrentControlSet\Control\MediaCategories\{A57E5B2E-AA15-4ec4-8609-B91A360AA6B3}
HKLM,System\CurrentControlSet\Control\MediaCategories\{A57E5B2E-AA15-4ec4-8609-B91A360AA6B3},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{A57E5B2E-AA15-4ec4-8609-B91A360AA6B3},Name,,"Tuner Node"
HKLM,System\CurrentControlSet\Control\MediaCategories\{84226A18-8E5D-4259-BA30-F5A2BE5DF404}
HKLM,System\CurrentControlSet\Control\MediaCategories\{84226A18-8E5D-4259-BA30-F5A2BE5DF404},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{84226A18-8E5D-4259-BA30-F5A2BE5DF404},Name,,"Demodulator Node"
HKLM,System\CurrentControlSet\Control\MediaCategories\{4676309C-ADF9-4361-9571-C42615DA77DF}
HKLM,System\CurrentControlSet\Control\MediaCategories\{4676309C-ADF9-4361-9571-C42615DA77DF},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{4676309C-ADF9-4361-9571-C42615DA77DF},Name,,"Antenna In Pin"

; //As it is, no change
HKR,"DriverData","MCE_FreqTranslate",0x00010001, 0x00,0x00,0x00,0x00
; //As it is, no change
HKR,"DriverData","FixedBandwidth",0x00010001, 0x00,0x00,0x00,0x00
; //167KHz will be scanned
HKR,"DriverData","ShiftFreqScan",0x00010001, 0x00,0x00,0x00,0x00
; Tuner Power off timeout setting 0: Disable n: n Sec
HKR,"DriverData","TunerOffTimeOut",0x00010001, 0xB4,0x00,0x00,0x00
; Tuner Firmware download speed 0: Normal speed, others: Speed Up Rate
HKR,"DriverData","bDLSpeed",0x00010001, 0x00,0x00,0x00,0x00

[UDXTTM6010.AInterfaces]
AddReg = UDXTTM6010.AInterface.AddReg

[UDXTTM6010.CInterfaces]
AddReg = UDXTTM6010.CInterface.AddReg

[UDXTTM6010.TInterfaces]
AddReg = UDXTTM6010.TInterface.AddReg


[UDXTTM6010.AInterface.AddReg]
HKR,,CLSID,,%KSPROXY.CLSID%
HKR,,FriendlyName,,%UDXTTM6010.AFriendlyName%

[UDXTTM6010.CInterface.AddReg]
HKR,,CLSID,,%KSPROXY.CLSID%
HKR,,FriendlyName,,%UDXTTM6010.CFriendlyName%

[UDXTTM6010.TInterface.AddReg]
HKR,,CLSID,,%KSPROXY.CLSID%
HKR,,FriendlyName,,%UDXTTM6010.TFriendlyName%


[VideoCrossbar]
AddReg=VideoXBar.AddReg

[VideoXBar.AddReg]
HKR,,CLSID,,%KSXBar.CLSID%
HKR,,FriendlyName,,%UDXTTM6010.Crossbar%



[VideoTvTuner]
AddReg=VideoTvTuner.AddReg

[VideoTvTuner.AddReg]
HKR,,CLSID,,%KSTvTune.CLSID%
HKR,,FriendlyName,,%UDXTTM6010.TvTuner%



[VideoTvAudio]
AddReg=VideoTvAudio.AddReg

[VideoTvAudio.AddReg]
HKR,,CLSID,,%KSTVAudio.CLSID%
HKR,,FriendlyName,,%UDXTTM6010.TvAudio%



[VideoCapture]
AddReg=VideoCapture.AddReg

[VideoCapture.AddReg]
HKR,,CLSID,,%KSPROXY.CLSID%
HKR,,FriendlyName,,%UDXTTM6010.Capture%


[AudioCapture]
AddReg=AudioCapture.AddReg

[AudioCapture.AddReg]
HKR,,CLSID,,%KSProxy.CLSID%
HKR,,FriendlyName,,%UDXTTM6010.AudioName%
HKLM,System\CurrentControlSet\Control\MediaCategories\%GUID_AUDIOOUT%,Name,,%Audio.Name%


[Strings]
ProviderName		= "Hauppauge Computer Works"
MsftMfg			= "Hauppauge Computer Works"

KSPROXY.CLSID			= "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"  ; KsProxy.ax's ID, REQUIRED
KSXBar.CLSID                    = "{71F96460-78F3-11d0-A18C-00A0C9118956}"
KSTvTune.CLSID                  = "{266EEE40-6C63-11cf-8A03-00AA006ECB65}"
KSTVAudio.CLSID                 = "{71F96462-78F3-11d0-A18C-00A0C9118956}"

UDXTTM6010.DeviceDesc		= "Hauppauge WinTV HVR-900H 64bit (66xxx)"
UDXTTM6010Analog.DeviceDesc		= "Hauppauge WinTV USB2-Stick (66xxx)"

UDXTTM6010.FriendlyName         = "WinTV HVR-900H"

UDXTTM6010.AFriendlyName        = "WinTV HVR-900H BDA Capture"
UDXTTM6010.CFriendlyName	= "WinTV HVR-900H BDA Capture"
UDXTTM6010.TFriendlyName	= "WinTV HVR-900H BDA Capture"

INSTALLATION_DISK 		= "Hauppauge WinTV-HVR-900H Install Disk"

KSSTRING_ABdaFilter             = "{C30242DA-6063-4d76-A0F1-A5E0B09F6ACD}"
KSSTRING_CBdaFilter             = "{F2F5D5A5-F937-41b7-9BFF-0AA6C4B9B054}"
KSSTRING_TBdaFilter             = "{2598A28C-6899-4d04-918F-93310ED069D5}"
KSSTRING_TBdaReceiverFilter     = "{5BB3DBD0-9E1E-424c-9281-6B5E7109F111}"
GUID_ANALOGTVTUNER              = "{72E8D281-6A3B-4757-89C5-E6E3EFBA24DD}"
UDXTTM6010.TvTuner              = "WinTV HVR-900H TVTuner"

GUID_TVAUDIO                    = "{579364E7-6D64-4e01-82EE-3C212B31299A}"
UDXTTM6010.TvAudio              = "WinTV HVR-900H TVAudio"

GUID_XBAR                       = "{A23D0FC9-8982-4fa8-AD49-636F29DD73FF}"
UDXTTM6010.Crossbar             = "WinTV HVR-900H Crossbar"

GUID_STREAMCAPTURE              = "{D8257770-561A-4c8f-B055-969398D34E0B}"
UDXTTM6010.Capture              = "WinTV HVR-900H Capture"

GUID_AUDIOOUT                   = "{8AFBBCCD-DFBC-4dfd-B6BF-63EFF1EC5100}"
UDXTTM6010.AudioName            = "WinTV HVR-900H Audio Device"
Audio.Name                      = "Audio"

;
; The following items should be moved to KS_registration - TCP
;
KSCATEGORY_BDATUNER     = "{71985F48-1CA1-11d3-9CC8-00C04F7971E0}"
KSCATEGORY_BDARECEIVER	= "{FD0A5AF4-B41D-11d2-9C95-00C04F7971E0}"	
KSCATEGORY_CROSSBAR     = "{a799a801-a46d-11d0-a18c-00a02401dcd4}"
KSCATEGORY_TVTUNER      = "{a799a800-a46d-11d0-a18c-00a02401dcd4}"
KSCATEGORY_TVAUDIO      = "{a799a802-a46d-11d0-a18c-00a02401dcd4}"
KSCATEGORY_CAPTURE      = "{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_VIDEO        = "{6994AD05-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_AUDIO        = "{6994AD04-93EF-11D0-A3CC-00A0C9223196}"

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
