;---------------------------------------------------------------------- USB TV BOX DRIVER (CINERGY 400 USB)
[Version]
Signature                    =                            "$CHICAGO$"			; FOR 95 & NT SYSTEMS
Class                        =                                 IMAGE			; IMAGE CLASS
ClassGUID                    = {6BDD1FC6-810F-11D0-BEC7-08002BE2092F}			; IMAGE CLASS GUID
Provider                     =                        %PROVIDER.NAME%			; PROVIDER NAME
LayoutFile                   =  LAYOUT.INF, LAYOUT1.INF, LAYOUT2.INF			;
DriverVer                    =                  03/10/2005, 1.0.0.20			; INF VERSION
CatalogFile                  =                        CINERGY400.CAT			; 
[Manufacturer]
%MANUFACTURER.NAME%          =                                 ENTRY			; ASSIGN MODELS SECTION
[ControlFlags]
ExcludeFromSelect            =                                     *			; 
[DestinationDirs]
DefaultDestDir               =                                    11			; C:\WINDOWS\SYSTEM32
CINERGY400.CopyPropertyPages =                                    11			; C:\WINDOWS\SYSTEM32
CINERGY400.CopyDrivers       =                  10, SYSTEM32\DRIVERS			; C:\WINDOWS\SYSTEM32\DRIVERS
[SourceDisksNames]
1                            =                            %DISK.NAME%			;
[SourceDisksFiles]
CINERGY400.SYS               =                                     1			;
CINERGY400.AX                =                                     1			;

;--------------------------------------------------------------------------------------- MAIN ENTRY
[ENTRY]
%PRODUCT.NAME% = CINERGY400,  USB\VID_0CCD&PID_003B&MI_00	; TERRATEC (CINERGY 400 USB)
%PRODUCT.NAME% = CINERGY400, USB2\VID_0CCD&PID_003B&MI_00

[CINERGY400]
Include       = KS.INF, KSCAPTUR.INF, KSFILTER.INF, DSHOWEXT.INF, STI.INF
Needs         = KS.REGISTRATION, KSCAPTUR.REGISTRATION, DSHOWEXT.REGISTRATION, STI.USBSECTION
SubClass      = STILLIMAGE
DeviceType    = 0x03
DeviceSubType = 0x01
Capabilities  = 0x11
DeviceData    = CINERGY400.DeviceData
ICMProfiles   = "sRGB Color Space Profile.icm"
AddReg        = CINERGY400.AddReg
CopyFiles     = CINERGY400.CopyDrivers, CINERGY400.CopyPropertyPages

[CINERGY400.NT]
Include       = KS.INF, KSCAPTUR.INF, KSFILTER.INF, DSHOWEXT.INF, STI.INF
Needs         = KS.REGISTRATION, KSCAPTUR.REGISTRATION.NT, DSHOWEXT.REGISTRATION, STI.USBSECTION
SubClass      = STILLIMAGE
DeviceType    = 0x03
DeviceSubType = 0x01
Capabilities  = 0x11
DeviceData    = CINERGY400.DeviceData
ICMProfiles   ="sRGB Color Space Profile.icm"
AddReg        = CINERGY400.AddReg
CopyFiles     = CINERGY400.CopyDrivers, CINERGY400.CopyPropertyPages

; ------------------------------------------------------------------------------ HARDWARE RELATIONS
[CINERGY400.HW]

[CINERGY400.NT.HW]

; -------------------------------------------------------------------------------------- INTERFACES
[CINERGY400.NT.Interfaces]
AddInterface = %KSCATEGORY_VIDEO%,    "GLOBAL", CINERGY400.InterfaceA
AddInterface = %KSCATEGORY_CAPTURE%,  "GLOBAL", CINERGY400.InterfaceA
AddInterface = %KSCATEGORY_CROSSBAR%, "GLOBAL", CINERGY400.InterfaceB
AddInterface = %KSCATEGORY_TVTUNER%,  "GLOBAL", CINERGY400.InterfaceC
AddInterface = %KSCATEGORY_TVAUDIO%,  "GLOBAL", CINERGY400.InterfaceD

[CINERGY400.Interfaces]
AddInterface = %KSCATEGORY_VIDEO%,    "GLOBAL", CINERGY400.InterfaceA
AddInterface = %KSCATEGORY_CAPTURE%,  "GLOBAL", CINERGY400.InterfaceA
AddInterface = %KSCATEGORY_CROSSBAR%, "GLOBAL", CINERGY400.InterfaceB
AddInterface = %KSCATEGORY_TVTUNER%,  "GLOBAL", CINERGY400.InterfaceC
AddInterface = %KSCATEGORY_TVAUDIO%,  "GLOBAL", CINERGY400.InterfaceD

[CINERGY400.InterfaceA]
AddReg = CINERGY400.InterfaceA.AddReg

[CINERGY400.InterfaceA.AddReg]
HKR, , FriendlyName, , %PRODUCT.NAME%
HKR, , CLSID, , %KSPROXY.CLSID%

[CINERGY400.InterfaceB]
AddReg = CINERGY400.InterfaceB.AddReg

[CINERGY400.InterfaceB.AddReg]
HKR, , FriendlyName, , %PRODUCT.CROSSBAR.NAME%
HKR, , CLSID, , %KSXBAR.CLSID%

[CINERGY400.InterfaceC]
AddReg = CINERGY400.InterfaceC.AddReg

[CINERGY400.InterfaceC.AddReg]
HKR, , FriendlyName, , %PRODUCT.TVTUNER.NAME%
HKR, , CLSID, , %KSTVTUNE.CLSID%

[CINERGY400.InterfaceD]
AddReg = CINERGY400.InterfaceD.AddReg

[CINERGY400.InterfaceD.AddReg]
HKR, , FriendlyName, , %PRODUCT.TVAUDIO.NAME%
HKR, , CLSID, , %KSTVAUDIO.CLSID%

; ---------------------------------------------------------------------------------------- SERVICES
[CINERGY400.NT.Services] 
AddService = CINERGY400, 0x00000002, CINERGY400.NT.ServiceA

[CINERGY400.NT.ServiceA]
DisplayName   = %PRODUCT.NAME%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %10%\SYSTEM32\DRIVERS\CINERGY400.SYS

; -------------------------------------------------------------------------------------- COPY FILES
[CINERGY400.CopyDrivers]
CINERGY400.SYS, , , 0x00000004

[CINERGY400.CopyPropertyPages]
CINERGY400.AX , , , 0x00000004

; ---------------------------------------------------------------------------------------- REGISTRY
[CINERGY400.AddReg]
HKR,,NTMPDriver,,CINERGY400.SYS
HKR,,HardwareConfig,1,1
HKR,,USDClass,,"{0527D1D0-88C2-11D2-82C7-00C04F8EC183}"
HKR,,DevLoader,,*ntkern

HKR,,VideoProcAmpBrightnessProperty,         0x00010001,0x00000080	; 0x80 = 128 (0 ~ 255)
HKR,,VideoProcAmpContrastProperty,           0x00010001,0x000000C7	; 0xC7 = 199 (0 ~ 255)
HKR,,VideoProcAmpHueProperty,                0x00010001,0x00000080	; 0x80 = 128 (0 ~ 255)
HKR,,VideoProcAmpSaturationProperty,         0x00010001,0x000000C0	; 0xC0 = 192 (0 ~ 255)
HKR,,CrossbarVideoInputProperty,             0x00010001,0x00000000	; 0 = TV TUNER / 1 = COMPOSITE, 2 = S-VIDEO
HKR,,CrossbarAudioInputProperty,             0x00010001,0x00000003	; 3 = TV AUDIO / 4 = LINE IN
HKR,,VideoDecoderStandardProperty,           0x00010001,0x00000010	; 1 = NTSC M / 16 = PAL B
HKR,,TunerStandardProperty,                  0x00010001,0x00000010	; 1 = NTSC M / 16 = PAL B
HKR,,CustomDeinterlaceTypeProperty,          0x00010001,0x00000003	; 0 = BOB / 1 = WEAVE / 2 = LOW MOTION / 3 = HIGH MOTION
HKR,,CustomAudioVolumeProperty,              0x00010001,0x00000303	; 0x0303 = 3 (0 ~ 16) (L & R)
HKR,,CustomActiveAudioStereoSystemProperty,  0x00010001,0x00000000	; 0 = A2 / 1 = NICAM
HKR,,CustomSnapshotWithDeinterlacingProperty,0x00010001,0x00000000	; 0 = DISABLE / 1 = ENABLE
HKR,,CustomEnableSoftwareIRProperty,         0x00010001,0x00000001	; 0 = DISABLE / 1 = ENABLE

; ICustomProperty
;
HKCR,CLSID\{D1E5209F-68FD-4529-BEE0-5E7A1F479204}, , , %CUSTOM.PROPERTY.INTERFACE.NAME%
HKCR,CLSID\{D1E5209F-68FD-4529-BEE0-5E7A1F479204}\InprocServer32, , , CINERGY400.AX
HKCR,CLSID\{D1E5209F-68FD-4529-BEE0-5E7A1F479204}\InprocServer32, ThreadingModel, , Both
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{D1E5209F-68FD-4529-BEE0-5E7A1F479204}, , , %CUSTOM.PROPERTY.INTERFACE.NAME%
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{D1E5209F-68FD-4529-BEE0-5E7A1F479204}, IID, 1, 9F,20,E5,D1, FD,68, 29,45, 0xBE, 0xE0, 0x5E, 0x7A, 0x1F, 0x47, 0x92, 0x04

; CCustomPropertyPage
;
HKCR,CLSID\{15E3F6CE-F3DD-454A-8DEA-E4A380FCCB04}, , , %CUSTOM.PROPERTY.PAGE.NAME%
HKCR,CLSID\{15E3F6CE-F3DD-454A-8DEA-E4A380FCCB04}\InprocServer32, , , CINERGY400.AX
HKCR,CLSID\{15E3F6CE-F3DD-454A-8DEA-E4A380FCCB04}\InprocServer32, ThreadingModel, , Both
HKLM,System\CurrentControlSet\Control\MediaSets\{D1E5209F-68FD-4529-BEE0-5E7A1F479204}\PropertyPages\{15E3F6CE-F3DD-454A-8DEA-E4A380FCCB04}, , , %CUSTOM.PROPERTY.PAGE.NAME%

; ------------------------------------------------------------------------------------------ OTHERS
[CINERGY400.DeviceData]
Server = LOCAL
UI DLL = STI.DLL
UI Class ID = {5D8EF5A3-AC13-11D2-A093-00C04F72DC3C}

; --------------------------------------------------------------------------------------- RESOURCES
[Strings]
PRODUCT.NAME                   = "Cinergy 400 USB"
PRODUCT.CROSSBAR.NAME          = "Cinergy 400 USB, Crossbar"
PRODUCT.TVAUDIO.NAME           = "Cinergy 400 USB, TVAudio"
PRODUCT.TVTUNER.NAME           = "Cinergy 400 USB, TVTuner"
CUSTOM.PROPERTY.INTERFACE.NAME = "Cinergy 400 USB, Custom Property Interface"
CUSTOM.PROPERTY.PAGE.NAME      = "Cinergy 400 USB, Custom Property Page"
MANUFACTURER.NAME              = "TERRATEC ELECTRONIC GMBH"
PROVIDER.NAME                  = "TERRATEC ELECTRONIC GMBH"
DISK.NAME                      = "TERRATEC DRIVER CD-ROM"
KSPROXY.CLSID                  = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"	; KSPROXY.AX
KSXBAR.CLSID                   = "{71F96460-78F3-11D0-A18C-00A0C9118956}"	; KSXBAR.AX
KSTVAUDIO.CLSID                = "{71F96462-78F3-11D0-A18C-00A0C9118956}"	; KSXBAR.AX
KSTVTUNE.CLSID                 = "{266EEE40-6C63-11CF-8A03-00AA006ECB65}"	; KSTVTUNE.AX
KSCATEGORY_CAPTURE             = "{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_VIDEO               = "{6994AD05-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_CROSSBAR            = "{A799A801-A46D-11D0-A18C-00A02401DCD4}"
KSCATEGORY_TVAUDIO             = "{A799A802-A46D-11D0-A18C-00A02401DCD4}"
KSCATEGORY_TVTUNER             = "{A799A800-A46D-11D0-A18C-00A02401DCD4}"
SERVICE_KERNEL_DRIVER          = 1
SERVICE_DEMAND_START           = 3
SERVICE_ERROR_NORMAL           = 1
SERVICE_ERROR_IGNORE           = 0
