;
; tbs5530.inf
;

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

[DestinationDirs]
DefaultDestDir=12

[ControlFlags]
ExcludeFromSelect=*
ExcludeFromSelect.NT=*

[Manufacturer]
%Mfg% = TBS, NTAMD64

[TBS]
"TBS 5530 DVB BDA"= TBSDVBT.Device,USB\VID_734C&PID_5530

[TBS.NTAMD64]
"TBS 5530 DVB BDA"= TBSDVBT.Device, USB\VID_734C&PID_5530


[SourceDisksNames]
1 = %TBS_disk%,,,""

[SourceDisksFiles]
TBS5530.sys  = 1

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

[TBSDVBT.Device.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,TBS5530.sys
HKR,,PageOutWhenUnopened,3,00
HKR,,DontSuspendIfStreamsAreRunning,3,01



[TBSDVBT.Device.CopyFiles]
TBS5530.sys

;add service here
[TBSDVBT.Device.NT.Services]
AddService = tbsBDA.TBS5530,0x00000002,TBSDVBT.Device_Sevice.AddService

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

;add interfaces here
[TBSDVBT.Device.NT.Interfaces]
AddInterface=%KSCATEGORY_BDATUNER%,%KSSTRING_BdaSWTunerFilter%,TBSDVBT.Device_Tuner.Interfaces
AddInterface=%KSCATEGORY_BDARECEIVER%,%KSSTRING_BdaSWCaptureFilter%,TBSDVBT.Device_Capture.Interfaces

[TBSDVBT.Device_Tuner.Interfaces]
AddReg=TBSDVBT.Device_Tuner.Interface.AddReg

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


[TBSDVBT.Device_Capture.Interfaces]
AddReg=TBSDVBT.Device_Capture.Interface.AddReg

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

[Strings]
DVB_DEVICE_DISPLAYNAME="TBS 5530 BDA Tuner"
Mfg = "TBS Technology Ltd."
BDADEVICE_TUNER.FriendlyName ="TBS 5530 BDA Tuner"
BDADEVICE_CAPTURE.FriendlyName="TBS 5530 BDA Capture"


KSCATEGORY_BDATUNER     = "{71985F48-1CA1-11d3-9CC8-00C04F7971E0}"
KSCATEGORY_BDARECEIVER  = "{FD0A5AF4-B41D-11d2-9C95-00C04F7971E0}"
BDAPROXY.CLSID= "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"

KSSTRING_BdaSWTunerFilter = "{B45B50FF-2D09-4bf2-A87C-EE4A7EF00857}"
KSSTRING_BdaSWCaptureFilter ="{BAE951BD-1CCC-4e16-88B6-B9E54F4E3FB3}"
TBS_disk = "TBS 5530 Driver Install Disk"
