;==============================================================================
; TerraTec Cinergy Tē
; Driver Install Script
; Copyright (c) 2005-06, TerraTec Electronic GmbH
;------------------------------------------------------------------------------        
;; History:
;------------------------------------------------------------------------------
; 17-Mar-05 FMB     1st version
; 08-Apr-05 FMB     stop streaming in Powersave mode
; 23-May-05 C.L.    renamed to TTCinergyT2BDA
; 22-Sep-05 C.L./MB added device ID for Rev. 2
;                   improved BDA signal strength scaling
;------------------------------------------------------------------------------

[Version]
Signature   = "$CHICAGO$"
Class       = Media
ClassGUID   = {4d36e96c-e325-11ce-bfc1-08002be10318} 
Provider    = %Provider% 
DriverVer   = 07/11/2007,2.3.0.026
CatalogFile = TTCinergyT2BDA.cat

[SourceDisksNames]
1 = %DiskName%,,

[SourceDisksFiles]
TTCinergyT2BDA.sys   = 1
TTCinergyT2BDA64.sys = 1

[DestinationDirs]
Cinergy.CopySys        = 12
Cinergy.CopySys.NTamd64= 12

[ControlFlags]
ExcludeFromSelect = *


[Manufacturer]
%Provider% = TerraTec, NTX86, NTamd64

[TerraTec]
%Cinergy.DeviceDesc% = Cinergy,USB\VID_0ccd&PID_0038
%Cinergy.DeviceDesc% = Cinergy,USB\VID_0ccd&PID_005C

[TerraTec.NTX86]
%Cinergy.DeviceDesc% = Cinergy,USB\VID_0ccd&PID_0038
%Cinergy.DeviceDesc% = Cinergy,USB\VID_0ccd&PID_005C

[TerraTec.NTamd64]
%Cinergy.DeviceDesc% = Cinergy,USB\VID_0ccd&PID_0038
%Cinergy.DeviceDesc% = Cinergy,USB\VID_0ccd&PID_005C

[Cinergy]
Include       = ks.inf, kscaptur.inf, ksfilter.inf, bda.inf, wdmaudio.inf
Needs         = KS.Registration, KSCAPTUR.Registration, BDA.Registration, BDA.Installation, WDMAUDIO.Registration
AddReg        = Cinergy.AddReg
CopyFiles     = Cinergy.CopySys

[Cinergy.NTX86]
Include       = ks.inf, kscaptur.inf, ksfilter.inf, bda.inf, wdmaudio.inf
Needs         = KS.Registration, KSCAPTUR.Registration.NT, BDA.Registration.NT, BDA.Installation.NT, WDMAUDIO.Registration.NT
AddReg        = Cinergy.AddReg
CopyFiles     = Cinergy.CopySys

[Cinergy.NTamd64]
Include       = ks.inf, kscaptur.inf, ksfilter.inf, bda.inf, wdmaudio.inf
Needs         = KS.Registration, KSCAPTUR.Registration.NT, BDA.Registration.NT, BDA.Installation.NT, WDMAUDIO.Registration.NT
AddReg        = Cinergy.AddReg
CopyFiles     = Cinergy.CopySys.NTamd64


[Cinergy.CopySys]
TTCinergyT2BDA.sys

[Cinergy.CopySys.NTamd64]
TTCinergyT2BDA.sys, TTCinergyT2BDA64.sys,

;===============================================================
;                R e g i s t r y
;===============================================================

[Cinergy.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,Driver,,TTCinergyT2BDA.sys

HKR,,OkToHibernate                 ,3,1
HKR,,PageOutWhenUnopened           ,3,0




;===============================================================
;                I n t e r f a c e s
;===============================================================

[Cinergy.Interfaces]
AddInterface=%KSCATEGORY_BDA_RECEIVER%,%REFGUID_BDA_RECEIVER% ,BdaReceiver_Interface
AddInterface=%KSCATEGORY_BDA_TUNER%   ,%REFGUID_BDA_RECEIVER% ,BdaTuner_Interface

[Cinergy.NTX86.Interfaces]
AddInterface=%KSCATEGORY_BDA_RECEIVER%,%REFGUID_BDA_RECEIVER% ,BdaReceiver_Interface
AddInterface=%KSCATEGORY_BDA_TUNER%   ,%REFGUID_BDA_RECEIVER% ,BdaTuner_Interface

[Cinergy.NTamd64.Interfaces]
AddInterface=%KSCATEGORY_BDA_RECEIVER%,%REFGUID_BDA_RECEIVER% ,BdaReceiver_Interface
AddInterface=%KSCATEGORY_BDA_TUNER%   ,%REFGUID_BDA_RECEIVER% ,BdaTuner_Interface

;---------------------------------------------------------------
; BDA interfaces
;---------------------------------------------------------------
[BdaReceiver_Interface]
AddReg=BdaReceiver_Interface.AddReg

[BdaReceiver_Interface.AddReg]
HKR,,CLSID,,%PROXY_CAPTURE%
HKR,,FriendlyName,,%DShow.DigitalCapture%

[BdaTuner_Interface]
AddReg=BdaTuner_Interface.AddReg

[BdaTuner_Interface.AddReg]
HKR,,CLSID,,%PROXY_CAPTURE%
HKR,,FriendlyName,,%DShow.DigitalTuner%

;===============================================================
;                S e r v i c e s
;===============================================================
; This section is irrelevant for Windows 9x/Me installations.

[Cinergy.NTX86.Services]
AddService = TTCinergyT2, 0x00000002, Cinergy.ServiceInstall

[Cinergy.NTamd64.Services]
AddService = TTCinergyT2, 0x00000002, Cinergy.ServiceInstall

[Cinergy.ServiceInstall]
DisplayName   = %Service.FriendlyName%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\TTCinergyT2BDA.sys

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

[Strings]
;---------------------------------------------------------------
; Non-localizable (Windows)
;---------------------------------------------------------------
; Registry types
REG_SZ                           = 0x00000000
REG_MULTI_SZ                     = 0x00010000
REG_EXPAND_SZ                    = 0x00020000
REG_DWORD                        = 0x00010001

; Service: 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

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

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

; DirectShow filter categories                                                DirectShow category name
KSCATEGORY_AUDIO                 = "{6994AD04-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_RENDER                = "{65E8773E-8F56-11D0-A3B9-00A0C9223196}" ; Audio Renderers
KSCATEGORY_TOPOLOGY              = "{DDA54A40-1E4C-11D1-A050-405705C10000}" ; Audio Mixer Devices

KSCATEGORY_VIDEO                 = "{6994AD05-93EF-11D0-A3CC-00A0C9223196}" ;

KSCATEGORY_CAPTURE               = "{65E8773D-8F56-11D0-A3B9-00A0C9223196}" ; WDM Streaming capture Devices (audio & video)
KSCATEGORY_TVTUNER               = "{A799A800-A46D-11D0-A18C-00A02401DCD4}" ; WDM Streaming TV Tuner Devices 
KSCATEGORY_CROSSBAR              = "{A799A801-A46D-11D0-A18C-00A02401DCD4}" ; WDM Streaming Crossbar Devices
KSCATEGORY_TVAUDIO               = "{A799A802-A46D-11D0-A18C-00A02401DCD4}" ; WDM Streaming TV Audio Devices

KSCATEGORY_ENCODER               = "{19689BF6-C384-48fd-AD51-90E58C79F70B}" ; WDM Streaming Encoder Devices
KSCATEGORY_MULTIPLEXER           = "{7A5DE1D3-01A1-452c-B481-4FA2B96271E8}" ; WDM Streaming Multiolexer Devices

KSCATEGORY_BDA_RECEIVER          = "{FD0A5AF4-B41D-11D2-9C95-00C04F7971E0}" ; BDA Receiver Component
KSCATEGORY_BDA_TUNER             = "{71985F48-1CA1-11D3-9CC8-00C04F7971E0}" ; BDA Source Filters


; Proxy CLSIDs (KsProxy.ax)
PROXY_CAPTURE                    = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
PROXY_TVTUNER                    = "{266EEE40-6C63-11cf-8A03-00AA006ECB65}"
PROXY_CROSSBAR                   = "{71F96460-78F3-11D0-A18C-00A0C9118956}"
PROXY_TVAUDIO                    = "{71F96462-78F3-11D0-A18C-00A0C9118956}"


iIndex
;---------------------------------------------------------------
; Non-localizable (this driver)
;---------------------------------------------------------------
; Reference guids
REFGUID_BDA_RECEIVER             = "{f81627da-9ace-4a83-b2d1-b78ef462bab1}"

;----------------------------------------------------------------------------------------------
; Localizable
;----------------------------------------------------------------------------------------------

Provider                 = "TerraTec "
DiskName                 = "Cinergy Driver CD"

; Service strings
; FMB NOTE 08-DEc-06: Better don't change the service name to prevent double entries
; in "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services"
;Service.FriendlyName    = "Cinergy T2 service"
Service.FriendlyName     = "TerraTec Cinergy Tē (BDA)"

; Device Manager
Cinergy.DeviceDesc       = "Cinergy Tē (BDA)"

; DirectShow filter names
; FMB NOTE: We only have one filter that offers Tuner and Receiver functionality
; However, this filter appears in both BDA categories
DShow.DigitalCapture     = "Cinergy T2 Tuner/Demodulator"       ; KSCATEGORY_BDA_RECEIVER(BDA Receiver Component)
DShow.DigitalTuner       = "Cinergy T2 Tuner/Demodulator"       ; KSCATEGORY_BDA_TUNER   (BDA Source Filters)


