;------------------------------------------------------------------------
; 
;  Copyright and Disclaimer: 
;  
;     --------------------------------------------------------------- 
;     This software is provided "AS IS" without warranty of any kind, 
;     either expressed or implied, including but not limited to the 
;     implied warranties of noninfringement, merchantability and/or 
;     fitness for a particular purpose.
;     --------------------------------------------------------------- 
;   
;     Copyright (c) 2011-2014 Hauppauge Computer Works, Inc. 
;     All rights reserved. 
;
;------------------------------------------------------------------------

[Version]
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider="Hauppauge Computer Works"
DriverVer=04/28/2014,1.5.32118
CatalogFile.ntx86=hcwE5bda.cat

[Manufacturer]
"Hauppauge"=Hauppauge

[SourceDisksNames]
1=%HCW.InstallDisk%,,,DriverE5            ;32/64bit machine, Non-Bit-Specific Components
2=%HCW.InstallDisk64%,,,"DriverE5\64bit"  ;64bit machine, 64bit components
3=%HCW.InstallDiskWOW%,,,"DriverE5\WOW64" ;64bit machine, 32bit components (WOW64)

[SourceDisksFiles]
HcwE5bda.sys=1
hcwE5cir.dll=1
HcwE5CPU_MIPS.bin=1
HcwE5ENC_t22_24.bin=1
;;HcwE5ENC_t22_48.bin=1
;;HcwE5XC_t22_24.bin=1
;;HcwE5XC_t22_48.bin=1
;hcwxds.dll=1
hcwE5prx.ax=1
;hcwCCnvE5.ax=1
hcwECPPP.ax=1
hcwCP.ax=1
hcwD1ep.ax=1

[Hauppauge]
%Siena.E500.DeviceDesc%=Siena.E500,USB\VID_2040&PID_E500 ; Siena1 -01,-03
%Siena.E501.DeviceDesc%=Siena.E501,USB\VID_2040&PID_E501 ; Siena1 -05
%Siena.E502.DeviceDesc%=Siena.E502,USB\VID_2040&PID_E502 ; Siena1 -05b or later
%Siena.E50A.DeviceDesc%=Siena.E502,USB\VID_2040&PID_E50A ; StreamEez 
%Siena.E504.DeviceDesc%=Siena.E504,USB\VID_2040&PID_E504 ; Siena2-02 w/SPDIF, Green LEDs
%Siena.E504.DeviceDesc%=Siena.E504,USB\VID_2040&PID_E554 ; Siena2-02 w/SPDIF, Blue LEDs

%Siena.E514.DeviceDesc%=Siena.E504,USB\VID_2040&PID_E514 ; Siena2-02 w/SPDIF, Alt bling
%Siena.E524.DeviceDesc%=Siena.E502,USB\VID_2040&PID_E524 ; Siena2-02
%Siena.E52C.DeviceDesc%=Siena.E502,USB\VID_2040&PID_E52C ; Siena2 StreamEez 

%Siena.E504.DeviceDesc%=Siena.E504,USB\VID_2040&PID_E505 ; Siena2-05a w/SPDIF
%Siena.E514.DeviceDesc%=Siena.E504,USB\VID_2040&PID_E515 ; Siena2-05a w/SPDIF, Alt bling
%Siena.E524.DeviceDesc%=Siena.E502,USB\VID_2040&PID_E525 ; Siena2-05a


[Siena.E500]
Include=    ks.inf, kscaptur.inf, bda.inf, wdmaudio.inf
Needs=      KS.Registration, KSCAPTUR.Registration, BDA.Installation, WDMAUDIO.Registration
AddReg=     VID.AddReg,E500.AddReg,Siena_03xbar.AddReg,proppage.Addreg
AddReg=     DSFilters.AddRegWOW64
CopyFiles=  Siena.CopyDrivers,Siena.CopyFW,DSFilters.CopyFiles,DSFilters.CopySys64
RegisterDlls=DSFilters.RegDLL

[Siena.E500.NT]
Include=    ks.inf, kscaptur.inf, bda.inf, wdmaudio.inf
Needs=      KS.Registration, KSCAPTUR.Registration.NT, BDA.Installation.NT, WDMAUDIO.Registration
AddReg=     VID.AddReg,E500.AddReg,Siena_03.AddReg,Siena_03xbar.AddReg,proppage.Addreg,IR_CoInstaller_AddReg
AddReg=     DSFilters.AddRegWOW64
CopyFiles=  Siena.CopyDrivers,Siena.CopyFW,DSFilters.CopyFiles,DSFilters.CopySys64,IR_CoInstaller_CopyFiles
RegisterDlls=DSFilters.RegDLL


[Siena.E501]
Include=    ks.inf, kscaptur.inf, bda.inf, wdmaudio.inf
Needs=      KS.Registration, KSCAPTUR.Registration, BDA.Installation, WDMAUDIO.Registration
AddReg=     VID.AddReg,E500.AddReg,Siena_05.AddReg,Siena_05xbar.AddReg,proppage.Addreg
AddReg=     DSFilters.AddRegWOW64
CopyFiles=  Siena.CopyDrivers,Siena.CopyFW,DSFilters.CopyFiles,DSFilters.CopySys64
RegisterDlls=DSFilters.RegDLL

[Siena.E501.NT]
Include=    ks.inf, kscaptur.inf, bda.inf, wdmaudio.inf
Needs=      KS.Registration, KSCAPTUR.Registration.NT, BDA.Installation.NT, WDMAUDIO.Registration
AddReg=     VID.AddReg,E500.AddReg,Siena_05.AddReg,Siena_05xbar.AddReg,proppage.Addreg
AddReg=     DSFilters.AddRegWOW64
CopyFiles=  Siena.CopyDrivers,Siena.CopyFW,DSFilters.CopyFiles,DSFilters.CopySys64
RegisterDlls=DSFilters.RegDLL


[Siena.E502]
Include=    ks.inf, kscaptur.inf, bda.inf, wdmaudio.inf
Needs=      KS.Registration, KSCAPTUR.Registration, BDA.Installation, WDMAUDIO.Registration
AddReg=     VID.AddReg,E500.AddReg,Siena_05b.AddReg,Siena_05xbar.AddReg,proppage.Addreg
AddReg=     DSFilters.AddRegWOW64
CopyFiles=  Siena.CopyDrivers,Siena.CopyFW,DSFilters.CopyFiles,DSFilters.CopySys64
RegisterDlls=DSFilters.RegDLL

[Siena.E502.NT]
Include=    ks.inf, kscaptur.inf, bda.inf, wdmaudio.inf
Needs=      KS.Registration, KSCAPTUR.Registration.NT, BDA.Installation.NT, WDMAUDIO.Registration
AddReg=     VID.AddReg,E500.AddReg,Siena_05b.AddReg,Siena_05xbar.AddReg,proppage.Addreg
AddReg=     DSFilters.AddRegWOW64
CopyFiles=  Siena.CopyDrivers,Siena.CopyFW,DSFilters.CopyFiles,DSFilters.CopySys64
RegisterDlls=DSFilters.RegDLL


[Siena.E504]
Include=    ks.inf, kscaptur.inf, bda.inf, wdmaudio.inf
Needs=      KS.Registration, KSCAPTUR.Registration, BDA.Installation, WDMAUDIO.Registration
AddReg=     VID.AddReg,E500.AddReg,Siena_05b.AddReg,Siena_03xbar.AddReg,proppage.Addreg
AddReg=     DSFilters.AddRegWOW64
CopyFiles=  Siena.CopyDrivers,Siena.CopyFW,DSFilters.CopyFiles,DSFilters.CopySys64
RegisterDlls=DSFilters.RegDLL

[Siena.E504.NT]
Include=    ks.inf, kscaptur.inf, bda.inf, wdmaudio.inf
Needs=      KS.Registration, KSCAPTUR.Registration.NT, BDA.Installation.NT, WDMAUDIO.Registration
AddReg=     VID.AddReg,E500.AddReg,Siena_05b.AddReg,Siena_03xbar.AddReg,proppage.Addreg
AddReg=     DSFilters.AddRegWOW64
CopyFiles=  Siena.CopyDrivers,Siena.CopyFW,DSFilters.CopyFiles,DSFilters.CopySys64
RegisterDlls=DSFilters.RegDLL


;#[Siena.E50A]
;#Include=    ks.inf, kscaptur.inf, bda.inf, wdmaudio.inf
;#Needs=      KS.Registration, KSCAPTUR.Registration, BDA.Installation, WDMAUDIO.Registration
;#AddReg=     VID.AddReg,E500.AddReg,Siena_05b.AddReg,Siena_05xbar.AddReg,proppage.Addreg
;#AddReg=     DSFilters.AddRegWOW64
;#CopyFiles=  Siena.CopyDrivers,Siena.CopyFW,DSFilters.CopyFiles,DSFilters.CopySys64
;#RegisterDlls=DSFilters.RegDLL

;#[Siena.E50A.NT]
;#Include=    ks.inf, kscaptur.inf, bda.inf, wdmaudio.inf
;#Needs=      KS.Registration, KSCAPTUR.Registration.NT, BDA.Installation.NT, WDMAUDIO.Registration
;#AddReg=     VID.AddReg,E500.AddReg,Siena_05b.AddReg,Siena_05xbar.AddReg,proppage.Addreg
;#AddReg=     DSFilters.AddRegWOW64
;#CopyFiles=  Siena.CopyDrivers,Siena.CopyFW,DSFilters.CopyFiles,DSFilters.CopySys64
;#RegisterDlls=DSFilters.RegDLL


[DestinationDirs]
Siena.CopyDrivers=10,system32\drivers
Siena.CopyFW=10,system32\drivers
DSFilters.CopyFiles=10,system32
DSFilters.CopySys64=10,system32
IR_CoInstaller_CopyFiles=10,system32

[Siena.CopyDrivers]
hcwE5bda.sys

[Siena.CopyFW]
HcwE5CPU_MIPS.bin
HcwE5ENC_t22_24.bin
;;HcwE5ENC_t22_48.bin
;;HcwE5XC_t22_24.bin
;;HcwE5XC_t22_48.bin

[DSFilters.CopyFiles]
;hcwxds.dll
hcwE5prx.ax
hcwECPPP.ax
hcwCP.ax
hcwD1ep.ax

[DSFilters.CopySys64]

[DSFilters.AddRegWOW64]

[DSFilters.RegDLL]
;11,,hcwxds.dll,1
11,,hcwE5prx.ax,1
11,,hcwECPPP.ax,1
11,,hcwCP.ax,1
11,,hcwD1ep.ax,1

[VID.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,hcwE5bda.sys
HKR,,OkToHibernate,3,01
; Disable driver page out
HKR,,PageOutWhenUnopened,3,00
HKR,,DontSuspendIfStreamsAreRunning,3,01
HKLM,%MediaCategories%\%GUID.PINNAME_ANALOG_AUDIO_IN%,Name,,%Pin.AnalogAudioIn%
HKLM,%MediaCategories%\%GUID.PINNAME_AUDIO_OUT%,Name,,%PinName.AnalogAudioOut%

HKLM,%MediaInterfaces%\{0A7AF963-6805-4f99-B284-29B680975542},,,"Copy Protect Notification Filter"
HKLM,%MediaInterfaces%\{0A7AF963-6805-4f99-B284-29B680975542},IID,1,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00

HKLM,%MediaCategories%\%GUID.PINNAME_MPEG_OUT%,Name,,%PinName.MpegOut%
;HKLM,%MediaCategories%\%GUID.PINNAME_MPEG_INDEX_OUT%,Name,,%PinName.MpegIndexOut%
HKLM,%MediaCategories%\%GUID.PINNAME_656_OUT%,Name,,%PinName.656Out%
HKLM,%MediaCategories%\%GUID.PINNAME_656_IN%,Name,,%PinName.656In%

;Register the encoder and multiplexer classes with Direct X
HKCR,%ActiveMovieCategories%\%GUID.Encoder%,CLSID,,%GUID.Encoder%
HKCR,%ActiveMovieCategories%\%GUID.Encoder%,FriendlyName,,%Category_Encoders%
HKCR,%ActiveMovieCategories%\%GUID.Multiplexer%,CLSID,,%GUID.Multiplexer%
HKCR,%ActiveMovieCategories%\%GUID.Multiplexer%,FriendlyName,,%Category_Multiplexers%

;Register the names of the encoder and multiplexer nodes
HKLM,%MediaCategories%\%GUID.Encoder%,Name,,%Node.Encoder%
HKLM,%MediaCategories%\%GUID.Encoder%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%GUID.Multiplexer%,Name,,%Node.Multiplexer%
HKLM,%MediaCategories%\%GUID.Multiplexer%,Display,1,00,00,00,00


;Wave in audio device registration
;HKR,Drivers,SubClasses,,"wave"
;HKR,Drivers\wave\wdmaud.drv, Driver,,wdmaud.drv
;HKR,Drivers\wave\wdmaud.drv,Description,,%AudioFriendlyName%

;Copy protection method enforced by driver
HKR,"DriverData","CpMethod",0x00010001, 0xFE, 0x00, 0x00, 0x00

;; Hauppauge API Support
HKLM,"Software\Hauppauge\HcwTVWnd","VCapFilter",0x4000,"Hauppauge Siena Video Capture"


[proppage.Addreg]
;Add the property pages
HKCR,CLSID\%GUID.General_Properties%\InprocServer32,,,hcwE5prx.ax
HKCR,CLSID\%GUID.General_Properties%\InprocServer32,ThreadingModel,,Both
HKLM,%MediaSets%\%GUID.SIENA_CONTROL_PROPERTIES%\PropertyPages\%GUID.General_Properties%,,,

HKCR,CLSID\%GUID.Video_Properties%\InprocServer32,,,hcwE5prx.ax
HKCR,CLSID\%GUID.Video_Properties%\InprocServer32,ThreadingModel,,Both
HKLM,%MediaSets%\%GUID.SIENA_CONTROL_PROPERTIES%\PropertyPages\%GUID.Video_Properties%,,,

HKCR,CLSID\%GUID.Audio_Properties%\InprocServer32,,,hcwE5prx.ax
HKCR,CLSID\%GUID.Audio_Properties%\InprocServer32,ThreadingModel,,Both
HKLM,%MediaSets%\%GUID.SIENA_CONTROL_PROPERTIES%\PropertyPages\%GUID.Audio_Properties%,,,

HKCR,CLSID\%GUID.Noise_Properties%\InprocServer32,,,hcwE5prx.ax
HKCR,CLSID\%GUID.Noise_Properties%\InprocServer32,ThreadingModel,,Both
HKLM,%MediaSets%\%GUID.SIENA_CONTROL_PROPERTIES%\PropertyPages\%GUID.Noise_Properties%,,,

HKCR,CLSID\%GUID.Pin_Resolution_Prop%\InprocServer32,,,hcwE5prx.ax
HKCR,CLSID\%GUID.Pin_Resolution_Prop%\InprocServer32,ThreadingModel,,Both
HKLM,%MediaCategories%\%GUID.PINNAME_656_OUT%\PropertyPages\%GUID.Pin_Resolution_Prop%,,,


[E500.AddReg]
;-------------------------------------------------------------------
; Settings for Siena board.

; No MultiTuner
HKR,"DriverData","TunerType",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"DriverData","BDA_Demod_Tuner_type",0x00010001, 0x00, 0x00, 0x00, 0x00

HKR,"DriverData","TunerCountryCode",0x00010001, 0x1,0x00,0x00,0x00
;HKR,"DriverData","TunerUsePllTuningStrategy",0x00010001, 0x1,0x00,0x00,0x00

HKLM,%Services%\hcwE5bda\Parameters,"power_down_delay",0x00010001, 0x1E,0x00,0x00,0x00


;;TODO - these need to be per instance to support mixed HW versions
[Siena_03.AddReg]
HKLM,%Services%\hcwE5bda\Parameters,"ClockPulseDelay",0x00010001, 0x02,0x00,0x00,0x00
HKLM,%Services%\hcwE5bda\Parameters,"ClockPixClkOutToggle",0x00010001, 0x00,0x00,0x00,0x00

[Siena_05.AddReg]
HKLM,%Services%\hcwE5bda\Parameters,"ClockPulseDelay",0x00010001, 0x07,0x00,0x00,0x00
HKLM,%Services%\hcwE5bda\Parameters,"ClockPixClkOutToggle",0x00010001, 0x80,0x00,0x00,0x00

[Siena_05b.AddReg]
HKLM,%Services%\hcwE5bda\Parameters,"ClockPulseDelay",0x00010001, 0x07,0x00,0x00,0x00
HKLM,%Services%\hcwE5bda\Parameters,"ClockPixClkOutToggle",0x00010001, 0x80,0x00,0x00,0x00



[Siena_05xbar.AddReg]
; Crossbar mapping for Siena -05 artwork
;-------------------------------------------------------------------
; Crossbar AddReg sections
;
;---Crossbar registry values---
;
; Note: For each pin on the crossbar, specify the following:
; (1) Pin type
;     0 - SVIDEO
;     1 - Tuner
;     2 - Composite
;     3 - audio tuner in
;     4 - audio line in
;     8 - VIDEO_INPUT_YPrPb
;     9 - VIDEO_INPUT_HDMI
;    10 - AUDIO_INPUT_SPDIF
;    11 - AUDIO_INPUT_HDMI
; (2) InputMux (required for Falcon 2) - input mux to use for the selected pin
; (3) RelatedPinIndex
;-------------------------------------------------------------------


;---Crossbar registry values---
;Pin 0 - HDMI In
HKR,"DriverData\XBarPin0","PinType",0x00010001, 0x09,0x00,0x00,0x00
HKR,"DriverData\XBarPin0","InputMux",0x00010001, 0x00,0x00,0x00,0x00
HKR,"DriverData\XBarPin0","RelatedPinIndex",0x00010001, 0x04,0x00,0x00,0x00

;Pin 1 - Component in
HKR,"DriverData\XBarPin1","PinType",0x00010001, 0x08,0x00,0x00,0x00
HKR,"DriverData\XBarPin1","InputMux",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData\XBarPin1","RelatedPinIndex",0x00010001, 0x05,0x00,0x00,0x00

;Pin 2 - Composite in
HKR,"DriverData\XBarPin2","PinType",0x00010001, 0x02,0x00,0x00,0x00
HKR,"DriverData\XBarPin2","InputMux",0x00010001, 0x08,0x00,0x00,0x00
HKR,"DriverData\XBarPin2","RelatedPinIndex",0x00010001, 0x05,0x00,0x00,0x00

;Pin 3 - S-Video in
HKR,"DriverData\XBarPin3","PinType",0x00010001, 0x00,0x00,0x00,0x00
HKR,"DriverData\XBarPin3","InputMux",0x00010001, 0x03,0x05,0x00,0x00
HKR,"DriverData\XBarPin3","RelatedPinIndex",0x00010001, 0x05,0x00,0x00,0x00

;Pin 4 - HDMI Audio
HKR,"DriverData\XBarPin4","PinType",0x00010001, 0x0b,0x00,0x00,0x00
HKR,"DriverData\XBarPin4","RelatedPinIndex",0x00010001, 0x00,0x00,0x00,0x00

;Pin 5 - Audio Line in
HKR,"DriverData\XBarPin5","PinType",0x00010001, 0x04,0x00,0x00,0x00
HKR,"DriverData\XBarPin5","RelatedPinIndex",0x00010001, 0x01,0x00,0x00,0x00



;HDMI input is the default
HKR,"DriverData","VideoInputPin",0x00010001, 0x00,0x00,0x00,0x00
HKR,"DriverData","AudioInputPin",0x00010001, 0x04,0x00,0x00,0x00

;Force Audio with video pin
HKR,"DriverData","ForceAudioWithVideoPin",0x00010001, 0x01,0x00,0x00,0x00


[Siena_03xbar.AddReg]
; Supports older -03 artwork with SPDIF
;-------------------------------------------------------------------
; Crossbar AddReg sections
;
;---Crossbar registry values---
;
; Note: For each pin on the crossbar, specify the following:
; (1) Pin type
;     0 - SVIDEO
;     1 - Tuner
;     2 - Composite
;     3 - audio tuner in
;     4 - audio line in
;     8 - VIDEO_INPUT_YPrPb
;     9 - VIDEO_INPUT_HDMI
;    10 - AUDIO_INPUT_SPDIF
;    11 - AUDIO_INPUT_HDMI
; (2) InputMux (required for Falcon 2) - input mux to use for the selected pin
; (3) RelatedPinIndex
;-------------------------------------------------------------------


;---Crossbar registry values---
;Pin 0 - HDMI In
HKR,"DriverData\XBarPin0","PinType",0x00010001, 0x09,0x00,0x00,0x00
HKR,"DriverData\XBarPin0","InputMux",0x00010001, 0x00,0x00,0x00,0x00
HKR,"DriverData\XBarPin0","RelatedPinIndex",0x00010001, 0x04,0x00,0x00,0x00

;Pin 1 - Component in
HKR,"DriverData\XBarPin1","PinType",0x00010001, 0x08,0x00,0x00,0x00
HKR,"DriverData\XBarPin1","InputMux",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData\XBarPin1","RelatedPinIndex",0x00010001, 0x06,0x00,0x00,0x00

;Pin 2 - Composite in
HKR,"DriverData\XBarPin2","PinType",0x00010001, 0x02,0x00,0x00,0x00
HKR,"DriverData\XBarPin2","InputMux",0x00010001, 0x03,0x00,0x00,0x00
HKR,"DriverData\XBarPin2","RelatedPinIndex",0x00010001, 0x05,0x00,0x00,0x00

;Pin 3 - S-Video in
HKR,"DriverData\XBarPin3","PinType",0x00010001, 0x00,0x00,0x00,0x00
HKR,"DriverData\XBarPin3","InputMux",0x00010001, 0x01,0x05,0x00,0x00
HKR,"DriverData\XBarPin3","RelatedPinIndex",0x00010001, 0x05,0x00,0x00,0x00

;Pin 4 - HDMI Audio
HKR,"DriverData\XBarPin4","PinType",0x00010001, 0x0b,0x00,0x00,0x00
HKR,"DriverData\XBarPin4","RelatedPinIndex",0x00010001, 0x00,0x00,0x00,0x00

;Pin 5 - Audio Line in
HKR,"DriverData\XBarPin5","PinType",0x00010001, 0x04,0x00,0x00,0x00
HKR,"DriverData\XBarPin5","RelatedPinIndex",0x00010001, 0x02,0x00,0x00,0x00

;Pin 6 - SPDIF Line in
HKR,"DriverData\XBarPin6","PinType",0x00010001, 0x0a,0x00,0x00,0x00
HKR,"DriverData\XBarPin6","RelatedPinIndex",0x00010001, 0x01,0x00,0x00,0x00


;HDMI input is the default
HKR,"DriverData","VideoInputPin",0x00010001, 0x00,0x00,0x00,0x00
HKR,"DriverData","AudioInputPin",0x00010001, 0x04,0x00,0x00,0x00

;Dont Force Audio with video pin
HKR,"DriverData","ForceAudioWithVideoPin",0x00010001, 0x00,0x00,0x00,0x00


;-------------------------------------------------------------------
; AddReg sections for TS filter
;-------------------------------------------------------------------

;#[TS.AddReg]
;#HKLM,%MediaCategories%\%TSPinID%,Display,1, 00,00,00,00
;#HKLM,%MediaCategories%\%TSPinID%,Name,,%TSPinName%

;
; Interfaces installation
;

[Siena.E500.Interfaces]
Needs=VID.Interfaces
[Siena.E500.NT.Interfaces]
Needs=VID.Interfaces

[Siena.E501.Interfaces]
Needs=VID.Interfaces
[Siena.E501.NT.Interfaces]
Needs=VID.Interfaces

[Siena.E502.Interfaces]
Needs=VID.Interfaces
[Siena.E502.NT.Interfaces]
Needs=VID.Interfaces

[Siena.E504.Interfaces]
Needs=VID.Interfaces
[Siena.E504.NT.Interfaces]
Needs=VID.Interfaces

;#[Siena.E50A.Interfaces]
;#Needs=VID.Interfaces
;#[Siena.E50A.NT.Interfaces]
;#Needs=VID.Interfaces

[VID.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},%KsNameFilter%,VID_Interface,
;AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},%TVAudioReferenceGuid%,TvAudio_Interface,
AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},%XBARReferenceGUID%,CXXBAR_Interface,
;AddInterface={a799a800-a46d-11d0-a18c-00a02401dcd4},%TunerReferenceGuid%,CXTUNE_Interface,
AddInterface=%GUID.Encoder%,%EncoderReferenceGuid%,Encoder_Interface,
AddInterface=%GUID.Multiplexer%,%EncoderReferenceGuid%,Encoder_Interface,
;AddInterface=%KSCATEGORY_AUDIO%,%AudioReferenceGuid%,AUD_Interface

;AddInterface={71985F48-1CA1-11d3-9CC8-00C04F7971E0},%BDATuneReferenceGuid%,BDATUNE_Interface,
;AddInterface={FD0A5AF4-B41D-11d2-9C95-00C04F7971E0},%TSReferenceGuid%,TS_Interface,

[VID_Interface]
AddReg=VID_Interface.AddReg
AddReg=Siena_DESCRIPTION.AddReg

[VID_Interface.AddReg]
HKR,,CLSID,,%Proxy.CLSID%       ; {17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%VIDFriendlyName%

[Siena_DESCRIPTION.AddReg]
HKR,,Description,,%Siena.DeviceDesc%

;#[AUD_Interface]
;#AddReg=AUD_Interface.AddReg

;#[AUD_Interface.AddReg]
;#HKR,,CLSID,,%Proxy.CLSID%       ; {17CCA71B-ECD7-11D0-B908-00A0C9223196}
;#HKR,,FriendlyName,,%AudioFriendlyName%


;#[TvAudio_Interface]
;#AddReg=TvAudio_Interface.AddReg

;#[TvAudio_Interface.AddReg]
;#HKR,,CLSID,,%CLSID_TVAudioFilter%
;#HKR,,FriendlyName,,%TVAudioFriendlyName%

[CXXBAR_Interface]
AddReg=CXXBAR_Interface.AddReg

[CXXBAR_Interface.AddReg]
HKR,,CLSID,,%CLSID_CrossbarFilter%
HKR,,FriendlyName,,%XBARFriendlyName%

;#[CXTUNE_Interface]
;#AddReg=CXTUNE_Interface.AddReg

;#[CXTUNE_Interface.AddReg]
;#HKR,,CLSID,,%CLSID_CTVTunerFilter%
;#HKR,,FriendlyName,,%TunerFriendlyName%
;#;Vista tunerInstanceID entry
;#;Use this to indicate a Hybrid Card
;#HKR,,TunerInstanceID,0x00010001,10

[Encoder_Interface]
AddReg=Encoder_Interface.AddReg

[Encoder_Interface.AddReg]
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%EncoderFriendlyName%
;Add an interface for Microsoft's video bit rate property set
HKR,Interfaces\{B43C4EEC-8C32-4791-9102-508ADA5EE8E7},,,
HKR,Interfaces\{b05dabd9-56e5-4fdc-afa4-8a47e91f1c9c},,,
HKR,Capabilities,,,
HKR,Capabilities,"{BB4FAA02-596C-4129-8FB3-74E75421FA02}", 0x00010001,1

;#[BDATUNE_Interface]
;#AddReg=BDATUNE_Interface.AddReg

;#[BDATUNE_Interface.AddReg]
;#HKR,,CLSID,,%Proxy.CLSID%       ; {17CCA71B-ECD7-11D0-B908-00A0C9223196}
;#HKR,,FriendlyName,,%BDATuneFriendlyName%
;#;Vista tunerInstanceID entry, see CXTUNE_Interface.AddReg
;#;Use this to indicate a Hybrid Card
;#HKR,,TunerInstanceID,0x00010001,10

;#[TS_Interface]
;#AddReg=TS_Interface.AddReg

;#[TS_Interface.AddReg]
;#HKR,,CLSID,,%Proxy.CLSID%       ; {17CCA71B-ECD7-11D0-B908-00A0C9223196}
;#HKR,,FriendlyName,,%TSFriendlyName%

;
; Services installation
;

[Siena.E500.Services]
AddService = hcwE5bda,2,VID.ServiceInstall
[Siena.E500.NT.Services]
AddService = hcwE5bda,2,VID.ServiceInstall

[Siena.E501.Services]
AddService = hcwE5bda,2,VID.ServiceInstall
[Siena.E501.NT.Services]
AddService = hcwE5bda,2,VID.ServiceInstall

[Siena.E502.Services]
AddService = hcwE5bda,2,VID.ServiceInstall
[Siena.E502.NT.Services]
AddService = hcwE5bda,2,VID.ServiceInstall

[Siena.E504.Services]
AddService = hcwE5bda,2,VID.ServiceInstall
[Siena.E504.NT.Services]
AddService = hcwE5bda,2,VID.ServiceInstall

;#[Siena.E50A.Services]
;#AddService = hcwE5bda,2,VID.ServiceInstall
;#[Siena.E50A.NT.Services]
;#AddService = hcwE5bda,2,VID.ServiceInstall

[VID.ServiceInstall]
DisplayName   = %Siena.DeviceDesc%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %10%\system32\drivers\hcwE5bda.sys

;
;--- usbcir_Device Coinstaller installation ------
;
; IR CoInstaller
;
[IR_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010008, "hcwE5cir.dll,IRCoInstaller"

[IR_CoInstaller_CopyFiles]
hcwE5cir.dll   ;USB Consumer IR Driver coinstaller for eHome (renamed)


;---------------------------------------------------------------
;                S t r i n g s
;---------------------------------------------------------------

[Strings]

;
; Device Names
;
Siena.DeviceDesc             = "Hauppauge Siena Video Capture"
Siena.E500.DeviceDesc        = "Hauppauge HD-PVR2 (Model 145200 Proto)"
Siena.E501.DeviceDesc        = "Hauppauge HD-PVR2 (Model 145001 Proto)"
Siena.E502.DeviceDesc        = "Hauppauge HD-PVR2 (Model 145210)"
Siena.E50A.DeviceDesc        = "Hauppauge StreamEez (Model 1454xx)"
Siena.E504.DeviceDesc        = "Hauppauge HD-PVR2 Gaming Plus (Model 157xxx)"

Siena.E514.DeviceDesc        = "Hauppauge HD-PVR2 (Model 157xxx)"
Siena.E524.DeviceDesc        = "Hauppauge HD-PVR2 Gamer (Model 157xxx)"
Siena.E52C.DeviceDesc        = "Hauppauge StreamEez (Model 1574xx)"

;
; Friendly Names
;
VIDFriendlyName              = "Hauppauge Siena Video Capture"
TVAudioFriendlyName          = "Hauppauge Siena TvAudio"
TunerFriendlyName            = "Hauppauge Siena Tuner"
AudioFriendlyName            = "Hauppauge Siena Audio Capture"
XBARFriendlyName             = "Hauppauge Siena Crossbar"
EncoderFriendlyName          = "Hauppauge Siena Encoder"

BDATuneFriendlyName          = "Hauppauge Siena BDA Tuner/Demod"
TSFriendlyName               = "Hauppauge Siena TS Capture"

;
; Reference GUIDS
;
KsNameFilter                 = "{9B365890-165F-11D0-A195-0020AFD156E4}"
TVAudioReferenceGuid         = "{181AB470-4BDA-4332-AC20-7190B8971FB2}"

XBARReferenceGUID            = "{FF3226C0-6B33-45d3-BCD3-46913D8321AE}"

TunerReferenceGuid           = "{88D2A940-16CB-4df9-949B-6E697C82CCB4}"

EncoderReferenceGuid         = "{D317E5E0-FFED-4158-BCEE-0C99F3491C56}"

AudioReferenceGuid           = "{6AACAE8A-4FFC-449a-9B79-78A1E22408BA}"

TSPinID                      = "{6D887F61-916E-49b5-B2D2-0E894A7083BC}"
TSPinName                    = "TS Out"

BDATuneReferenceGuid         = "{8B0D99D0-49CD-49fa-BA93-72A50C02E3A7}"
TSReferenceGuid              = "{5F11FC12-C9CF-4c7d-9455-BE4B1A52B29A}"

;
; Pin Name GUIDS
;
GUID.PINNAME_ANALOG_AUDIO_IN = "{3E2D189F-B15C-4447-96F1-BD1D64FB99BA}"
GUID.PINNAME_AUDIO_OUT       = "{9DA02733-7910-40f2-95DD-0441676C9A9B}"
GUID.PINNAME_MPEG_OUT        = "{0336609B-16B8-420b-9A6F-E65BB03447BA}"
;GUID.PINNAME_MPEG_INDEX_OUT  = "{E298342F-F60B-4c61-9C0D-4EDACDA8007F}"
GUID.PINNAME_656_OUT         = "{4EF89945-4D43-48d7-A442-A1B4E7813036}"
GUID.PINNAME_656_IN          = "{0E49C928-C95B-4e72-B1A5-A1B9EA79EB6B}"
GUID.PinName_Capture         = "{FB6C4281-0353-11d1-905F-0000C0CC16BA}"


;
; Pin Names
;
PinName.AnalogAudioOut       = "Audio Out"
PinName.MpegOut              = "MPEG" 
;PinName.MpegIndexOut        = "Mpeg Index" 
PinName.656Out               = "656" 
PinName.656In                = "656" 
Pin.AnalogAudioIn            = "Analog Audio In"

;
; PROPSETIDs in the driver
;
GUID.SIENA_CONTROL_PROPERTIES  = "{00DE36AB-E323-4d2f-B324-28625C9F57C2}"

;
; Property page GUIDS
;
GUID.General_Properties      = "{D97487DB-96C1-4787-BDE8-1DE5A77C0465}"
GUID.Video_Properties        = "{38F9BD29-6C9B-4a5a-A1B6-B1697AE0A560}"
GUID.Audio_Properties        = "{72107F72-B50E-4293-9FD0-C16685867612}"
GUID.Noise_Properties        = "{F625C2F0-386C-455d-AB4A-A0B0E2477859}"
GUID.Pin_Resolution_Prop     = "{CED15D20-B62B-4802-A99E-13545C28217C}"


;
; Other Strings
;

KSCATEGORY_AUDIO             = "{6994AD04-93EF-11D0-A3CC-00A0C9223196}"
CLSID_TVAudioFilter          = "{71F96462-78F3-11d0-A18C-00A0C9118956}"
CLSID_CrossbarFilter         = "{71F96460-78F3-11d0-A18C-00A0C9118956}"
CLSID_CTVTunerFilter         = "{266EEE40-6C63-11cf-8A03-00AA006ECB65}"

GUID.Encoder                 = "{19689BF6-C384-48fd-AD51-90E58C79F70B}"
GUID.Multiplexer             = "{7A5DE1D3-01A1-452c-B481-4FA2B96271E8}"

Category_Encoders            = "WDM Streaming Encoder Devices"
Category_Multiplexers        = "WDM Streaming Multiplexer Devices"
Node.Encoder                 = "Encoder"
Node.Multiplexer             = "Multiplexer"

Proxy.CLSID                  = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"

ActiveMovieCategories        = "CLSID\{da4e3da0-d07d-11d0-bd50-00a0c911ce86}\Instance"
MediaCategories              = "SYSTEM\CurrentControlSet\Control\MediaCategories"
MediaSets                    = "System\CurrentControlSet\Control\MediaSets"
MediaInterfaces              = "System\CurrentControlSet\Control\MediaInterfaces"
Services                     = "System\CurrentControlSet\Services"

HCW.InstallDisk              = "Hauppauge HD-PVR2 Driver Disk"
HCW.InstallDisk64            = "Hauppauge HD-PVR2 Driver Disk (64Bit Components)"
HCW.InstallDiskWOW           = "Hauppauge HD-PVR2 Driver Disk (WOW64 Components)"


