; Copyright 2006, Animation Technologies Inc.
;*****************************************************************************

[Version]
signature           = "$CHICAGO$" ;All Windows OS
Class               = MEDIA
ClassGUID           = {4d36e96c-e325-11ce-bfc1-08002be10318}
Provider            = %PROVIDER%
CatalogFile.NTx86   = LVHybrid.cat
CatalogFile.NTAMD64 = LVHybr64.cat

;---------------------mm/dd/yyyy,version--------------------
DriverVer           = 02/06/2007,13.35.04.001
;                   -> Release
;-----------------------------------------------------------

[Manufacturer]
%PROVIDER%  = SupportedBoards, NTx86, NTAMD64

;---> 32 BIT SUPPORT <---
[SupportedBoards.NTx86]
%LR0138.DeviceDesc30%=LVLegacy0138_30.NTx86,PCI\VEN_1131&DEV_7130&SUBSYS_01385168
%LR0138.DeviceDesc33%=LVLegacy0138_33.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_01385168
%LR0138.DeviceDesc34%=LVLegacy0138_34.NTx86,PCI\VEN_1131&DEV_7134&SUBSYS_01385168

%LR0212.DeviceDesc%=LVLegacy0214_33.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_02125168
%LR1212.DeviceDesc%=LVLegacy0214_33.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_12125168
%LR1212.DeviceDesc%=LVHybrid_33.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_52125168

%LR0214.DeviceDesc30%=LVLegacy0214_30.NTx86,PCI\VEN_1131&DEV_7130&SUBSYS_02145168
%LR0214.DeviceDesc33%=LVLegacy0214_33.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_02145168
%LR0214.DeviceDesc33%=LVHybrid_33.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_52145168

%LR0300.DeviceDesc%=LVHybrid_34.NTx86,PCI\VEN_1131&DEV_7134&SUBSYS_03005168

%LR0301.DeviceDesc%=LVHybrid_34.NTx86,PCI\VEN_1131&DEV_7134&SUBSYS_03015168

%LR0302.DeviceDesc%=LVHybrid_34.NTx86,PCI\VEN_1131&DEV_7134&SUBSYS_03025168

%LR0303.DeviceDesc%=LVHybrid_30.NTx86,PCI\VEN_1131&DEV_7130&SUBSYS_03035168
%LR0303.DeviceDesc%=LVHybrid_34.NTx86,PCI\VEN_1131&DEV_7134&SUBSYS_03035168

%LR0306.DeviceDesc%=LVHybrid_33.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_03065168
%LR3306.DeviceDesc%=LVHybrid_33.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_33065168

%LR0307.DeviceDesc%=LVHybrid_33.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_03075168
%LR3307.DeviceDesc%=LVHybrid_33.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_33075168

%LR0314.DeviceDesc%=LVHybrid_33.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_03145168

%LR0315.DeviceDesc%=LVHybrid_33.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_03155168

%LR0319.DeviceDesc%=LVHybrid_33.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_03195168
%LR2319.DeviceDesc%=LVHybrid_33.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_23195168
%LR3319.DeviceDesc%=LVHybrid_33.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_33195168

%LR0502.DeviceDesc%=LVHybrid_33.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_05025168
%LR1502.DeviceDesc%=LVHybrid_33.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_15025168
%LR2502.DeviceDesc%=LVHybrid_33.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_25025168
%LR3502.DeviceDesc%=LVHybrid_33.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_35025168

%LR0520.DeviceDesc%=LVHybrid_33.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_05205168
%LR2520.DeviceDesc%=LVHybrid_33.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_25205168

;---> 64 BIT SUPPORT <---
[SupportedBoards.NTAMD64]
%LR0138.DeviceDesc30%=LVLegacy0138_30.NTAMD64,PCI\VEN_1131&DEV_7130&SUBSYS_01385168
%LR0138.DeviceDesc33%=LVLegacy0138_33.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_01385168
%LR0138.DeviceDesc34%=LVLegacy0138_34.NTAMD64,PCI\VEN_1131&DEV_7134&SUBSYS_01385168

%LR0212.DeviceDesc%=LVLegacy0214_33.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_02125168
%LR1212.DeviceDesc%=LVLegacy0214_33.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_12125168
%LR1212.DeviceDesc%=LVHybrid_33.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_52125168

%LR0214.DeviceDesc30%=LVLegacy0214_30.NTAMD64,PCI\VEN_1131&DEV_7130&SUBSYS_02145168
%LR0214.DeviceDesc33%=LVLegacy0214_33.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_02145168
%LR0214.DeviceDesc33%=LVHybrid_33.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_52145168

%LR0300.DeviceDesc%=LVHybrid_34.NTAMD64,PCI\VEN_1131&DEV_7134&SUBSYS_03005168

%LR0301.DeviceDesc%=LVHybrid_34.NTAMD64,PCI\VEN_1131&DEV_7134&SUBSYS_03015168

%LR0302.DeviceDesc%=LVHybrid_34.NTAMD64,PCI\VEN_1131&DEV_7134&SUBSYS_03025168

%LR0303.DeviceDesc%=LVHybrid_30.NTAMD64,PCI\VEN_1131&DEV_7130&SUBSYS_03035168
%LR0303.DeviceDesc%=LVHybrid_34.NTAMD64,PCI\VEN_1131&DEV_7134&SUBSYS_03035168

%LR0306.DeviceDesc%=LVHybrid_33.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_03065168
%LR3306.DeviceDesc%=LVHybrid_33.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_33065168

%LR0307.DeviceDesc%=LVHybrid_33.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_03075168
%LR3307.DeviceDesc%=LVHybrid_33.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_33075168

%LR0314.DeviceDesc%=LVHybrid_33.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_03145168

%LR0315.DeviceDesc%=LVHybrid_33.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_03155168

%LR0319.DeviceDesc%=LVHybrid_33.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_03195168
%LR2319.DeviceDesc%=LVHybrid_33.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_23195168
%LR3319.DeviceDesc%=LVHybrid_33.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_33195168

%LR0502.DeviceDesc%=LVHybrid_33.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_05025168
%LR1502.DeviceDesc%=LVHybrid_33.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_15025168
%LR2502.DeviceDesc%=LVHybrid_33.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_25025168
%LR3502.DeviceDesc%=LVHybrid_33.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_35025168

%LR0520.DeviceDesc%=LVHybrid_33.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_05205168
%LR2520.DeviceDesc%=LVHybrid_33.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_25205168

[SourceDisksNames]
1 = %INSTALLATION_DISK%,,


[SourceDisksFiles]
LVHybrid.sys           = 1
LVHybr64.sys           = 1
LV34CoInst.dll      = 1


[DestinationDirs]
SectionX32.CopyDll.NTx86      = 11
SectionX64.CopyDll.NTAMD64    = 11
SectionX32.CopyDriver.NTx86   = 10,system32\drivers
SectionX64.CopyDriver.NTAMD64 = 10,system32\drivers


[SectionX32.CopyDll.NTx86]
LV34CoInst.dll


[SectionX64.CopyDll.NTAMD64]


[SectionX32.CopyDriver.NTx86]
LVHybrid.sys


[SectionX64.CopyDriver.NTAMD64]
LVHybr64.sys



;======================================
;
;       Initialization Entries
;
;======================================

;******** SAA7130 x32 ***
[LVHybrid_30.NTx86.CoInstallers]
CopyFiles     = SectionX32.CopyDll.NTx86
AddReg        = SectionX32.DllAddReg.NTx86

[LVHybrid_30.NTx86]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX32.CopyDriver.NTx86, SectionX32.CopyDll.NTx86
AddReg        = SectionX32.AddReg.NTx86, LVHybrid_30.AddReg

[LVHybrid_30.NTx86.Services]
AddService    = %SERVICE_NAME_X32%, 0x00000002, SectionX32.ServiceInstall.NTx86


;******** SAA7130 x64 ***
[LVHybrid_30.NTAMD64.CoInstallers]
CopyFiles     = SectionX64.CopyDll.NTAMD64
AddReg        = SectionX64.DllAddReg.NTAMD64

[LVHybrid_30.NTAMD64]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX64.CopyDriver.NTAMD64, SectionX64.CopyDll.NTAMD64
AddReg        = SectionX64.AddReg.NTAMD64, LVHybrid_30.AddReg

[LVHybrid_30.NTAMD64.Services]
AddService    = %SERVICE_NAME_X64%, 0x00000002, SectionX64.ServiceInstall.NTAMD64


;******** SAA7133 x32 ***
[LVHybrid_33.NTx86.CoInstallers]
CopyFiles     = SectionX32.CopyDll.NTx86
AddReg        = SectionX32.DllAddReg.NTx86

[LVHybrid_33.NTx86]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX32.CopyDriver.NTx86, SectionX32.CopyDll.NTx86
AddReg        = SectionX32.AddReg.NTx86, LVHybrid_33.AddReg

[LVHybrid_33.NTx86.Services]
AddService    = %SERVICE_NAME_X32%, 0x00000002, SectionX32.ServiceInstall.NTx86


;******** SAA7133 x64 ***
[LVHybrid_33.NTAMD64.CoInstallers]
CopyFiles     = SectionX64.CopyDll.NTAMD64
AddReg        = SectionX64.DllAddReg.NTAMD64

[LVHybrid_33.NTAMD64]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX64.CopyDriver.NTAMD64, SectionX64.CopyDll.NTAMD64
AddReg        = SectionX64.AddReg.NTAMD64, LVHybrid_33.AddReg

[LVHybrid_33.NTAMD64.Services]
AddService    = %SERVICE_NAME_X64%, 0x00000002, SectionX64.ServiceInstall.NTAMD64


;******** SAA7134 x32 ***
[LVHybrid_34.NTx86.CoInstallers]
CopyFiles     = SectionX32.CopyDll.NTx86
AddReg        = SectionX32.DllAddReg.NTx86

[LVHybrid_34.NTx86]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX32.CopyDriver.NTx86, SectionX32.CopyDll.NTx86
AddReg        = SectionX32.AddReg.NTx86, LVHybrid_34.AddReg

[LVHybrid_34.NTx86.Services]
AddService    = %SERVICE_NAME_X32%, 0x00000002, SectionX32.ServiceInstall.NTx86


;******** SAA7134 x64 ***
[LVHybrid_34.NTAMD64.CoInstallers]
CopyFiles     = SectionX64.CopyDll.NTAMD64
AddReg        = SectionX64.DllAddReg.NTAMD64

[LVHybrid_34.NTAMD64]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX64.CopyDriver.NTAMD64, SectionX64.CopyDll.NTAMD64
AddReg        = SectionX64.AddReg.NTAMD64, LVHybrid_34.AddReg

[LVHybrid_34.NTAMD64.Services]
AddService    = %SERVICE_NAME_X64%, 0x00000002, SectionX64.ServiceInstall.NTAMD64

;******** LVLegacy0138_30 x32 ***
[LVLegacy0138_30.NTx86.CoInstallers]
CopyFiles     = SectionX32.CopyDll.NTx86
AddReg        = SectionX32.DllAddReg.NTx86

[LVLegacy0138_30.NTx86]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration.NT, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX32.CopyDriver.NTx86
AddReg        = SectionX32.AddReg.NTx86, LVHybrid_30.AddReg, LVLegacy.AddReg, LVLegacy0138.AddReg, LVLegacy_30.AddReg

[LVLegacy0138_30.NTx86.Services]
AddService    = %SERVICE_NAME_X32%, 0x00000002, SectionX32.ServiceInstall.NTx86

;******** LVLegacy0138_30 x64 ***
[LVLegacy0138_30.NTAMD64.CoInstallers]
CopyFiles     = SectionX64.CopyDll.NTAMD64
AddReg        = SectionX64.DllAddReg.NTAMD64

[LVLegacy0138_30.NTAMD64]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration.NT, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX64.CopyDriver.NTAMD64
AddReg        = SectionX64.AddReg.NTAMD64, LVHybrid_30.AddReg, LVLegacy.AddReg, LVLegacy0138.AddReg, LVLegacy_30.AddReg

[LVLegacy0138_30.NTAMD64.Services]
AddService    = %SERVICE_NAME_X64%, 0x00000002, SectionX64.ServiceInstall.NTAMD64

;******** LVLegacy0138_33 x32 ***
[LVLegacy0138_33.NTx86.CoInstallers]
CopyFiles     = SectionX32.CopyDll.NTx86
AddReg        = SectionX32.DllAddReg.NTx86

[LVLegacy0138_33.NTx86]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration.NT, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX32.CopyDriver.NTx86
AddReg        = SectionX32.AddReg.NTx86, LVHybrid_30.AddReg, LVLegacy.AddReg, LVLegacy0138.AddReg, LVLegacy_33.AddReg

[LVLegacy0138_33.NTx86.Services]
AddService    = %SERVICE_NAME_X32%, 0x00000002, SectionX32.ServiceInstall.NTx86

;******** LVLegacy0138_33 x64 ***
[LVLegacy0138_33.NTAMD64.CoInstallers]
CopyFiles     = SectionX64.CopyDll.NTAMD64
AddReg        = SectionX64.DllAddReg.NTAMD64

[LVLegacy0138_33.NTAMD64]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration.NT, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX64.CopyDriver.NTAMD64
AddReg        = SectionX64.AddReg.NTAMD64, LVHybrid_30.AddReg, LVLegacy.AddReg, LVLegacy0138.AddReg, LVLegacy_33.AddReg

[LVLegacy0138_33.NTAMD64.Services]
AddService    = %SERVICE_NAME_X64%, 0x00000002, SectionX64.ServiceInstall.NTAMD64

;******** LVLegacy0138_34 x32 ***
[LVLegacy0138_34.NTx86.CoInstallers]
CopyFiles     = SectionX32.CopyDll.NTx86
AddReg        = SectionX32.DllAddReg.NTx86

[LVLegacy0138_34.NTx86]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration.NT, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX32.CopyDriver.NTx86
AddReg        = SectionX32.AddReg.NTx86, LVHybrid_30.AddReg, LVLegacy.AddReg, LVLegacy0138.AddReg, LVLegacy_34.AddReg

[LVLegacy0138_34.NTx86.Services]
AddService    = %SERVICE_NAME_X32%, 0x00000002, SectionX32.ServiceInstall.NTx86

;******** LVLegacy0138_34 x64 ***
[LVLegacy0138_34.NTAMD64.CoInstallers]
CopyFiles     = SectionX64.CopyDll.NTAMD64
AddReg        = SectionX64.DllAddReg.NTAMD64

[LVLegacy0138_34.NTAMD64]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration.NT, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX64.CopyDriver.NTAMD64
AddReg        = SectionX64.AddReg.NTAMD64, LVHybrid_30.AddReg, LVLegacy.AddReg, LVLegacy0138.AddReg, LVLegacy_34.AddReg

[LVLegacy0138_34.NTAMD64.Services]
AddService    = %SERVICE_NAME_X64%, 0x00000002, SectionX64.ServiceInstall.NTAMD64

;******** LVLegacy0214_30 x32 ***
[LVLegacy0214_30.NTx86.CoInstallers]
CopyFiles     = SectionX32.CopyDll.NTx86
AddReg        = SectionX32.DllAddReg.NTx86

[LVLegacy0214_30.NTx86]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration.NT, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX32.CopyDriver.NTx86
AddReg        = SectionX32.AddReg.NTx86, LVHybrid_30.AddReg, LVLegacy.AddReg, LVLegacy0214.AddReg, LVLegacy_30.AddReg

[LVLegacy0214_30.NTx86.Services]
AddService    = %SERVICE_NAME_X32%, 0x00000002, SectionX32.ServiceInstall.NTx86

;******** LVLegacy0214_30 x64 ***
[LVLegacy0214_30.NTAMD64.CoInstallers]
CopyFiles     = SectionX64.CopyDll.NTAMD64
AddReg        = SectionX64.DllAddReg.NTAMD64

[LVLegacy0214_30.NTAMD64]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration.NT, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX64.CopyDriver.NTAMD64
AddReg        = SectionX64.AddReg.NTAMD64, LVHybrid_30.AddReg, LVLegacy.AddReg, LVLegacy0214.AddReg, LVLegacy_30.AddReg

[LVLegacy0214_30.NTAMD64.Services]
AddService    = %SERVICE_NAME_X64%, 0x00000002, SectionX64.ServiceInstall.NTAMD64

;******** LVLegacy0214_33 x32 ***
[LVLegacy0214_33.NTx86.CoInstallers]
CopyFiles     = SectionX32.CopyDll.NTx86
AddReg        = SectionX32.DllAddReg.NTx86

[LVLegacy0214_33.NTx86]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration.NT, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX32.CopyDriver.NTx86
AddReg        = SectionX32.AddReg.NTx86, LVHybrid_30.AddReg, LVLegacy.AddReg, LVLegacy0214.AddReg, LVLegacy_33.AddReg

[LVLegacy0214_33.NTx86.Services]
AddService    = %SERVICE_NAME_X32%, 0x00000002, SectionX32.ServiceInstall.NTx86

;******** LVLegacy0214_33 x64 ***
[LVLegacy0214_33.NTAMD64.CoInstallers]
CopyFiles     = SectionX64.CopyDll.NTAMD64
AddReg        = SectionX64.DllAddReg.NTAMD64

[LVLegacy0214_33.NTAMD64]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration.NT, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX64.CopyDriver.NTAMD64
AddReg        = SectionX64.AddReg.NTAMD64, LVHybrid_30.AddReg, LVLegacy.AddReg, LVLegacy0214.AddReg, LVLegacy_33.AddReg

[LVLegacy0214_33.NTAMD64.Services]
AddService    = %SERVICE_NAME_X64%, 0x00000002, SectionX64.ServiceInstall.NTAMD64

;******** LVLegacy0214_34 x32 ***
[LVLegacy0214_34.NTx86.CoInstallers]
CopyFiles     = SectionX32.CopyDll.NTx86
AddReg        = SectionX32.DllAddReg.NTx86

[LVLegacy0214_34.NTx86]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration.NT, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX32.CopyDriver.NTx86
AddReg        = SectionX32.AddReg.NTx86, LVHybrid_30.AddReg, LVLegacy.AddReg, LVLegacy0214.AddReg, LVLegacy_34.AddReg

[LVLegacy0214_34.NTx86.Services]
AddService    = %SERVICE_NAME_X32%, 0x00000002, SectionX32.ServiceInstall.NTx86

;******** LVLegacy0214_34 x64 ***
[LVLegacy0214_34.NTAMD64.CoInstallers]
CopyFiles     = SectionX64.CopyDll.NTAMD64
AddReg        = SectionX64.DllAddReg.NTAMD64

[LVLegacy0214_34.NTAMD64]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration.NT, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX64.CopyDriver.NTAMD64
AddReg        = SectionX64.AddReg.NTAMD64, LVHybrid_30.AddReg, LVLegacy.AddReg, LVLegacy0214.AddReg, LVLegacy_34.AddReg

[LVLegacy0214_34.NTAMD64.Services]
AddService    = %SERVICE_NAME_X64%, 0x00000002, SectionX64.ServiceInstall.NTAMD64


;******** GENERAL x32 ***
[SectionX32.ServiceInstall.NTx86]
DisplayName   = %DISPLAY_NAME%
Description   = %SERVICE_DESCRIPTION%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\LVHybrid.sys


;******** GENERAL x64 ***
[SectionX64.ServiceInstall.NTAMD64]
DisplayName   = %DISPLAY_NAME%
Description   = %SERVICE_DESCRIPTION%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\LVHybr64.sys



;======================================
;
;           Registry Entries
;
;======================================
; [StartName=driver-object-name]
; [AddReg=add-registry-section[, add-registry-section] ...]
; [DelReg=del-registry-section[, del-registry-section] ...]
; [BitReg=bit-registry-section[,bit-registry-section] ...]
; [LoadOrderGroup=load-order-group-name]
; [Dependencies=depend-on-item-name[,depend-on-item-name]...]

;
;******** General DLL Registry Entries ***
;

[SectionX32.DllAddReg.NTx86]
HKR,,CoInstallers32,0x00010000,"LV34CoInst.dll, CoInstallerEntry"


[SectionX64.DllAddReg.NTAMD64]


;
;******** General Driver Registry Entries ***
;

[SectionX32.AddReg.NTx86]

HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,LVHybrid.sys

; --- Registry Entries For Audio Capture ---
HKR,,Driver,,LVHybrid.sys
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"

HKR,Drivers,SubClasses,,"wave,mixer"
HKR,Drivers\wave\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\mixer\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\wave\wdmaud.drv,Description,,%LVHybrid.AudioDeviceDesc%
HKR,Drivers\mixer\wdmaud.drv,Description,,%LVHybrid.AudioDeviceDesc%

; add audio input and output pinnames
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_AUDIO_IN_PIN%,"Name",,"Analog Audioinput"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_AUDIO_OUT_PIN%,"Name",,"Audio"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_VIDEO_ITU_PIN%,"Name",,"Analog ITU Video"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_AUDIO_I2S_PIN%,"Name",,"I2S Audio"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_AUDIO_CAP_PIN%,"Name",,"~Audio"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_VIDEO_CAP_PIN%,"Name",,"~Capture"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_VIDEO_PRE_PIN%,"Name",,"~Preview"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_MPEG_AES_PIN%,"Name",,"MPEG Audio ES"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_MPEG_VES_PIN%,"Name",,"MPEG Video ES"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_MPEG_PS_PIN%,"Name",, "MPEG2 Program"

[SectionX64.AddReg.NTAMD64]

HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,LVHybr64.sys

; --- Registry Entries For Audio Capture ---

HKR,,Driver,,LVHybr64.sys
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"

HKR,Drivers,SubClasses,,"wave,mixer"
HKR,Drivers\wave\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\mixer\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\wave\wdmaud.drv,Description,,"LVHybrid Audio Capture Device"
HKR,Drivers\mixer\wdmaud.drv,Description,,"LVHybrid Audio Capture Device"

; add audio input and output pinnames
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_AUDIO_IN_PIN%,"Name",,"Analog Audioinput"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_AUDIO_OUT_PIN%,"Name",,"Audio"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_VIDEO_ITU_PIN%,"Name",,"Analog ITU Video"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_AUDIO_I2S_PIN%,"Name",,"I2S Audio"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_AUDIO_CAP_PIN%,"Name",,"~Audio"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_VIDEO_CAP_PIN%,"Name",,"~Capture"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_VIDEO_PRE_PIN%,"Name",,"~Preview"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_MPEG_AES_PIN%,"Name",,"MPEG Audio ES"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_MPEG_VES_PIN%,"Name",,"MPEG Video ES"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_MPEG_PS_PIN%,"Name",, "MPEG2 Program"


;
;******** Board - Specific Registry Entries ***
;

;---- SAA7130 ----
[LVHybrid_30.AddReg]

; Prefix will be displayed in front of the device name on every filter
HKR, "Parameters","Prefix",,%LVHYBRID_CUSTOM_TUNERNAME%

; Reduces second pair of video/audio inputs
HKR, "Parameters","SmallXBar",0x00010001,0x01


;---- SAA7133 ----
[LVHybrid_33.AddReg]

; Prefix will be displayed in front of the device name on every filter
HKR, "Parameters","Prefix",,%LVHYBRID_CUSTOM_TUNERNAME%

; Reduces second pair of video/audio inputs
HKR, "Parameters","SmallXBar",0x00010001,0x01


;---- SAA7134 ----
[LVHybrid_34.AddReg]

; Prefix will be displayed in front of the device name on every filter
HKR, "Parameters","Prefix",,%LVHYBRID_CUSTOM_TUNERNAME%

; Reduces second pair of video/audio inputs
HKR, "Parameters","SmallXBar",0x00010001,0x01


[LVLegacy.AddReg]
HKR, "I2C Devices", "Force Registry Settings",0x00010001,0x01
;video mappings 
HKR, "VideoDecoder", "Tuner Channel",0x00010001,0x01
HKR, "VideoDecoder", "CVBS Channel",0x00010001,0x03
HKR, "VideoDecoder", "SVHS Channel",0x00010001,0x08
HKR, "VideoDecoder", "FM Radio Channel",0x00010001,0xFF
;XTAL setting
HKR, "AudioDecoder", "XTAL",0x00010001,0x01
;tuner settings
HKR, "I2C Devices", "Number of I2C Devices",0x00010001,0x01

;-------------------------------
;Legacy audio mappings
;-------------------------------
[LVLegacy_30.AddReg]
HKR, "AudioDecoder", "Tuner Channel",0x00010001,0x03
HKR, "AudioDecoder", "CVBS Channel",0x00010001,0x03
HKR, "AudioDecoder", "SVHS Channel",0x00010001,0x03
HKR, "AudioDecoder", "FM Radio Channel",0x00010001,0x03

[LVLegacy_33.AddReg]
HKR, "AudioDecoder", "Tuner Channel",0x00010001,0x01
HKR, "AudioDecoder", "CVBS Channel",0x00010001,0x03
HKR, "AudioDecoder", "SVHS Channel",0x00010001,0x03
HKR, "AudioDecoder", "FM Radio Channel",0x00010001,0x01

[LVLegacy_34.AddReg]
HKR, "AudioDecoder", "Tuner Channel",0x00010001,0x01
HKR, "AudioDecoder", "CVBS Channel",0x00010001,0x03
HKR, "AudioDecoder", "SVHS Channel",0x00010001,0x03
HKR, "AudioDecoder", "FM Radio Channel",0x00010001,0x03

;-------------------------------
;Legacy board settings
;-------------------------------
[LVLegacy0138.AddReg]
;gpio mappings
HKR, "GPIO", "Config",0x00010001,0x0000E000
;audio switch
HKR, "Audio", "GPIOAudioSwitch",0x00010001,0x01
;tuner settings
HKR, "I2C Devices", "Device 0, Data1",0x00010001,0x10000001
HKR, "I2C Devices", "Device 0, Data2",0x00010001,0xC2
HKR, "I2C Devices", "Device 0, Data3",0x00010001,0x86
HKR, "I2C Devices", "Device 0, Data4",0x00010001,0xFF
HKR, "I2C Devices", "Device 0, Data5",0x00010001,0x01
HKR, "I2C Devices", "Device 0, Data6",0x00010001,0x30

[LVLegacy0214.AddReg]
;gpio mappings
HKR, "GPIO", "Config",0x00010001,0x00010000
;audio switch
;HKR, "Audio", "GPIOAudioSwitch",0x00010001,0x00
;tuner settings
HKR, "I2C Devices", "Device 0, Data1",0x00010001,0x10000002
HKR, "I2C Devices", "Device 0, Data2",0x00010001,0xC2
HKR, "I2C Devices", "Device 0, Data3",0x00010001,0x96
HKR, "I2C Devices", "Device 0, Data4",0x00010001,0xFF
HKR, "I2C Devices", "Device 0, Data5",0x00010001,0x02
HKR, "I2C Devices", "Device 0, Data6",0x00010001,0x30
HKR, "I2C Devices", "Device 0, Data7",0x00010001,0x10


;======================================
;
;           Strings Defines
;
;======================================

[Strings]
;-------------------------------
; Capture Filter Pin Name GUIDs
;-------------------------------
AVSTREAM_ANLG_AUDIO_IN_PIN   = "{7BB284B9-714D-493d-A101-B1B028E782BD}"
AVSTREAM_ANLG_AUDIO_OUT_PIN  = "{5582E657-E596-42b5-9DB3-541B27A2355F}"
AVSTREAM_ANLG_VIDEO_ITU_PIN  = "{82631A2E-403C-4581-A4B0-EC173D004410}"
AVSTREAM_ANLG_AUDIO_I2S_PIN  = "{C2E46358-F032-4d88-B802-06B59D162730}"
AVSTREAM_ANLG_VIDEO_CAP_PIN  = "{16FFBD0A-F770-4692-A2FF-DD394DFE9564}"
AVSTREAM_ANLG_VIDEO_PRE_PIN  = "{A19F6121-9CF7-4081-8053-256668FCBE1F}"
AVSTREAM_ANLG_AUDIO_CAP_PIN  = "{BA9E27B1-CF44-490e-8EAB-5F662E5FFE74}"
AVSTREAM_MPEG_AES_PIN        = "{9DEC84B9-BCEF-4aac-997E-43EDD0A2D6C7}"
AVSTREAM_MPEG_VES_PIN        = "{181CF87E-7741-47ba-8629-22347E03C64C}"
AVSTREAM_MPEG_PS_PIN         = "{DDA87B83-65DB-4aec-82D0-79FBE67D2BB6}"


;--------------------
; System Defines
;--------------------
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
FLG_REGSVR_DLLREGISTER   = 0x00000001


;***********************************************************
;                      !!! ATTENTION !!!
; Customer Strings:
;   The following strings MUST be changed, if the driver has
;   been customized, to not interfere with the original one.
;
;************************************************************

;--- Driver names for 32/64 bit OS ---
DRIVER_NAME_X32               = "LVHybrid.sys"
DRIVER_NAME_X64               = "LVHybr64.sys"

;--- Catalog file (signature) names for 32/64 bit OS ---
SIGNATURE_NAME_X32            = "LVHybrid.cat"
SIGNATURE_NAME_X64            = "LVHybr64.cat"

;--- Coinstaller DLL name for 32/64 bit OS ---
COINSTALLER_NAME_X32          = "LV34CoInst.dll"
;COINSTALLER_NAME_X64          = "3xCoInstX64.dll"

;--- Service names linked to the driver binary ---
SERVICE_NAME_X32              = "LVHybrid"
SERVICE_NAME_X64              = "LVHybr64"
SERVICE_DESCRIPTION           = "Lifeview 713x capture driver"

;--- Name displayed in the device manager ---
DISPLAY_NAME                  = "LVHybrid service"

;--- General names ---
PROVIDER                      = "Lifeview"
INSTALLATION_DISK             = "LVHybrid installation disk"

;***********************************************************
;
; Generic Strings:
;   Board Description (-> Displayed within e.g. Graphedit)
;
;***********************************************************

;*** Specific Names ***
;-----------------
LVHybrid.AudioDeviceDesc       = "Lifeview 713x Audio Capture Device"

LVHYBRID_CUSTOM_TUNERNAME      = "713x"

LR0138.DeviceDesc30	= "FlyTV Prime 30"
LR0138.DeviceDesc33	= "FlyTV Prime 33/35"
LR0138.DeviceDesc34	= "FlyTV Prime 34"

LR0212.DeviceDesc	= "FlyTV Platinum35 mini"
LR1212.DeviceDesc	= "FlyTV Platinum35 mini2"

LR0214.DeviceDesc30	= "FlyTV Platinum30"
LR0214.DeviceDesc33	= "FlyTV Platinum33/35"
LR0214.DeviceDesc34	= "FlyTV Platinum34"

LR0300.DeviceDesc	= "FlyDVB-S"
LR0301.DeviceDesc	= "FlyDVB-T"
LR0302.DeviceDesc	= "FlyDVB-S mini"
LR0303.DeviceDesc	= "FlyDVB-T mini"
LR0306.DeviceDesc	= "FlyDVB-T Duo"
LR3306.DeviceDesc	= "FlyDVB-T Hybrid"
LR0307.DeviceDesc	= "FlyDVB-T Duo mini"
LR3307.DeviceDesc	= "FlyDVB-T Hybrid mini"
LR0314.DeviceDesc	= "FlyTV Platinum Gold2"
LR0315.DeviceDesc	= "FlyTV Platinum mini3"
LR0319.DeviceDesc	= "FlyDVB Trio"
LR2319.DeviceDesc	= "FlyDVB-S Duo"
LR3319.DeviceDesc	= "FlyDVB Trio N"

LR0502.DeviceDesc	= "FlyDVB-T Duo CardBus"
LR1502.DeviceDesc	= "FlyTV CardBus"
LR2502.DeviceDesc	= "FlyDVB-T CardBus"
LR3502.DeviceDesc	= "FlyDVB-T Hybrid CardBus"
LR0520.DeviceDesc	= "FlyDVB Trio CardBus"
LR2520.DeviceDesc	= "FlyDVB-S Duo CardBus"
LR3520.DeviceDesc	= "FlyDVB Trio N CardBus"
