;////////////////////////////////////////////////////////////////////////////////
;//
;//                           (C) Pinnacle Systems GmbH 2005-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.
;//
;////////////////////////////////////////////////////////////////////////////////

;----------------------------------------------------------------------------------------------------
;
; MicroTV64.INF  -- This file contains installation information for 64-bit systems for
;                   "Pinnacle Systems PCTV 260e"
;                   "Pinnacle Systems PCTV 200e"
;                   "Pinnacle Systems PCTV 60e"
;
; Copyright(c) 2005-2006 Pinnacle Systems GmbH, Braunschweig, Germany
;
;----------------------------------------------------------------------------------------------------

[Version]
Signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%MicroTV.Provider%
CatalogFile=MicroTV64.cat 
DriverPackageType=PlugAndPlay
DriverPackageDisplayName="Pinnacle Systems MicroTV series"
DriverVer=04/06/2006,2.6.5.0

[ControlFlags]
;;ExcludeFromSelect=*

[Manufacturer]
%MicroTV.Provider%=Pinnacle,NTamd64

[SourceDisksNames]
1=%MICROTV_INSTALLATION_DISK%,,

[SourceDisksFiles]
MicroTV64.sys=1

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

;------------------------------------------------------------------------------
; List of supported devices
;------------------------------------------------------------------------------
[Pinnacle.NTamd64] 
%MicroTV.DeviceDesc%=MicroTV,USB\VID_2304&PID_020E
%MicroTV_60.DeviceDesc%=MicroTV_60,USB\VID_2304&PID_0216
%MicroTV_260.DeviceDesc%=MicroTV_260,USB\VID_2304&PID_0219

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

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

[MicroTV_60.NTamd64]
Include     = ks.inf, kscaptur.inf, bda.inf
Needs       = KSCAPTUR.Registration.NT, BDA.Installation.NT
AddReg      = MicroTV_60.AddReg
CopyFiles   = MicroTV.CopyDrivers

[MicroTV_260.NTamd64]
Include     = ks.inf, kscaptur.inf, bda.inf
Needs       = KSCAPTUR.Registration.NT, BDA.Installation.NT
AddReg      = MicroTV_260.AddReg
CopyFiles   = MicroTV.CopyDrivers

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

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

[MicroTV.NTamd64.Interfaces]
AddInterface = %KSCATEGORY_BDATUNER%, %KSSTRING_BdaTunerFilter%, MicroTV_BdaTuner.Filter
AddInterface = %KSCATEGORY_BDARECEIVER%, %KSSTRING_BdaCaptureFilter%, MicroTV_BdaCap.Filter

[MicroTV_60.NTamd64.Interfaces]
AddInterface = %KSCATEGORY_BDATUNER%, %KSSTRING_BdaTunerFilter%, MicroTV_60_BdaTuner.Filter
AddInterface = %KSCATEGORY_BDARECEIVER%, %KSSTRING_BdaCaptureFilter%, MicroTV_60_BdaCap.Filter

[MicroTV_260.NTamd64.Interfaces]
AddInterface = %KSCATEGORY_BDATUNER%, %KSSTRING_BdaTunerFilter%, MicroTV_260_BdaTuner.Filter
AddInterface = %KSCATEGORY_BDARECEIVER%, %KSSTRING_BdaCaptureFilter%, MicroTV_260_BdaCap.Filter

[MicroTV.NTamd64.Services]
AddService = %ServiceName%,0x00000002,MicroTV_BDADevice.ServiceInstall

[MicroTV_60.NTamd64.Services]
AddService = %ServiceName%,0x00000002,MicroTV_BDADevice.ServiceInstall

[MicroTV_260.NTamd64.Services]
AddService = %ServiceName%,0x00000002,MicroTV_BDADevice.ServiceInstall

[MicroTV_BDADevice.ServiceInstall]
DisplayName   = %ServiceNameDesc%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\MicroTV64.sys
AddReg        = MicroTV_Service.AddReg

[MicroTV_Service.AddReg]
HKR,DriverParameters,AntennaPower,0x00010001,0x00000001         ; 200e/260e:antenna power; 60e:additional internal amplification
HKR,DriverParameters,AdditionalAmp,0x00010001,0x00000000        ; 260e:     additional internal amplification: [0]:off,[1]:on
HKR,DriverParameters,VHFBandwidth,0x00010001,0x00000007         ; VHF bandwidth: 7 MHz
HKR,DriverParameters,UHFBandwidth,0x00010001,0x00000008         ; UHF bandwidth: 8 MHz
HKR,DriverParameters,BDA_ConvertToPercent,0x00010001,0x00000000 ; [0]:strenght in dBm, [1]:strength in percentage

[MicroTV_BDATuner.Filter]
AddReg = MicroTV_BDATuner.Filter.AddReg

[MicroTV_BDATuner.Filter.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%MicroTV_BdaTuner.FilterDesc%

[MicroTV_60_BdaTuner.Filter]
AddReg = MicroTV_60_BdaTuner.Filter.AddReg

[MicroTV_260_BdaTuner.Filter]
AddReg = MicroTV_260_BdaTuner.Filter.AddReg

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

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

[MicroTV.CopyDrivers]
MicroTV64.sys

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

[MicroTV_BdaCap.Filter.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%MicroTV_BdaCapture.FilterDesc%

[MicroTV_60_BdaCap.Filter]
AddReg = MicroTV_60_BdaCap.Filter.AddReg

[MicroTV_260_BdaCap.Filter]
AddReg = MicroTV_260_BdaCap.Filter.AddReg

[MicroTV_60_BdaCap.Filter.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%MicroTV_60_BdaCapture.FilterDesc%

[MicroTV_260_BdaCap.Filter.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%MicroTV_260_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 = "{5E104CCF-83F7-4601-80E4-EA1FD7C29FB8}" ; MicroTV GUID for the digital tuner Filter.
KSSTRING_BdaCaptureFilter="{B8115676-F1BB-41DF-975C-E8A5FAED7ADF}" ; MicroTV GUID for the digital capture Filter.

;-------------------------------------------------------------
; Localizable
;-------------------------------------------------------------
ServiceName                         = "PinnacleMicroTV"
ServiceNameDesc                     = "Pinnacle Systems MicroTV Device"
MICROTV_INSTALLATION_DISK           = "Pinnacle PCTV 60e/200e/260e 64-bit system installation disk"
MicroTV.Provider                    = "Pinnacle Systems"
MicroTV.Manufacturer                = "Pinnacle Systems"

;-------------------------------------------------------------
; PCTV 260e
MicroTV_260.DeviceDesc              = "Pinnacle PCTV 260e"
MicroTV_260_BdaTuner.DeviceDesc     = "Pinnacle PCTV 260e Tuner"
MicroTV_260_BdaTuner.FilterDesc     = "Pinnacle PCTV 260e Tuner"                            
MicroTV_260_BdaTuner.FriendlyName   = "Pinnacle PCTV 260e Tuner"
MicroTV_260_BdaCapture.FilterDesc   = "Pinnacle PCTV 260e Capture"
MicroTV_260_BdaCapture.DeviceDesc   = "Pinnacle PCTV 260e Capture"

;-------------------------------------------------------------
; PCTV 200e
MicroTV.DeviceDesc                  = "Pinnacle PCTV 200e"
MicroTV_BdaTuner.DeviceDesc         = "Pinnacle PCTV 200e Tuner"
MicroTV_BdaTuner.FilterDesc         = "Pinnacle PCTV 200e Tuner"
MicroTV_BdaTuner.FriendlyName       = "Pinnacle PCTV 200e Tuner"
MicroTV_BdaCapture.FilterDesc       = "Pinnacle PCTV 200e Capture"
MicroTV_BdaCapture.DeviceDesc       = "Pinnacle PCTV 200e Capture"

;-------------------------------------------------------------
; PCTV 60e
MicroTV_60.DeviceDesc               = "Pinnacle PCTV 60e"
MicroTV_60_BdaTuner.DeviceDesc      = "Pinnacle PCTV 60e Tuner"
MicroTV_60_BdaTuner.FilterDesc      = "Pinnacle PCTV 60e Tuner"                            
MicroTV_60_BdaTuner.FriendlyName    = "Pinnacle PCTV 60e Tuner"
MicroTV_60_BdaCapture.FilterDesc    = "Pinnacle PCTV 60e Capture"
MicroTV_60_BdaCapture.DeviceDesc    = "Pinnacle PCTV 60e Capture"
