;*****************************************************************************
;
; Copyright 2000 - 2008, NXP Semiconductors Germany GmbH
;
;   All rights are reserved. Reproduction in whole or in part is prohibited
;   without the written consent of the copyright owner.
; 
;   NXP reserves the right to make changes without notice at any time.
;   NXP makes no warranty, expressed, implied or statutory, including but
;   not limited to any implied warranty of merchantability or fitness for any
;   particular purpose, or that the use will not infringe any third party
;   patent, copyright or trademark. NXP must not be liable for any loss
;   or damage arising from its use.
;
;*****************************************************************************

;*****************************************************************************
;
; SAA713x Based - BDA TV Capture Driver
;
; Supported Platform: 32 bit, 64 bit (except Intel Itanium "IA64")
; Supported OS:       Windows XP and Windows Vista
;                     (Windows 2000 cannot handle "NTx86" lables)
;
; Note:
;  PNP ID's for cards without a Boot-EEPROM will show up as:
;   - "SUBSYS_00001131"
;  PNP ID's for cards with a Boot-EEPROM that is not programmed show up as:
;   - "SUBSYS_FFFFFFFF"
;
; Description:
;  For releases use at least 4-Part-PNP-ID's. Better add the revision too.
;	 For Intel "Itanium" 64 bit based systems please use the "ia64" INF or add
;  "NTIA64" sections to this INF file.
;
;  All strings in this INF file using capital letters and format "..._NAME".
;
;  The INF file mappes every reference board to one of three sections.
;  - ReferenceBoardSAA7130
;  - ReferenceBoardSAA7133 // SAA7131, SAA7133, SAA7135 have the same PNP id
;  - ReferenceBoardSAA7134
;  These sections exist for 32 bit (NTx86) and 64 bit (NTAMD64).
;  The "Proteus" card is an exception. It uses section "ReferenceBoardPROTEUS".
;  This design shows how to use the registry if no on-board EEPROM is present
;  or not programmed correctly.
;
;  Each board is assigned to one section e.g. "ReferenceBoardSAA7130.NTx86".
;  Each section has three entries e.g. "ReferenceBoardSAA7130.NTx86",
;   "ReferenceBoardSAA7130.NTx86.CoInstallers" and "...7130.NTx86.Services".
;  Inside the "ReferenceBoardSAA7130.NTx86" section entry, the board specific
;  registry settings section is called e.g. "ReferenceBoardSAA7130.AddReg".
;
;  In order to get your boards supported by this INF, take a look to all 
;  sections with title frames using (*).
;
;*****************************************************************************

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

;---------------------mm/dd/yyyy,version--------------------
DriverVer           = 08/12/2009,1.4.0.3
;                   -> Release
;-----------------------------------------------------------



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

;---> 32 BIT SUPPORT <---
[SupportedBoards.NTx86]
;*************************************************************
;(*) !!! Generic ID's, used for testing purposes only !!!    *
;    !!! Must be removed for official driver versions !!!    *
;*************************************************************
%REFERENCE_BOARD_SAA7130_NAME% = ReferenceBoardSAA7130.NTx86,PCI\VEN_1131&DEV_7130
%REFERENCE_BOARD_SAA7133_NAME% = ReferenceBoardSAA7133.NTx86,PCI\VEN_1131&DEV_7133
%REFERENCE_BOARD_SAA7134_NAME% = ReferenceBoardSAA7134.NTx86,PCI\VEN_1131&DEV_7134


;*************************************************************
;(*)                 4-Part-PNP Board ID's                   *
;*************************************************************
;******** Mercur, Tiger,... ***
%REFERENCE_BOARD_SAA7130_NAME% = ReferenceBoardSAA7130.NTx86,PCI\VEN_1131&DEV_7130&SUBSYS_20181131
%REFERENCE_BOARD_SAA7133_NAME% = ReferenceBoardSAA7133.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_20181131
%REFERENCE_BOARD_SAA7134_NAME% = ReferenceBoardSAA7134.NTx86,PCI\VEN_1131&DEV_7134&SUBSYS_20181131

;******** Europa (1-3), Snake, Tough, Smart, Clever ***
%REFERENCE_BOARD_SAA7130_NAME% = ReferenceBoardSAA7130.NTx86,PCI\VEN_1131&DEV_7130&SUBSYS_20041131
%REFERENCE_BOARD_SAA7133_NAME% = ReferenceBoardSAA7133.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_20041131
%REFERENCE_BOARD_SAA7134_NAME% = ReferenceBoardSAA7134.NTx86,PCI\VEN_1131&DEV_7134&SUBSYS_20041131

;******** Europa (4.x) ***
%REFERENCE_BOARD_SAA7133_NAME% = ReferenceBoardSAA7133.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_20061131

;******** Proteus ***
%REFERENCE_BOARD_SAA7130_NAME% = ReferenceBoardPROTEUS.NTx86,PCI\VEN_1131&DEV_7130&SUBSYS_20011131
%REFERENCE_BOARD_SAA7133_NAME% = ReferenceBoardPROTEUS.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_20011131
%REFERENCE_BOARD_SAA7134_NAME% = ReferenceBoardPROTEUS.NTx86,PCI\VEN_1131&DEV_7134&SUBSYS_20011131


;---> 64 BIT SUPPORT <---
[SupportedBoards.NTAMD64]
;*************************************************************
;(*) !!! Generic ID's, used for testing purposes only !!!    *
;*************************************************************
%REFERENCE_BOARD_SAA7130_NAME% = ReferenceBoardSAA7130.NTAMD64,PCI\VEN_1131&DEV_7130
%REFERENCE_BOARD_SAA7133_NAME% = ReferenceBoardSAA7133.NTAMD64,PCI\VEN_1131&DEV_7133
%REFERENCE_BOARD_SAA7134_NAME% = ReferenceBoardSAA7134.NTAMD64,PCI\VEN_1131&DEV_7134


;*************************************************************
;(*)                 4-Part-PNP Board ID's                   *
;*************************************************************
;******** Mercur, Tiger,... ***
%REFERENCE_BOARD_SAA7130_NAME% = ReferenceBoardSAA7130.NTAMD64,PCI\VEN_1131&DEV_7130&SUBSYS_20181131
%REFERENCE_BOARD_SAA7133_NAME% = ReferenceBoardSAA7133.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_20181131
%REFERENCE_BOARD_SAA7134_NAME% = ReferenceBoardSAA7134.NTAMD64,PCI\VEN_1131&DEV_7134&SUBSYS_20181131

;******** Europa (1-3), Snake, Tough, Smart, Clever ***
%REFERENCE_BOARD_SAA7130_NAME% = ReferenceBoardSAA7130.NTAMD64,PCI\VEN_1131&DEV_7130&SUBSYS_20041131
%REFERENCE_BOARD_SAA7133_NAME% = ReferenceBoardSAA7133.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_20041131
%REFERENCE_BOARD_SAA7134_NAME% = ReferenceBoardSAA7134.NTAMD64,PCI\VEN_1131&DEV_7134&SUBSYS_20041131

;******** Europa (4.x) ***
%REFERENCE_BOARD_SAA7133_NAME% = ReferenceBoardSAA7133.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_20061131

;******** Proteus ***
%REFERENCE_BOARD_SAA7130_NAME% = ReferenceBoardPROTEUS.NTAMD64,PCI\VEN_1131&DEV_7130&SUBSYS_20011131
%REFERENCE_BOARD_SAA7133_NAME% = ReferenceBoardPROTEUS.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_20011131
%REFERENCE_BOARD_SAA7134_NAME% = ReferenceBoardPROTEUS.NTAMD64,PCI\VEN_1131&DEV_7134&SUBSYS_20011131


;======================================
;
;     Files and folder definitions
;
;======================================
[SourceDisksNames]
1 = %INSTALLATION_DISK_NAME%,,

[SourceDisksFiles]
3xHybrid.sys           = 1
3xHybr64.sys           = 1
NXPMV32.dll            = 1
NXPMV64.dll            = 1
34CoInstaller.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]
NXPMV32.dll
34CoInstaller.dll

[SectionX64.CopyDll.NTAMD64]
NXPMV64.dll

[SectionX32.CopyDriver.NTx86]
3xHybrid.sys

[SectionX64.CopyDriver.NTAMD64]
3xHybr64.sys


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

;**********************************************
;(*)     SAA7130 Reference Boards - 32 Bit    
;**********************************************
[ReferenceBoardSAA7130.NTx86.CoInstallers]
CopyFiles     = SectionX32.CopyDll.NTx86
AddReg        = SectionX32.DllAddReg.NTx86

[ReferenceBoardSAA7130.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
DelReg        = SectionX32.DelReg.NTx86
AddReg        = SectionX32.AddReg.NTx86, ReferenceBoardSAA7130.AddReg
RegisterDlls  = SectionX32.Register.NTx86

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


;**********************************************
;(*)     SAA7130 Reference Boards - 64 Bit
;**********************************************
[ReferenceBoardSAA7130.NTAMD64.CoInstallers]
CopyFiles     = SectionX64.CopyDll.NTAMD64
AddReg        = SectionX64.DllAddReg.NTAMD64

[ReferenceBoardSAA7130.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
DelReg        = SectionX32.DelReg.NTAMD64
AddReg        = SectionX64.AddReg.NTAMD64, ReferenceBoardSAA7130.AddReg
RegisterDlls  = SectionX64.Register.NTAMD64

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


;**********************************************
;(*)     SAA7133 Reference Boards - 32 Bit
;**********************************************
[ReferenceBoardSAA7133.NTx86.CoInstallers]
CopyFiles     = SectionX32.CopyDll.NTx86
AddReg        = SectionX32.DllAddReg.NTx86

[ReferenceBoardSAA7133.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
DelReg        = SectionX32.DelReg.NTx86
AddReg        = SectionX32.AddReg.NTx86, ReferenceBoardSAA7133.AddReg
RegisterDlls  = SectionX32.Register.NTx86

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


;**********************************************
;(*)     SAA7133 Reference Boards - 64 Bit
;**********************************************
[ReferenceBoardSAA7133.NTAMD64.CoInstallers]
CopyFiles     = SectionX64.CopyDll.NTAMD64
AddReg        = SectionX64.DllAddReg.NTAMD64

[ReferenceBoardSAA7133.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
DelReg        = SectionX32.DelReg.NTAMD64
AddReg        = SectionX64.AddReg.NTAMD64, ReferenceBoardSAA7133.AddReg
RegisterDlls  = SectionX64.Register.NTAMD64

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


;**********************************************
;(*)     SAA7134 Reference Boards - 32 Bit
;**********************************************
[ReferenceBoardSAA7134.NTx86.CoInstallers]
CopyFiles     = SectionX32.CopyDll.NTx86
AddReg        = SectionX32.DllAddReg.NTx86

[ReferenceBoardSAA7134.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
DelReg        = SectionX32.DelReg.NTx86
AddReg        = SectionX32.AddReg.NTx86, ReferenceBoardSAA7134.AddReg
RegisterDlls  = SectionX32.Register.NTx86

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


;**********************************************
;(*)     SAA7134 Reference Boards - 64 Bit
;**********************************************
[ReferenceBoardSAA7134.NTAMD64.CoInstallers]
CopyFiles     = SectionX64.CopyDll.NTAMD64
AddReg        = SectionX64.DllAddReg.NTAMD64

[ReferenceBoardSAA7134.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
DelReg        = SectionX32.DelReg.NTAMD64
AddReg        = SectionX64.AddReg.NTAMD64, ReferenceBoardSAA7134.AddReg
RegisterDlls  = SectionX64.Register.NTAMD64

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


;***********************************************
;(*)     "Proteus" Reference Board - 32 Bit
;***********************************************
[ReferenceBoardPROTEUS.NTx86.CoInstallers]
CopyFiles     = SectionX32.CopyDll.NTx86
AddReg        = SectionX32.DllAddReg.NTx86

[ReferenceBoardPROTEUS.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
DelReg        = SectionX32.DelReg.NTx86
AddReg        = SectionX32.AddReg.NTx86, ReferenceBoardPROTEUS.AddReg
RegisterDlls  = SectionX32.Register.NTx86

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


;***********************************************
;(*)     "Proteus" Reference Board - 64 Bit
;***********************************************
[ReferenceBoardPROTEUS.NTAMD64.CoInstallers]
CopyFiles     = SectionX64.CopyDll.NTAMD64
AddReg        = SectionX64.DllAddReg.NTAMD64

[ReferenceBoardPROTEUS.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
DelReg        = SectionX32.DelReg.NTAMD64
AddReg        = SectionX64.AddReg.NTAMD64, ReferenceBoardPROTEUS.AddReg
RegisterDlls  = SectionX64.Register.NTAMD64

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


;================================================
;
; General Section, used by all reference designs 
;
;================================================

[SectionX32.ServiceInstall.NTx86]
DisplayName   = %DISPLAY_NAME%
Description   = %SERVICE_DESCRIPTION_NAME%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\3xHybrid.sys      ;//should be %12%\%DRIVER_NAME_X32%, but there is a bug in the INF chk tool


[SectionX64.ServiceInstall.NTAMD64]
DisplayName   = %DISPLAY_NAME%
Description   = %SERVICE_DESCRIPTION_NAME%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\3xHybr64.sys      ;//should be %12%\%DRIVER_NAME_X64%, but there is a bug in the INF chk tool



;======================================
;
;           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,"34CoInstaller.dll, CoInstallerEntry"

[SectionX64.DllAddReg.NTAMD64]
;;; // nothing to do, for x64 we do not use a co-installer dll

[SectionX32.Register.NTx86]
11,,NXPMV32.dll,1 ;//FLG_REGSVR_DLLREGISTER

[SectionX64.Register.NTAMD64]
11,,NXPMV64.dll,1 ;//FLG_REGSVR_DLLREGISTER


;======================================
;   General Driver Registry Entries
;======================================
[SectionX32.DelReg.NTx86]
; *** Sample of how to clean up the registry before writing new keys
;     when the driver is being updated ***
;;;HKLM,SYSTEM\CurrentControlSet\Services\%__SERVICE_NAME__%  ;// Sample line!!! NEVER use it!!!
HKR, "Parameters"      ; Full registry key with all subkeys/data will be deleted
HKR, "I2C Devices"     ; Full registry key with all subkeys/data will be deleted
HKR, "VideoDecoder"    ; Full registry key with all subkeys/data will be deleted
HKR, "AudioDecoder"    ; Full registry key with all subkeys/data will be deleted


[SectionX32.AddReg.NTx86]
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,3xHybrid.sys

; --- 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,,%AUDIO_DEVICE_NAME%
HKR,Drivers\mixer\wdmaud.drv,Description,,%AUDIO_DEVICE_NAME%

; 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"


[SectionX32.DelReg.NTAMD64]
; *** Sample of how to clean up the registry before writing new keys
;     when the driver is being updated ***
;;;HKLM,SYSTEM\CurrentControlSet\Services\%SERVICE_NAME_X32%  ;// Sample line!!! NEVER use it!!!
HKR, "Parameters"      ; Full registry key with all subkeys/data will be deleted
HKR, "I2C Devices"     ; Full registry key with all subkeys/data will be deleted
HKR, "VideoDecoder"    ; Full registry key with all subkeys/data will be deleted
HKR, "AudioDecoder"    ; Full registry key with all subkeys/data will be deleted


[SectionX64.AddReg.NTAMD64]
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,3xHybr64.sys

; --- 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,,%AUDIO_DEVICE_NAME%
HKR,Drivers\mixer\wdmaud.drv,Description,,%AUDIO_DEVICE_NAME%

; 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 Reference Boards
;**********************************************
[ReferenceBoardSAA7130.AddReg]

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

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


;**********************************************
;(*)       SAA7133 Reference Boards
;**********************************************
[ReferenceBoardSAA7133.AddReg]

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

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


;**********************************************
;(*)       SAA7134 Reference Boards
;**********************************************
[ReferenceBoardSAA7134.AddReg]

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

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


;**********************************************
;(*)       PROTEUS Reference Board
;**********************************************
[ReferenceBoardPROTEUS.AddReg]
; Prefix will be displayed in front of the device name on every filter
HKR, "Parameters","Prefix",,%CUSTOMIZED_FILTER_PREFIX_NAME%

; SmallXBar=0: XBar inputs => Tuner, Composite1, S-Video1, Composite2, S-Video2
; SmallXBar=1: XBar inputs => Tuner, Composite1, S-Video1
HKR, "Parameters", "SmallXBar",0x00010001,1

HKR, "I2C Devices", "Force Registry Settings",0x00010001,0x01
HKR, "VideoDecoder", "Tuner Channel",0x00010001,0x01
HKR, "VideoDecoder", "CVBS Channel",0x00010001,0x00
HKR, "VideoDecoder", "SVHS Channel",0x00010001,0x06
;HKR, "VideoDecoder", "FM Radio Channel",0x00010001,0x00

HKR, "AudioDecoder", "Tuner Channel",0x00010001,0x01
HKR, "AudioDecoder", "CVBS Channel",0x00010001,0x02
HKR, "AudioDecoder", "SVHS Channel",0x00010001,0x02
;HKR, "AudioDecoder", "FM Radio Channel",0x00010001,0x02
;HKR, "AudioDecoder", "XTAL",0x00010001,0x0                ;Default = 32MHz

HKR, "I2C Devices", "Number of I2C Devices",0x00010001,0x01
HKR, "I2C Devices", "Device 0, Data1",0x00010001,0x03  ; Tuner ID
HKR, "I2C Devices", "Device 0, Data2",0x00010001,0xC0  ; Tuner slave addr.
HKR, "I2C Devices", "Device 0, Data3",0x00010001,0x86  ; Tuner IF PLL slave addr.
;HKR, "I2C Devices", "Device 0, Data4",0x00010001,0x0   ; Demod slave addr.
;HKR, "I2C Devices", "Device 0, Data5",0x00010001,0x0   ; Size of add. data
;HKR, "I2C Devices", "Device 0, Data6",0x00010001,0x0   ; Add. data #1
;HKR, "I2C Devices", "Device 0, Data7",0x00010001,0x0   ; Add. data #2
;HKR, "I2C Devices", "Device 0, Data8",0x00010001,0x0   ; Add. data #3


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

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

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

;--- Service names linked to the driver binary ---
SERVICE_NAME_X32              = "3xHybrid"
SERVICE_NAME_X64              = "3xHybr64"
SERVICE_DESCRIPTION_NAME      = "Philips SAA713x BDA Capture Driver"

;--- Name displayed in the device manager ---
DISPLAY_NAME                  = "Philips SAA713x PCI Card"

;--- General names ---
PROVIDER_NAME                 = "Philips Semiconductors"
INSTALLATION_DISK_NAME        = "Philips SAA713x Driver Installation Disk"


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

AUDIO_DEVICE_NAME             = "Philips SAA713x Audio Capture Device"
CUSTOMIZED_FILTER_PREFIX_NAME = "713x"

REFERENCE_BOARD_SAA7130_NAME  = "Philips SAA7130, Hybrid Capture Device"
REFERENCE_BOARD_SAA7133_NAME  = "Philips SAA7133/35, Hybrid Capture Device"
REFERENCE_BOARD_SAA7134_NAME  = "Philips SAA7134, Hybrid Capture Device"
