[Version]
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
LayoutFile=Layout.inf
Provider="TBS DTV"
DriverVer= 06/12/2025, 2.1.0.1
CatalogFile=tbs6522h.cat
PnpLockdown=1

[DestinationDirs]
DefaultDestDir=12

[ControlFlags]
ExcludeFromSelect=*
ExcludeFromSelect.NT=*

[Manufacturer]
%Mfg% = TBS, NTAMD64

[TBS]
%TBSDTV.DeviceDesc%= tbs6522hBDA.Device, PCI\VEN_544D&DEV_6178&SUBSYS_00046522

[TBS.NTAMD64]
%TBSDTV.DeviceDesc%= tbs6522hBDA.Device, PCI\VEN_544D&DEV_6178&SUBSYS_00046522
[SourceDisksNames]
1 = %TBS_disk%,

[SourceDisksFiles]
tbs6522h.sys  = 1

[tbs6522hBDA.Device.NT]
Include    = ks.inf, kscaptur.inf, bda.inf
Needs      = KS.Registration.NT,KSCAPTUR.Registration.NT,BDA.Installation.NT
AddReg     = tbs6522hBDA.AddReg
CopyFiles  = tbs6522hBDA.CopyFiles

[tbs6522hBDA.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,tbs6522h.sys
HKR,,PageOutWhenUnopened,3,00
HKR,,DontSuspendIfStreamsAreRunning,3,01



[tbs6522hBDA.CopyFiles]
tbs6522h.sys

;add service here
[tbs6522hBDA.Device.NT.Services]
AddService = TBS_tbs6522hBDA,0x00000002,tbs6522hBDA_Sevice.AddService

[tbs6522hBDA_Sevice.AddService]
DisplayName = %DVB_DEVICE_DISPLAYNAME%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 2                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\tbs6522h.sys
LoadOrderGroup = ExtendedBase

;add interfaces here
[tbs6522hBDA.Device.NT.Interfaces]
AddInterface={71985F48-1CA1-11d3-9CC8-00C04F7971E0},%KSSTRING_BdaSWTunerFilter%,tbs6522hBDA_Tuner.Interfaces
AddInterface={FD0A5AF4-B41D-11d2-9C95-00C04F7971E0},%KSSTRING_BdaSWCaptureFilter%,tbs6522hBDA_Capture.Interfaces

AddInterface={71985F48-1CA1-11d3-9CC8-00C04F7971E0},%KSSTRING_BdaSWTunerFilter_B%,tbs6522hBDA_Tuner_B.Interfaces
AddInterface={FD0A5AF4-B41D-11d2-9C95-00C04F7971E0},%KSSTRING_BdaSWCaptureFilter_B%,tbs6522hBDA_Capture_B.Interfaces

AddInterface={71985F48-1CA1-11d3-9CC8-00C04F7971E0},%KSSTRING_BdaSWTunerFilter_C%,tbs6522hBDA_Tuner_C.Interfaces
AddInterface={FD0A5AF4-B41D-11d2-9C95-00C04F7971E0},%KSSTRING_BdaSWCaptureFilter_C%,tbs6522hBDA_Capture_C.Interfaces

AddInterface={71985F48-1CA1-11d3-9CC8-00C04F7971E0},%KSSTRING_BdaSWTunerFilter_D%,tbs6522hBDA_Tuner_D.Interfaces
AddInterface={FD0A5AF4-B41D-11d2-9C95-00C04F7971E0},%KSSTRING_BdaSWCaptureFilter_D%,tbs6522hBDA_Capture_D.Interfaces

[tbs6522hBDA_Tuner.Interfaces]
AddReg=tbs6522hBDA_Tuner.Interface.AddReg

[tbs6522hBDA_Tuner.Interface.AddReg]
HKR,,CLSID,,%BDAPROXY.CLSID%
HKR,,FriendlyName,,%BDADEVICE_TUNER.FriendlyName%

[tbs6522hBDA_Tuner_B.Interfaces]
AddReg=tbs6522hBDA_Tuner_B.Interface.AddReg

[tbs6522hBDA_Tuner_B.Interface.AddReg]
HKR,,CLSID,,%BDAPROXY.CLSID%
HKR,,FriendlyName,,%BDADEVICE_TUNER_B.FriendlyName%

[tbs6522hBDA_Tuner_C.Interfaces]
AddReg=tbs6522hBDA_Tuner_C.Interface.AddReg

[tbs6522hBDA_Tuner_C.Interface.AddReg]
HKR,,CLSID,,%BDAPROXY.CLSID%
HKR,,FriendlyName,,%BDADEVICE_TUNER_C.FriendlyName%

[tbs6522hBDA_Tuner_D.Interfaces]
AddReg=tbs6522hBDA_Tuner_D.Interface.AddReg

[tbs6522hBDA_Tuner_D.Interface.AddReg]
HKR,,CLSID,,%BDAPROXY.CLSID%
HKR,,FriendlyName,,%BDADEVICE_TUNER_D.FriendlyName%


[tbs6522hBDA_Capture.Interfaces]
AddReg=tbs6522hBDA_Capture.Interface.AddReg

[tbs6522hBDA_Capture.Interface.AddReg]
HKR,,CLSID,,%BDAPROXY.CLSID%
HKR,,FriendlyName,,%BDADEVICE_CAPTURE.FriendlyName%

[tbs6522hBDA_Capture_B.Interfaces]
AddReg=tbs6522hBDA_Capture_B.Interface.AddReg

[tbs6522hBDA_Capture_B.Interface.AddReg]
HKR,,CLSID,,%BDAPROXY.CLSID%
HKR,,FriendlyName,,%BDADEVICE_CAPTURE_B.FriendlyName%

[tbs6522hBDA_Capture_C.Interfaces]
AddReg=tbs6522hBDA_Capture_C.Interface.AddReg

[tbs6522hBDA_Capture_C.Interface.AddReg]
HKR,,CLSID,,%BDAPROXY.CLSID%
HKR,,FriendlyName,,%BDADEVICE_CAPTURE_C.FriendlyName%

[tbs6522hBDA_Capture_D.Interfaces]
AddReg=tbs6522hBDA_Capture_D.Interface.AddReg

[tbs6522hBDA_Capture_D.Interface.AddReg]
HKR,,CLSID,,%BDAPROXY.CLSID%
HKR,,FriendlyName,,%BDADEVICE_CAPTURE_D.FriendlyName%

[Strings]
DVB_DEVICE_DISPLAYNAME="TBS 6522H BDA Tuner"
Mfg = "TBS DTV Technology Ltd."
BDADEVICE_TUNER.FriendlyName ="TBS 6522H Tuner 0"
BDADEVICE_CAPTURE.FriendlyName="TBS 6522H Capture 0"

BDADEVICE_TUNER_B.FriendlyName ="TBS 6522H Tuner 1"
BDADEVICE_CAPTURE_B.FriendlyName="TBS 6522H Capture 1"

BDADEVICE_TUNER_C.FriendlyName ="TBS 6522H Tuner 2"
BDADEVICE_CAPTURE_C.FriendlyName="TBS 6522H Capture 2"

BDADEVICE_TUNER_D.FriendlyName ="TBS 6522H Tuner 3"
BDADEVICE_CAPTURE_D.FriendlyName="TBS 6522H Capture 3"


BDAPROXY.CLSID= "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"

KSSTRING_BdaSWTunerFilter = "{1F7C3BFB-F6DD-483E-BA22-5E42D7F28FEA}"
KSSTRING_BdaSWCaptureFilter ="{08821E39-5A0D-48D9-A9F8-B87D6EE23622}"

KSSTRING_BdaSWTunerFilter_B = "{252B11D2-C4F8-473A-A4C8-DD17F2985F3E}"
KSSTRING_BdaSWCaptureFilter_B ="{15818FAF-6C8A-4FDE-912C-1CF3EE8BEFF1}"

KSSTRING_BdaSWTunerFilter_C = "{6A27CCCA-D36D-4664-81AB-4FF352B33271}"
KSSTRING_BdaSWCaptureFilter_C ="{652DDBA3-CE0B-4774-B8A6-31A04CC6421A}"

KSSTRING_BdaSWTunerFilter_D = "{6E8A6FEF-20A9-424A-9B4B-7FF5CB24F0AA}"
KSSTRING_BdaSWCaptureFilter_D ="{6BB81CCA-0312-4CBE-AAE0-31A21DFA8271}"





TBS_disk 		= "TBS 6522H Quad Tuners installation disk"
TBSDTV.DeviceDesc  	= "TBS 6522H Quad BDA Tuners"