;*****************************************************************************
; 
; Installation inf file for SAA713x Based - BDA TV Capture Driver
; Copyright 2006, DTV-DVB
;
;*****************************************************************************

[Version]
signature           = "$CHICAGO$" ;All Windows OS
Class               = MEDIA
ClassGUID           = {4d36e96c-e325-11ce-bfc1-08002be10318}
Provider            = %DTV-DVB%
DriverVer           = 06/22/2006,1.3.3.5
CatalogFile         = 3xHybrid.cat
CatalogFile.NTAMD64 = AMD\3xHybr64.cat
CatalogFile.NTIA64  = IA64\3xHybrid.cat


[Manufacturer]
%MfgName%  = DTV-DVB, NTAMD64, NTIA64

[DTV-DVB]
%3xHybrid_33.DeviceDesc% = 3xHybrid_33,PCI\VEN_1131&DEV_7133&SUBSYS_20181131
%3xHybrid_33.DeviceDesc% = 3xHybrid_33,PCI\VEN_1131&DEV_7133&SUBSYS_00221822

[DTV-DVB.NTAMD64]
%3xHybrid_33.DeviceDesc% = 3xHybrid_33.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_20181131
%3xHybrid_33.DeviceDesc% = 3xHybrid_33,NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_00221822

[DTV-DVB.NTIA64]
%3xHybrid_33.DeviceDesc% = 3xHybrid_33.NTIA64,PCI\VEN_1131&DEV_7133&SUBSYS_20181131
%3xHybrid_33.DeviceDesc% = 3xHybrid_33,NTIA64,PCI\VEN_1131&DEV_7133&SUBSYS_00221822

[SourceDisksNames]
1 = %INSTALLATION_DISK%,,

[SourceDisksNames.AMD64]
1 = %INSTALLATION_DISK%, 3xHybrid.inf, , \AMD64

[SourceDisksNames.IA64]
1 = %INSTALLATION_DISK%, 3xHybrid.inf, , \IAD64


[SourceDisksFiles]
3xHybrid.sys           = 1
3xHybr64.sys           = 1
34CoInstaller.dll      = 1


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



[SectionX32.CopyDll]
34CoInstaller.dll


[SectionX64.CopyDll.NTAMD64]


[SectionX32.CopyDriver]
3xHybrid.sys


[SectionX64.CopyDriver.NTAMD64]
3xHybr64.sys

[SectionIA64.CopyDll.NTIA64]


[SectionIA64.CopyDriver.NTIA64]
3xHybrid.sys


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

;******** SAA7133 x32 ***
[3xHybrid_33.CoInstallers]
CopyFiles     = SectionX32.CopyDll
AddReg        = SectionX32.DllAddReg

[3xHybrid_33]
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, SectionX32.CopyDll
AddReg        = SectionX32.AddReg, 3xHybrid_33.AddReg

[3xHybrid_33.Services]
AddService    = %SERVICE_NAME_X32%, 0x00000002, SectionX32.ServiceInstall


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

[3xHybrid_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, SectionX64.CopyDll.NTAMD64
AddReg        = SectionX64.AddReg.NTAMD64, 3xHybrid_33.AddReg

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

;******** SAA7133 IA64 ***
[3xHybrid_33.NTIA64.CoInstallers]
CopyFiles     = SectionIA64.CopyDll.NTIA64
AddReg        = SectionIA64.DllAddReg.NTIA64

[3xHybrid_33.NTIA64]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration.NT, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionIA64.CopyDriver.NTIA64, SectionIA64.CopyDll.NTIA64
AddReg        = SectionIA64.AddReg.NTIA64, 3xHybrid_33.AddReg

[3xHybrid_33.NTIA64.Services]
AddService    = %SERVICE_NAME_IA64%, 0x00000002, SectionIA64.ServiceInstall.NTIA64

;******** GENERAL x32 ***
[SectionX32.ServiceInstall]
DisplayName   = %DISPLAY_NAME%
Description   = %SERVICE_DESCRIPTION%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\3xHybrid.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%\3xHybr64.sys

;******** GENERAL IA64 ***
[SectionIA64.ServiceInstall.NTIA64]
DisplayName   = %DISPLAY_NAME%
Description   = %SERVICE_DESCRIPTION%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\3xHybrid.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]
HKR,,CoInstallers32,0x00010000,"34CoInstaller.dll, CoInstallerEntry"


[SectionX64.DllAddReg.NTAMD64]

[SectionIA64.DllAddReg.NTIA64]

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

[SectionX32.AddReg]

HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,3xHybrid.sys

;Disabe HID driver install
;HKR,"ENUM\Device1",pnpid,,"3056HID.VIRTUAL"

; --- Registry Entries For Audio Capture ---
HKR,,Driver,,3xHybrid.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,,%3xHybrid.AudioDeviceDesc%
HKR,Drivers\mixer\wdmaud.drv,Description,,%3xHybrid.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_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"

; HID Enable
;HKR,"Parameters","HID_Enable",0x00010001, 0x01

[SectionX64.AddReg.NTAMD64]

HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,3xHybr64.sys

;Disabe HID driver install
;HKR,"ENUM\Device1",pnpid,,"3056HID.VIRTUAL"

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

HKR,,Driver,,3xHybr64.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,,"3xHybrid Audio Capture Device"
HKR,Drivers\mixer\wdmaud.drv,Description,,"3xHybrid 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_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"

; HID Enable
;HKR,"Parameters","HID_Enable",0x00010001, 0x01


[SectionIA64.AddReg.NTIA64]

HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,3xHybrid.sys

;Disabe HID driver install
;HKR,"ENUM\Device1",pnpid,,"3056HID.VIRTUAL"

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

HKR,,Driver,,3xHybrid.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,,"3xHybrid Audio Capture Device"
HKR,Drivers\mixer\wdmaud.drv,Description,,"3xHybrid 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_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"

; HID Enable
;HKR,"Parameters","HID_Enable",0x00010001, 0x01

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

;---- SAA7133 ----
[3xHybrid_33.AddReg]

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

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

;======================================
;
;           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_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


;------------------------------------------------------------
; Customer 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               = "3xHybrid.sys"
DRIVER_NAME_X64               = "3xHybr64.sys"
DRIVER_NAME_IA64              = "3xHybrid.sys"

;--- Catalog file (signature) names for 32/64 bit OS ---
SIGNATURE_NAME_X32            = "3xHybrid.cat"
SIGNATURE_NAME_X64            = "3xHybr64.cat"
SIGNATURE_NAME_IA64           = "3xHybrid.cat"

;--- Coinstaller DLL name for 32/64 bit OS ---
COINSTALLER_NAME_X32          = "34CoInstaller.dll"
COINSTALLER_NAME_X64          = "3xCoInstX64.dll"
COINSTALLER_NAME_IA64         = "3xCoInstIA64.dll"

;--- Service names linked to the driver binary ---
SERVICE_NAME_X32              = "3xHybrid"
SERVICE_NAME_X64              = "3xHybr64"
SERVICE_NAME_IA64             = "3xHybrIA"

SERVICE_DESCRIPTION           = "DTV-DVB 3056 BDA Capture Driver"

;--- Name displayed in the device manager ---
DISPLAY_NAME                  = "DTV-DVB 3056 PCI Card"

;--- General names ---

DTV-DVB = "DTV-DVB"
MfgName	= "DTV-DVB"
INSTALLATION_DISK             = "DTV-DVB 3056 Driver Installation Disk"

;----------------------------------------------------------
; Board Description
;
; -> Displayed within e.g. Graphedit
;
;----------------------------------------------------------

;*** Specific Names ***
;-----------------
3xHybrid.AudioDeviceDesc       = "DTV-DVB 3056 Audio Capture Device"
3xHybrid_CUSTOM_TUNERNAME      = "3056"
3xHybrid_33.DeviceDesc         = "DTV-DVB 3056, Hybrid Capture Device"
