;////////////////////////////////////////////////////////////////////////////////
;//
;//                           (C) Pinnacle Systems GmbH 2006
;//      All rights are reserved.  Reproduction in whole or in part is prohibited
;//      without the written consent of the copyright owner.
;//
;//      Pinnacle Systems, Inc. reserves the right to make changes without notice at any time.
;//      Pinnacle Systems, Inc. makes no warranty, expressed, implied or statutory, including
;//      but not limited to any implied warranty of merchantibility of fitness
;//      for any particular purpose, or that the use will not infringe any
;//      third party patent, copyright or trademark.
;//      Pinnacle Systems, Inc. must not be liable for any loss or damage arising from its use.
;//
;////////////////////////////////////////////////////////////////////////////////

;----------------------------------------------------------------------------------------------------
;
; RoyalTS.INF  -- This file contains installation information for
;                 "Pinnacle Systems RoyalTS DVB-T series"
;
; Copyright(c) 2006 Pinnacle Systems GmbH, Braunschweig, Germany
;
;----------------------------------------------------------------------------------------------------

[Version]
Signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%RoyalTS.Provider%
CatalogFile=RoyalTS.cat
DriverPackageType=PlugAndPlay
DriverPackageDisplayName="PCTV DVB-T series"
DriverVer=09/14/2006,4.2.0.0

[ControlFlags]
;;ExcludeFromSelect=*

[Manufacturer]
%RoyalTS.Provider%=Pinnacle

[SourceDisksNames]
1=%RoyalTS_INSTALLATION_DISK%,,

[SourceDisksFiles]
RoyalTS.sys=1

[DestinationDirs]
DefaultDestDir=11
BDADevice.CopyDrivers=10,system32\drivers

;------------------------------------------------------------------------------
; List of supported devices
;------------------------------------------------------------------------------
[Pinnacle]
%RoyalTS_T0.DeviceDesc%=BDADevice,PCI\VEN_11BD&DEV_0040&SUBSYS_004411BD
%RoyalTS_T1.DeviceDesc%=BDADevice,PCI\VEN_11BD&DEV_0041&SUBSYS_004411BD
%RoyalTS_CO.DeviceDesc%=BDADevice,PCI\VEN_11BD&DEV_0042&SUBSYS_004411BD
%RoyalTS_L_T0.DeviceDesc%=BDADevice,PCI\VEN_11BD&DEV_0040&SUBSYS_004711BD
%RoyalTS_L_CO.DeviceDesc%=BDADevice,PCI\VEN_11BD&DEV_0042&SUBSYS_004711BD

;------------------------------------------------------------------------------
; BDA Device Section
;------------------------------------------------------------------------------
[BDADevice.NT]
Include     = ks.inf, kscaptur.inf, bda.inf
Needs       = KSCAPTUR.Registration.NT, BDA.Installation.NT
AddReg      = BDADevice.AddReg
CopyFiles   = BDADevice.CopyDrivers

[BDADevice.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,RoyalTS.sys
HKR,,PageOutWhenUnopened,3,0
HKR,,DontSuspendIfStreamsAreRunning,3,01

[BDADevice.NT.Interfaces]
AddInterface = %KSCATEGORY_BDATUNER%, %KSSTRING_BdaTunerFilter%, BdaTuner.Filter
AddInterface = %KSCATEGORY_BDARECEIVER%, %KSSTRING_BdaCaptureFilter%, BdaCap.Filter

[BDADevice.NT.Services]
AddService = %ServiceName%,0x00000002,BDADevice.ServiceInstall

[BDADevice.ServiceInstall]
DisplayName   = %ServiceNameDesc%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\RoyalTS.sys
AddReg        = TheService.AddReg

[BDADevice.CopyDrivers]
RoyalTS.sys

[TheService.AddReg]
HKR,DriverParameters,BDA_Convert2Percent,0x00010001,0x00000000
HKR,DriverParameters,VHFBandwidth,0x00010001,0x00000007
HKR,DriverParameters,UHFBandwidth,0x00010001,0x00000008

[BDATuner.Filter]
AddReg = BDATuner.Filter.AddReg

[BDATuner.Filter.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%BdaTuner.FilterDesc%

;-------------------------------------------------------------
; Capture: install section for the BDA capture filter.
;-------------------------------------------------------------
[BdaCap.Filter]
AddReg = BdaCap.Filter.AddReg

[BdaCap.Filter.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%BdaCapture.FilterDesc%

;---------------------------------------------------------------
;                S t r i n g s
;---------------------------------------------------------------
[Strings]

MediaCategories="SYSTEM\CurrentControlSet\Control\MediaCategories"
SERVICE_BOOT_START     = 0x0
SERVICE_SYSTEM_START   = 0x1
SERVICE_AUTO_START     = 0x2
SERVICE_DEMAND_START   = 0x3
SERVICE_DISABLED       = 0x4

SERVICE_KERNEL_DRIVER  = 0x1
SERVICE_ERROR_IGNORE   = 0x0
SERVICE_ERROR_NORMAL   = 0x1
SERVICE_ERROR_SEVERE   = 0x2
SERVICE_ERROR_CRITICAL = 0x3

;-------------------------------------------------------------
; BDA Tuner/Capture
;-------------------------------------------------------------
Proxy.CLSID             = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}" ; GUID for the Ksproxy plugin..
KSCATEGORY_BDATUNER     = "{71985F48-1CA1-11d3-9CC8-00C04F7971E0}" ; GUID for the BDA Source Filters category in GraphEdit.
KSCATEGORY_BDARECEIVER  = "{FD0A5AF4-B41D-11d2-9C95-00C04F7971E0}" ; GUID for the BDA Receiver Filters category in GraphEdit.
KSSTRING_BdaTunerFilter = "{760EEB7B-132D-4d0d-917C-FB150A26169A}" ; RoyalTS GUID for the digital tuner Filter.
KSSTRING_BdaCaptureFilter="{512F0C08-BC54-4126-B133-793B310DA8C0}" ; RoyalTS GUID for the digital capture Filter.

;-------------------------------------------------------------
; Localizable
;-------------------------------------------------------------
ServiceName="PinnacleRoyalTS"
ServiceNameDesc="Pinnacle Systems RoyalTS Device"

RoyalTS_INSTALLATION_DISK   = "Pinnacle PCTV DVB-T Dual installation disk"

RoyalTS.Provider            = "Pinnacle Systems"
RoyalTS.Manufacturer        = "Pinnacle Systems"
RoyalTS_T0.DeviceDesc       = "Pinnacle PCTV DVB-T Dual Tuner1"
RoyalTS_T1.DeviceDesc       = "Pinnacle PCTV DVB-T Dual Tuner2"
RoyalTS_CO.DeviceDesc       = "Pinnacle PCTV DVB-T Dual Common"
RoyalTS_L_T0.DeviceDesc       = "Pinnacle PCTV DVB-T Tuner"
RoyalTS_L_CO.DeviceDesc       = "Pinnacle PCTV DVB-T Common"

BdaTuner.FilterDesc         = "Pinnacle RoyalTS Tuner"
BdaTuner.FriendlyName       = "Pinnacle RoyalTS Tuner"

BdaCapture.FilterDesc       = "Pinnacle RoyalTS Capture"
BdaCapture.DeviceDesc       = "Pinnacle RoyalTS Capture"
