;==============================================================================
; TerraTec Cinergy 200 TV WDM
; Driver Install Script
; Copyright (c) 2003-04, TerraTec Electronic GmbH
;------------------------------------------------------------------------------
; Notes:
;  a) Driver filenames must be <= 8 characters (8.3 format) !
;  b) Win9x: On Windows 98/Me, section names should be no longer than 28 characters.
;  c) Win9x: [SourceDisksNames] must always come before [SourceDisksFiles]  !!!   
;  d) Win9x: Filenames must be in 8.3 format  !              
;  e) Win9x: Registry pathes must use single slashes
;  f) [xxx.KnownFiles] sections are used by Win9x only
;  g) [xxx.Services] sections are used by WinNT only
;  h) If we have OS specific DDInstall sections we must have 
;     OS specific [xxx.Interfaces] and [.HW] also!
;
; Supported tuners
;------------------------------------------------------------------------------
; "FI1216MK2": CCIR B/G system                  (Western Europe)
; "FI1216MF" : CCIR B/G, L/L1 system            (W. Europe, SE Asia, OZ, NZ)
; "FM1216MK2": CCIR B/G system + FM radio       (Western Europe)
; "FI1236"   : RTMA M+N system                  (USA)
; "FM1236"   : RTMA M+N system + FM radio       (USA)
; "FI1246"   : CCIR I system                    (UK, Ireland, SA, H.K.)
; "FM1246"   : CCIR I system + FM radio         (UK, Ireland, SA, H.K.)
; "FI1256"   : OIRT system                      (China, Russia, E. Europe)
; "FM1256"   : OIRT system + FM radio           (China, Russia, E. Europe)
;
; "FI1286"   : NTSC Japan
;
; "FQ1236MK3": RTMA M+N system                  (USA)
; "FM1236MK3": PAL/SECAM system + FM radio      (USA)
;
; "FM1216ME" : SECAM + PAL B/G, L/L1, D/K, I system + FM radio (Europe, Asia)
; "FQ1216ME" : SECAM + PAL B/G, D/K, I
; "FQ1286MK3": NTSC M Japan 
; "TPI8PSB11D": LG Innotek CCIR B/G system      (Western Europe)
;
;
; History:
;------------------------------------------------------------------------------
; 24-Apr-03 First driver version 1.6 
; 06-Jun-03 Changes for driver version 2.3 
; 10-Jul-03 Changes for driver version 2.3.0.5 
; 17-Jul-03 Changes for driver version 2.3.0.7 
; 08-Aug-03 Changes for driver version 2.3.0.8 (Bugfix WHQL IAMDroppedFrames)
; 19-Nov-04 Made file layout similar to other Cinergy INF files
;==============================================================================

[Version]
LayoutFile=layout.inf, layout1.inf, layout2.inf
Signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%TerraTec%
; _OEM_  Enter name of .cat file from WHQL, containing the digital signature.
; _OEM_  The catalog file has to be in the same location as the INF file.
CatalogFile=TT115201.cat
DriverVer=11/19/2004, 2.3.0.8

[SourceDisksNames]
;1=%DiskName%,,
1=%DiskName%,"Cinergy200TV.CAB",


[SourceDisksFiles]
;Philips files
cap7134.sys=1
34api.dll=1
34pciurd.dll=1
34i2curd.dll=1
34dd.dll=1
34ds.dll=1
34dialog.dll=1
34dlg2.dll=1
34TvCtrl.dll=1
34com.dll=1
Prop7134.dll=1
;cap7134.hlp=1 ; FMB not used

;TerraTec files
PhTvTune.sys=1
UninstTv.exe=1

[ControlFlags]
ExcludeFromSelect=STREAM\TTTv200
ExcludeFromSelect=PCI\VEN_1131&DEV_7130


[DestinationDirs]
Cap7134.CopyDrivers = 10,system32\drivers
Cap7134.CopyDlls = 11
Uninst.CopyFiles = 10

[Manufacturer]
%TerraTec%=TerraTec

[TerraTec]                   
; TerraTec Cinergy 200 TV
%CinergyCap.Desc%=TTCap.Device,PCI\VEN_1131&DEV_7130&SUBSYS_1152153B

; Tuner device
%CinergyTune.Desc%=TTTv200.Device,STREAM\TTTv200

;------------------------------------------------------------------------------
; Cinergy 200 TV 
;------------------------------------------------------------------------------
[TTCap.Device]
Include=      ks.inf, kscaptur.inf, ksfilter.inf
Needs=        KS.Registration, KSCAPTUR.Registration
AddReg=       Cap713x.AddReg,TTEnum.AddReg,Uninst.AddReg,ComRegister.AddReg
CopyFiles=    Cap7134.CopyDrivers,Cap7134.CopyDlls,Uninst.CopyFiles
; FMB NOTE: KnownFiles only supported by Win9x
KnownFiles=   Cap7134.KnownFiles

[TTCap.Device.NT]
Include=      ks.inf, kscaptur.inf, ksfilter.inf
Needs=        KS.Registration, KSCAPTUR.Registration.NT
AddReg=       Cap713x.AddReg,TTEnum.AddReg,Uninst.AddReg
; RegisterDlls: This directive is supported on Windows 2000 and later
; but it doesn't work under Win2K. However, calling RegSvr32.exe via RunOnce is not allowed for WHQL
RegisterDlls= ComRegister.Register
CopyFiles=    Cap7134.CopyDrivers,Cap7134.CopyDlls,Uninst.CopyFiles

;==============================================================================
; Driver Uninstallation
;==============================================================================
[Uninst.CopyFiles]
UninstTv.exe,,,

[Uninst.AddReg]
; FMB NOTE: double slashes work under NT/2K but not under 98/ME !!!
HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\Cinergy Drivers","DisplayName",,"TerraTec Cinergy Drivers"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\Cinergy Drivers","DisplayIcon",,"UninstTv.exe"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\Cinergy Drivers","UninstallString",,"UninstTv.exe"

;==============================================================================
; Main Registry settings
;==============================================================================

[Cap713x.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,Cap7134.sys
HKR,,PageOutWhenUnopened,3,00
HKR,,DontSuspendIfStreamsAreRunning,3,00
HKR,,Driver,,Cap7134.sys
;------------------------------------------------------------------------------
; Video routing
;------------------------------------------------------------------------------
; the values map to the video input modes
; as described in the SAA7134 User Manual p.24
HKR, "Decoder", "Tuner Channel", 0x00010001,1
HKR, "Decoder", "CVBS Channel" , 0x00010001,4
HKR, "Decoder", "SVHS Channel" , 0x00010001,6
;HKR, "Decoder", "CVBS Channel2",0x00010001,2 ; FMB NOTE: not used on our hardware
;HKR, "Decoder", "SVHS Channel2",0x00010001,7 ; FMB NOTE: not used on our hardware

; _OEM_  Insert the appropriate preferred video standard here.
; _OEM_  If no video standard can be detected (e.g. if no
; _OEM_  video source is connected), this standard is assumed:
; _OEM_     KS_AnalogVideo_PAL_B    = 0x00000010
; _OEM_     KS_AnalogVideo_NTSC_M   = 0x00000001
; _OEM_     KS_AnalogVideo_NTSC_M_J = 0x00000002
; _OEM_     see Windows DDK for other video standards
HKR, "Decoder", "Preferred Video Standard",0x00010001,0x00000010    ; KS_AnalogVideo_PAL_B
; _OEM_  Insert the default VBI sampling frequency and line length here.
HKR, "Decoder", "VBI Sampling Frequency",0x00010001,27000000
HKR, "Decoder", "VBI Pitch",0x00010001,1440

;------------------------------------------------------------------------------
; Audio routing
;------------------------------------------------------------------------------
; maps user setting to hardware input (1=SIF, 2=Analog1, 3=Analog2)  
HKR, "BoardSetting", "Tuner"     , 0x00010001,3
HKR, "BoardSetting", "Composite1", 0x00010001,2
HKR, "BoardSetting", "SVideo1"   , 0x00010001,2
HKR, "BoardSetting", "Composite2", 0x00010001,3 ; FMB NOTE: not used on our hardware
HKR, "BoardSetting", "SVideo2"   , 0x00010001,3 ; FMB NOTE: not used on our hardware
HKR, "BoardSetting", "FM"        , 0x00010001,3 ; FMB NOTE: not used on our hardware


;------------------------------------------------------------------------------
; Workarounds
;------------------------------------------------------------------------------
; Workaround for CC bug - if this flag is set, we always insist on a VBI buffer that is
; large enough for all standards. If we allow a smaller buffer size, CCDECODE will crash,
; when the video standard changes from NTSC to PAL.
; On the other hand, if we insist on a buffer size that is larger than the size needed by
; VBIScope or Vtx, these apps (and maybe others!) will not work properly or crash, resp.,
; so this workaround is switched off by default.
HKR, "", "WorkaroundforStandardChange",0x00010001,0

; FMB NOTE: AllowCrossbarMute 1 -> Crossbar can be muted by selecting audio input (-1)
; Can be a problem when multiple cards run with this driver!
HKR, "", "AllowCrossbarMute"          ,0x00010001,0

;------------------------------------------------------------------------------
; Crossbar pins
;------------------------------------------------------------------------------
; _OEM_ Here you can select, which pins are exposed by the crossbar filter
HKR, "Parameters", "VideoTunerEnabled", 0x00010001,1  ; enable video tuner in (TV)
HKR, "Parameters", "SVideoEnabled"    , 0x00010001,1  ; enable SVHS in
HKR, "Parameters", "CompositeEnabled" , 0x00010001,1  ; enable Composite in
; irrelevant for SAA7130
HKR, "Parameters", "AudioTunerEnabled", 0x00010001,1  ; enable audio tuner in (FM)
HKR, "Parameters", "AudioEnabled"     , 0x00010001,1  ; enable audio out

;------------------------------------------------------------------------------
; Settings for video inputs
;------------------------------------------------------------------------------

;>>> decoder defaults for tuner input
HKR, "Decoder\SRC0", "Brightness" ,0x00010001,0x80
HKR, "Decoder\SRC0", "Contrast"   ,0x00010001,0x44
HKR, "Decoder\SRC0", "Saturation" ,0x00010001,0x40
HKR, "Decoder\SRC0", "HUE"        ,0x00010001,0x00
HKR, "Decoder\SRC0", "Sharpness"  ,0x00010001,0x00
HKR, "Decoder\SRC0", "Source Type",0x00010001,0x02
HKR, "Decoder\SRC0", "Y-Filter"   ,0x00010001,0x01
HKR, "Decoder\SRC0", "C-Filter"   ,0x00010001,0x01
HKR, "Decoder\SRC0", "C-Bypass"   ,0x00010001,0x00

;>>>  decoder defaults for composite 1 source
HKR, "Decoder\SRC1", "Brightness" ,0x00010001,0x80
HKR, "Decoder\SRC1", "Contrast"   ,0x00010001,0x44
HKR, "Decoder\SRC1", "Saturation" ,0x00010001,0x40
HKR, "Decoder\SRC1", "HUE"        ,0x00010001,0x00
HKR, "Decoder\SRC1", "Sharpness"  ,0x00010001,0x00
HKR, "Decoder\SRC1", "Source Type",0x00010001,0x02
HKR, "Decoder\SRC1", "Y-Filter"   ,0x00010001,0x01
HKR, "Decoder\SRC1", "C-Filter"   ,0x00010001,0x01
HKR, "Decoder\SRC1", "C-Bypass"   ,0x00010001,0x00

;>>>  decoder defaults for composite 2 source
HKR, "Decoder\SRC2", "Brightness" ,0x00010001,0x80
HKR, "Decoder\SRC2", "Contrast"   ,0x00010001,0x44
HKR, "Decoder\SRC2", "Saturation" ,0x00010001,0x40
HKR, "Decoder\SRC2", "HUE"        ,0x00010001,0x00
HKR, "Decoder\SRC2", "Sharpness"  ,0x00010001,0x00
HKR, "Decoder\SRC2", "Source Type",0x00010001,0x02
HKR, "Decoder\SRC2", "Y-Filter"   ,0x00010001,0x01
HKR, "Decoder\SRC2", "C-Filter"   ,0x00010001,0x01
HKR, "Decoder\SRC2", "C-Bypass"   ,0x00010001,0x00

;>>>  decoder defaults for SVHS 1 source
HKR, "Decoder\SRC3", "Brightness" ,0x00010001,0x80
HKR, "Decoder\SRC3", "Contrast"   ,0x00010001,0x44
HKR, "Decoder\SRC3", "Saturation" ,0x00010001,0x40
HKR, "Decoder\SRC3", "HUE"        ,0x00010001,0x00
HKR, "Decoder\SRC3", "Sharpness"  ,0x00010001,0x00
HKR, "Decoder\SRC3", "Source Type",0x00010001,0x02
HKR, "Decoder\SRC3", "Y-Filter"   ,0x00010001,0x00
HKR, "Decoder\SRC3", "C-Filter"   ,0x00010001,0x00
HKR, "Decoder\SRC3", "C-Bypass"   ,0x00010001,0x01

;>>>  decoder defaults for SVHS 2 source
HKR, "Decoder\SRC4", "Brightness" ,0x00010001,0x80
HKR, "Decoder\SRC4", "Contrast"   ,0x00010001,0x44
HKR, "Decoder\SRC4", "Saturation" ,0x00010001,0x40
HKR, "Decoder\SRC4", "HUE"        ,0x00010001,0x00
HKR, "Decoder\SRC4", "Sharpness"  ,0x00010001,0x00
HKR, "Decoder\SRC4", "Source Type",0x00010001,0x02
HKR, "Decoder\SRC4", "Y-Filter"   ,0x00010001,0x00
HKR, "Decoder\SRC4", "C-Filter"   ,0x00010001,0x00
HKR, "Decoder\SRC4", "C-Bypass"   ,0x00010001,0x01


;------------------------------------------------------------------------------
; Settings for audio inputs
;------------------------------------------------------------------------------

;>>> audio settings for tuner input

; 'CountryCode' reflects the used Country
; and is used as a table entry to 'DefaultStandard' and 'StandardTable'
; in order to perform a country dependant audio standard search
HKR, "", "CountryCode",,"49"    ; Germany

; 'DetectMode' reflects the used audio detection mode (1=automatic mode,0=manual mode)
HKR, "Audio", "DetectMode",0x00010001,0x01

; 'DefaultStandard'
; in automatic mode: 'DefaultStandard' is used as a fallback if nothing is detected
; in manual mode:    'DefaultStandard' is used as standard to be set
;   2  = B/G   Mono           
;   3  = D/K   Mono           
;   4  = M     Mono           
;   5  = B/G   A2
;   6  = B/G   Nicam
;   7  = D/K   A2 Type 1
;   8  = D/K   A2 Type 2
;   9  = D/K   A2 Type 3
;   10 = D/K   Nicam
;   11 = L/L'  Nicam
;   12 = L/L'  AM
;   13 = I     Nicam
;   14 = I     Mono
;   15 = M     Korea
;   16 = M     BTSC
HKR, "Audio\DefaultStandard", "01",0x00010001,16   ; USA:            M    BTSC
HKR, "Audio\DefaultStandard", "31",0x00010001,5    ; Netherlands:    B/G  A2
HKR, "Audio\DefaultStandard", "32",0x00010001,6    ; Belgium:        B/G  Nicam
HKR, "Audio\DefaultStandard", "33",0x00010001,11   ; France:         L/L' Nicam
HKR, "Audio\DefaultStandard", "34",0x00010001,5    ; Spain:          B/G  A2
HKR, "Audio\DefaultStandard", "39",0x00010001,5    ; Italy:          B/G  A2
HKR, "Audio\DefaultStandard", "41",0x00010001,5    ; Switzerland:    B/G  A2
HKR, "Audio\DefaultStandard", "44",0x00010001,13   ; Great Britain:  I    Nicam
HKR, "Audio\DefaultStandard", "45",0x00010001,6    ; Denmark         B/G  Nicam
HKR, "Audio\DefaultStandard", "46",0x00010001,6    ; Sweden:         B/G  Nicam
HKR, "Audio\DefaultStandard", "47",0x00010001,6    ; Norway:         B/G  Nicam
HKR, "Audio\DefaultStandard", "49",0x00010001,5    ; Germany:        B/G  A2
HKR, "Audio\DefaultStandard", "81",0x00010001,16   ; Japan:          M    BTSC
HKR, "Audio\DefaultStandard", "86",0x00010001,7    ; China:          D/K  A2 Type 1
HKR, "Audio\DefaultStandard","351",0x00010001,5    ; Portugal/Azores:B/G  A2
HKR, "Audio\DefaultStandard","358",0x00010001,6    ; Finland:        B/G  Nicam
HKR, "Audio\DefaultStandard","420",0x00010001,10   ; Czech Republic: D/K  Nicam

; 'StandardTable'
; in automatic mode: StandardTable is used to set the standard groups to be searched
; bit array:
;   bit1 = B/G
;   bit2 = D/K
;   bit3 = L/L'
;   bit4 = I
;   bit5 = M
HKR, "Audio\StandardTable", "01",0x00010001,0x10   ; USA:            M
HKR, "Audio\StandardTable", "31",0x00010001,0x01   ; Netherlands:    B/G
HKR, "Audio\StandardTable", "32",0x00010001,0x01   ; Belgium:        B/G
HKR, "Audio\StandardTable", "33",0x00010001,0x04   ; France:         L/L'
HKR, "Audio\StandardTable", "34",0x00010001,0x01   ; Spain:          B/G
HKR, "Audio\StandardTable", "39",0x00010001,0x01   ; Italy:          B/G
HKR, "Audio\StandardTable", "41",0x00010001,0x01   ; Switzerland:    B/G
HKR, "Audio\StandardTable", "44",0x00010001,0x08   ; Great Britain:  I
HKR, "Audio\StandardTable", "45",0x00010001,0x01   ; Denmark         B/G
HKR, "Audio\StandardTable", "46",0x00010001,0x01   ; Sweden:         B/G
HKR, "Audio\StandardTable", "47",0x00010001,0x01   ; Norway:         B/G
HKR, "Audio\StandardTable", "49",0x00010001,0x01   ; Germany:        B/G
HKR, "Audio\StandardTable", "81",0x00010001,0x10   ; Japan:          M
HKR, "Audio\StandardTable", "86",0x00010001,0x02   ; China:          D/K
HKR, "Audio\StandardTable","351",0x00010001,0x01   ; Portugal/Azores:B/G
HKR, "Audio\StandardTable","358",0x00010001,0x01   ; Finland:        B/G
HKR, "Audio\StandardTable","420",0x00010001,0x02   ; Czech Republic: D/K

;==============================================================================
; Other settings
;==============================================================================

[TTEnum.AddReg]
HKR, "ENUM\Device1",pnpid,,"TTTv200"
; 'XTAL' reflects the used hardware crystal (0=32.11MHz,1=24.567MHz)
;  XTAL = 0 (Proteus), 1 (Fw)
HKR, "Audio", "XTAL",0x00010001,0x01

[ComRegister.AddReg]
; FMB NOTE: RunOnce entries must consist only of calls to rundll32.exe. 
; Otherwise, Microsoft will not digitally sign the driver package. (WHQL)
;HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"AudioProperties",,"%11%\Regsvr32 /s %11%\Prop7134.dll"
;HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"COMInterface",,"%11%\Regsvr32 /s %11%\34com.dll"

[ComRegister.Register]
;1 = FLG_REGSVR_DLLREGISTER
11,,Prop7134.dll,1
11,,34COM.dll,1 


;==============================================================================
; FILE COPY
;==============================================================================
[Cap7134.CopyDrivers]
Cap7134.sys
PhTvTune.sys 

[Cap7134.CopyDlls]
34api.dll
34pciurd.dll
34i2curd.dll
34dd.dll
34ds.dll
34dialog.dll
34dlg2.dll
34TvCtrl.dll
34com.dll	  ; COM API interface
Prop7134.dll      ; audio property dialog
;cap7134.hlp      ; FMB NOTE: not used

[Cap7134.KnownFiles]
; FMB NOTE: KnownFiles section for Win9x only
Cap7134.sys=safe
PhTvTune.sys=safe


;==============================================================================
; CAPTURE INTERFACES 
;==============================================================================

[TTCap.Device.Interfaces]
AddInterface=%KSCATEGORY_VIDEO%   ,"GLOBAL",VideoCapture
AddInterface=%KSCATEGORY_CAPTURE% ,"GLOBAL",VideoCapture
AddInterface=%KSCATEGORY_CROSSBAR%,"GLOBAL",Crossbar

[TTCap.Device.NT.Interfaces]
AddInterface=%KSCATEGORY_VIDEO%   ,"GLOBAL",VideoCapture
AddInterface=%KSCATEGORY_CAPTURE% ,"GLOBAL",VideoCapture
AddInterface=%KSCATEGORY_CROSSBAR%,"GLOBAL",Crossbar

;------------------------------------------------------------------------------
; Capture
;------------------------------------------------------------------------------

[VideoCapture]
AddReg=VideoCapture.AddReg

[VideoCapture.AddReg]
HKR,,CLSID,,%PROXY_CAPTURE%
HKR,,FriendlyName,,%Cinergy.Capture%    

; Private Pin Names:
; MEDIATYPE_Audio:
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\{73647561-0000-0010-8000-00AA00389B71},"Name",0x00000000,"Audio"
; GUID_VSB_OUT:
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\{F3954424-34F6-11D1-821D-0000F8300212},"Name",0x00000000,"Transport In"
; MEDIUM_AUDIO_PHILDEC_ANALOGAUDIOIN:
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\{0482DEE1-7817-11cf-8a03-00aa006ecb65},"Name",0x00000000,"Analog Audio In"

;------------------------------------------------------------------------------
; Crossbar
;------------------------------------------------------------------------------
[Crossbar]
AddReg=Crossbar.AddReg

[Crossbar.AddReg]
HKR,,CLSID,,%PROXY_CROSSBAR%
HKR,,FriendlyName,,%Cinergy.Crossbar%



;==============================================================================
; CAPTURE SERVICES 
;==============================================================================

[TTCap.Device.NT.Services]
AddService = Cap7134,0x00000002,TTCap.ServiceInstall

[TTCap.ServiceInstall]
DisplayName   = %CinergyCap.Desc%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\Cap7134.sys


;===============================================================
; TUNER
;---------------------------------------------------------------
; FMB NOTE: Copying of driver files and WDM components is already
; done for the capture device. We don't have to repeat it here.
; (-> 'Include','Needs','CopyFiles' directives are omitted)
;===============================================================

[TTTv200.Device]
AddReg     = TTTv200.AddReg

[TTTv200.Device.NT]
AddReg     = TTTv200.AddReg
[TTTv200.Device.NT.Services]
AddService = TTTv200,0x00000002,TTTv200.ServiceInstall

[TTTv200.Device.Interfaces]
AddInterface=%KSCATEGORY_TVTUNER%,"GLOBAL",TvTuner,

[TTTv200.Device.NT.Interfaces]
AddInterface=%KSCATEGORY_TVTUNER%,"GLOBAL",TvTuner,

;---------------------------------------------------------------

[TTTv200.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,PhTvTune.sys
HKR,,PageOutWhenUnopened,3,00

; Tuner related values
; _OEM_  I2C address: "0xc0" : AS (I2C address pin of the tuner to ground), e.g. Proteus board
;                     "0xc2" : AS between 0.2 and 0.3 V  Default value if AS is unconnected
HKR,,"Address",,0xc0         ; I2C address

; _OEM_  Select the correct tuner type.
; Cinergy 200  : TPI8PSB11D (G Innotek CCIR B/G system) and	FI1216MK2 are compatible
HKR,,"TunerType",,FI1216MK2; "FI1216MK2": CCIR B/G system                  (Western Europe)

; _OEM_  For multistandard tuners add the default video standard here (e.g. 0x00000010 for PAL B)
HKR,,"DefaultStandard",,0x00000010  ; KS_AnalogVideo_PAL_B


[TTTv200.ServiceInstall]
DisplayName   = %CinergyTune.Desc%
ServiceType   = %SERVICE_KERNEL_DRIVER%           
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\PhTvTune.sys


;---------------------------------------------------------------

[TvTuner]
AddReg=TvTuner.AddReg

[TvTuner.AddReg]
HKR,,CLSID,,%PROXY_TVTUNER%
HKR,,FriendlyName,,%Cinergy.Tuner%


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

[Strings]

;--------------------------------------------------------
; Non-Localizable
;--------------------------------------------------------

SERVICE_KERNEL_DRIVER=1
SERVICE_ERROR_NORMAL=1
SERVICE_AUTO_START=2
SERVICE_DEMAND_START=3

PROXY_CAPTURE      = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
PROXY_CROSSBAR     = "{71F96460-78F3-11D0-A18C-00A0C9118956}"
PROXY_TVAUDIO      = "{71F96462-78F3-11D0-A18C-00A0C9118956}"
PROXY_TVTUNER      = "{266EEE40-6C63-11CF-8A03-00AA006ECB65}"

KSCATEGORY_AUDIO   = "{6994AD04-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_VIDEO   = "{6994AD05-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_CAPTURE = "{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_CROSSBAR= "{a799a801-A46D-11D0-A18C-00a02401dcd4}"
KSCATEGORY_TVAUDIO = "{a799a802-A46D-11D0-A18C-00a02401dcd4}"
KSCATEGORY_TVTUNER = "{a799a800-A46D-11D0-A18C-00a02401dcd4}"
KSCATEGORY_VBICODEC= "{07dad660-22f1-11D1-a9f4-00c04fbbde8f}"


;--------------------------------------------------------
; Localizable
;--------------------------------------------------------
TerraTec=                  "TerraTec "
DiskName=                  "Cinergy Driver CD"

; Device Manager strings
CinergyCap.Desc  = "Cinergy 200 TV Capture"
CinergyTune.Desc = "Cinergy 200 TV Tuner"

; DirectShow Strings
; FMB NOTE:The string "Cinergy.Capture" is used for both audio and video devices !
Cinergy.Capture          = "Cinergy 200 TV Capture"
Cinergy.Tuner            = "Cinergy 200 TV Tuner"
Cinergy.Crossbar         = "Cinergy 200 TV Crossbar"
Cinergy.TvAudio          = "Cinergy 200 TV TvAudio"
Cinergy.Audio            = "Cinergy 200 TV Audio Capture"


