;**************************************************************
;
; Copyright 2000 - 2006, Philips Semiconductors GmbH
;
;   KWorld - BDA Hybrid TV Capture Driver
;
;**************************************************************

[Version]
signature           = "$CHICAGO$" ;All Windows OS
Class               = MEDIA
ClassGUID           = {4d36e96c-e325-11ce-bfc1-08002be10318}
Provider            = %PROVIDER%
PNPLockDown         = 1 ;;; Lock driver against 3rd party application changes
DriverVer=04/03/2007,6.0.6000.16420
CatalogFile=Ph3xIBC11.CAT


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

;---> 32 BIT SUPPORT <---
[SupportedBoards.NTx86...1]

%BOARD_01.DeviceDesc% = BOARD_01.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_725017DE  ; (K) PCI Hybrid 8275A
%BOARD_02.DeviceDesc% = BOARD_02.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_720117DE  ; (H) PCI Duo 8275A + 8275A
%BOARD_03.DeviceDesc% = BOARD_03.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_725117DE  ; (M) PCMCIA Hybrid 8275A FM
%BOARD_04.DeviceDesc% = BOARD_04.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_725217DE  ; (N) PCMCIA Hybrid 8275A
%BOARD_05.DeviceDesc% = BOARD_05.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_720317DE  ; (J) PCI Duo 8275A + 8275A
%BOARD_06.DeviceDesc% = BOARD_06.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_735017DE  ; (O) PCI Hybrid ATSC
%BOARD_07.DeviceDesc% = BOARD_07.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_735117DE  ; (P) PCI Hybrid ATSC
;%BOARD_08.DeviceDesc% = BOARD_08.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_713117DE  ; (A) PCI Analog 8275
;%BOARD_09.DeviceDesc% = BOARD_09.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_713517DE  ; (A) PCI Analog 8275
;%BOARD_10.DeviceDesc% = BOARD_10.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_713617DE  ; (B) PCI Analog 8275A
;%BOARD_11.DeviceDesc% = BOARD_11.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_713717DE  ; (C) PCMCIA Analog 8275 w/o FM
;%BOARD_12.DeviceDesc% = BOARD_12.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_713817DE  ; (D) PCMCIA Analog 8275 FM
;%BOARD_13.DeviceDesc% = BOARD_13.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_720017DE  ; (E) PCI Duo 8275 + 8274
;%BOARD_14.DeviceDesc% = BOARD_14.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_713917DE  ; (F) PCMCIA Analog 8275A w/o FM
;%BOARD_15.DeviceDesc% = BOARD_15.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_713A17DE  ; (G) PCMCIA Analog 8275A FM
;%BOARD_16.DeviceDesc% = BOARD_16.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_720217DE  ; (I) PCMCIA Duo 8275 + 8274
;%BOARD_17.DeviceDesc% = BOARD_17.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_723017DE  ; (L) PCMCIA DVB-T 8275A


;---> 64 BIT SUPPORT <---
[SupportedBoards.NTAMD64...1]

%BOARD_01.DeviceDesc% = BOARD_01.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_725017DE  ; PCI Hybrid 8275A
%BOARD_02.DeviceDesc% = BOARD_02.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_720117DE  ; PCI Duo 8275A + 8275A
%BOARD_03.DeviceDesc% = BOARD_03.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_725117DE  ; PCMCIA Hybrid 8275A FM
%BOARD_04.DeviceDesc% = BOARD_04.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_725217DE  ; PCMCIA Hybrid 8275A
%BOARD_05.DeviceDesc% = BOARD_05.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_720317DE  ; PCI Duo 8275A + 8275A
%BOARD_06.DeviceDesc% = BOARD_06.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_735017DE  ; PCI Hybrid ATSC
%BOARD_07.DeviceDesc% = BOARD_07.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_735117DE  ; PCI Hybrid ATSC
;%BOARD_08.DeviceDesc% = BOARD_08.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_713117DE  ; PCI Analog 8275
;%BOARD_09.DeviceDesc% = BOARD_09.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_713517DE  ; PCI Analog 8275
;%BOARD_10.DeviceDesc% = BOARD_10.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_713617DE  ; PCI Analog 8275A
;%BOARD_11.DeviceDesc% = BOARD_11.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_713717DE  ; PCMCIA Analog 8275 w/o FM
;%BOARD_12.DeviceDesc% = BOARD_12.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_713817DE  ; PCMCIA Analog 8275 FM
;%BOARD_13.DeviceDesc% = BOARD_13.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_720017DE  ; PCI Duo 8275 + 8274
;%BOARD_14.DeviceDesc% = BOARD_14.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_713917DE  ; PCMCIA Analog 8275A w/o FM
;%BOARD_15.DeviceDesc% = BOARD_15.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_713A17DE  ; PCMCIA Analog 8275A FM
;%BOARD_16.DeviceDesc% = BOARD_16.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_720217DE  ; PCMCIA Duo 8275 + 8274
;%BOARD_17.DeviceDesc% = BOARD_17.NTAMD64,PCI\VEN_1131&DEV_7133&SUBSYS_723017DE  ; PCMCIA DVB-T 8275A


[SourceDisksNames]
1 = %INSTALLATION_DISK%,,


[SourceDisksFiles]
Ph3xIB32.sys           = 1
Ph3xIB64.sys           = 1
Ph3xIB32MV.dll         = 1
Ph3xIB64MV.dll         = 1


[DestinationDirs]
Ph3xIB32.CopyDll.NTx86      = 11
Ph3xIB64.CopyDll.NTAMD64    = 11
Ph3xIB32.CopyDriver.NTx86   = 10,system32\drivers
Ph3xIB64.CopyDriver.NTAMD64 = 10,system32\drivers


[Ph3xIB32.CopyDll.NTx86]
Ph3xIB32MV.dll


[Ph3xIB64.CopyDll.NTAMD64]
Ph3xIB64MV.dll


[Ph3xIB32.CopyDriver.NTx86]
Ph3xIB32.sys


[Ph3xIB64.CopyDriver.NTAMD64]
Ph3xIB64.sys



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

;******** BOARD_01 x32 ***
[BOARD_01.NTx86]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = Ph3xIB32.CopyDriver.NTx86, Ph3xIB32.CopyDll.NTx86
AddReg        = Ph3xIB32.AddReg.NTx86, BOARD_01.AddReg
RegisterDlls  = Ph3xIB32.Register.NTx86
AddProperty   = Ph3xIB32.AddProp.NTx86

[BOARD_01.NTx86.Services]
AddService    = %SERVICE_NAME_X32%, 0x00000002, Ph3xIB32.ServiceInstall.NTx86


;******** BOARD_01 x64 ***
[BOARD_01.NTAMD64]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = Ph3xIB64.CopyDriver.NTAMD64, Ph3xIB64.CopyDll.NTAMD64
AddReg        = Ph3xIB64.AddReg.NTAMD64, BOARD_01.AddReg
RegisterDlls  = Ph3xIB64.Register.NTAMD64
AddProperty   = Ph3xIB64.AddProp.NTAMD64

[BOARD_01.NTAMD64.Services]
AddService    = %SERVICE_NAME_X64%, 0x00000002, Ph3xIB64.ServiceInstall.NTAMD64


;******** BOARD_02 x32 ***
[BOARD_02.NTx86]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = Ph3xIB32.CopyDriver.NTx86, Ph3xIB32.CopyDll.NTx86
AddReg        = Ph3xIB32.AddReg.NTx86, BOARD_02.AddReg
RegisterDlls  = Ph3xIB32.Register.NTx86
AddProperty   = Ph3xIB32.AddProp.NTx86

[BOARD_02.NTx86.Services]
AddService    = %SERVICE_NAME_X32%, 0x00000002, Ph3xIB32.ServiceInstall.NTx86


;******** BOARD_02 x64 ***
[BOARD_02.NTAMD64]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = Ph3xIB64.CopyDriver.NTAMD64, Ph3xIB64.CopyDll.NTAMD64
AddReg        = Ph3xIB64.AddReg.NTAMD64, BOARD_02.AddReg
RegisterDlls  = Ph3xIB64.Register.NTAMD64
AddProperty   = Ph3xIB64.AddProp.NTAMD64

[BOARD_02.NTAMD64.Services]
AddService    = %SERVICE_NAME_X64%, 0x00000002, Ph3xIB64.ServiceInstall.NTAMD64


;******** BOARD_03 x32 ***
[BOARD_03.NTx86]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = Ph3xIB32.CopyDriver.NTx86, Ph3xIB32.CopyDll.NTx86
AddReg        = Ph3xIB32.AddReg.NTx86, BOARD_03.AddReg
RegisterDlls  = Ph3xIB32.Register.NTx86
AddProperty   = Ph3xIB32.AddProp.NTx86

[BOARD_03.NTx86.Services]
AddService    = %SERVICE_NAME_X32%, 0x00000002, Ph3xIB32.ServiceInstall.NTx86


;******** BOARD_03 x64 ***
[BOARD_03.NTAMD64]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = Ph3xIB64.CopyDriver.NTAMD64, Ph3xIB64.CopyDll.NTAMD64
AddReg        = Ph3xIB64.AddReg.NTAMD64, BOARD_03.AddReg
RegisterDlls  = Ph3xIB64.Register.NTAMD64
AddProperty   = Ph3xIB64.AddProp.NTAMD64

[BOARD_03.NTAMD64.Services]
AddService    = %SERVICE_NAME_X64%, 0x00000002, Ph3xIB64.ServiceInstall.NTAMD64


;******** BOARD_04 x32 ***
[BOARD_04.NTx86]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = Ph3xIB32.CopyDriver.NTx86, Ph3xIB32.CopyDll.NTx86
AddReg        = Ph3xIB32.AddReg.NTx86, BOARD_04.AddReg
RegisterDlls  = Ph3xIB32.Register.NTx86
AddProperty   = Ph3xIB32.AddProp.NTx86

[BOARD_04.NTx86.Services]
AddService    = %SERVICE_NAME_X32%, 0x00000002, Ph3xIB32.ServiceInstall.NTx86


;******** BOARD_04 x64 ***
[BOARD_04.NTAMD64]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = Ph3xIB64.CopyDriver.NTAMD64, Ph3xIB64.CopyDll.NTAMD64
AddReg        = Ph3xIB64.AddReg.NTAMD64, BOARD_04.AddReg
RegisterDlls  = Ph3xIB64.Register.NTAMD64
AddProperty   = Ph3xIB64.AddProp.NTAMD64

[BOARD_04.NTAMD64.Services]
AddService    = %SERVICE_NAME_X64%, 0x00000002, Ph3xIB64.ServiceInstall.NTAMD64


;******** BOARD_05 x32 ***
[BOARD_05.NTx86]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = Ph3xIB32.CopyDriver.NTx86, Ph3xIB32.CopyDll.NTx86
AddReg        = Ph3xIB32.AddReg.NTx86, BOARD_05.AddReg
RegisterDlls  = Ph3xIB32.Register.NTx86
AddProperty   = Ph3xIB32.AddProp.NTx86

[BOARD_05.NTx86.Services]
AddService    = %SERVICE_NAME_X32%, 0x00000002, Ph3xIB32.ServiceInstall.NTx86


;******** BOARD_05 x64 ***
[BOARD_05.NTAMD64]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = Ph3xIB64.CopyDriver.NTAMD64, Ph3xIB64.CopyDll.NTAMD64
AddReg        = Ph3xIB64.AddReg.NTAMD64, BOARD_05.AddReg
RegisterDlls  = Ph3xIB64.Register.NTAMD64
AddProperty   = Ph3xIB64.AddProp.NTAMD64

[BOARD_05.NTAMD64.Services]
AddService    = %SERVICE_NAME_X64%, 0x00000002, Ph3xIB64.ServiceInstall.NTAMD64


;******** BOARD_06 x32 ***
[BOARD_06.NTx86]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = Ph3xIB32.CopyDriver.NTx86, Ph3xIB32.CopyDll.NTx86
AddReg        = Ph3xIB32.AddReg.NTx86, BOARD_06.AddReg
RegisterDlls  = Ph3xIB32.Register.NTx86
AddProperty   = Ph3xIB32.AddProp.NTx86

[BOARD_06.NTx86.Services]
AddService    = %SERVICE_NAME_X32%, 0x00000002, Ph3xIB32.ServiceInstall.NTx86


;******** BOARD_06 x64 ***
[BOARD_06.NTAMD64]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = Ph3xIB64.CopyDriver.NTAMD64, Ph3xIB64.CopyDll.NTAMD64
AddReg        = Ph3xIB64.AddReg.NTAMD64, BOARD_06.AddReg
RegisterDlls  = Ph3xIB64.Register.NTAMD64
AddProperty   = Ph3xIB64.AddProp.NTAMD64

[BOARD_06.NTAMD64.Services]
AddService    = %SERVICE_NAME_X64%, 0x00000002, Ph3xIB64.ServiceInstall.NTAMD64


;******** BOARD_07 x32 ***
[BOARD_07.NTx86]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = Ph3xIB32.CopyDriver.NTx86, Ph3xIB32.CopyDll.NTx86
AddReg        = Ph3xIB32.AddReg.NTx86, BOARD_07.AddReg
RegisterDlls  = Ph3xIB32.Register.NTx86
AddProperty   = Ph3xIB32.AddProp.NTx86

[BOARD_07.NTx86.Services]
AddService    = %SERVICE_NAME_X32%, 0x00000002, Ph3xIB32.ServiceInstall.NTx86


;******** BOARD_07 x64 ***
[BOARD_07.NTAMD64]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = Ph3xIB64.CopyDriver.NTAMD64, Ph3xIB64.CopyDll.NTAMD64
AddReg        = Ph3xIB64.AddReg.NTAMD64, BOARD_07.AddReg
RegisterDlls  = Ph3xIB64.Register.NTAMD64
AddProperty   = Ph3xIB64.AddProp.NTAMD64

[BOARD_07.NTAMD64.Services]
AddService    = %SERVICE_NAME_X64%, 0x00000002, Ph3xIB64.ServiceInstall.NTAMD64


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


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



;======================================
;
;           Property Entries
;
;======================================
[Ph3xIB32.AddProp.NTx86]
GenericDriverInstalled,,,,1

[Ph3xIB64.AddProp.NTAMD64]
GenericDriverInstalled,,,,1


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

[Ph3xIB32.Register.NTx86]
11,,Ph3xIB32MV.dll,1 ;FLG_REGSVR_DLLREGISTER


[Ph3xIB64.Register.NTAMD64]
11,,Ph3xIB64MV.dll,1 ;FLG_REGSVR_DLLREGISTER


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

[Ph3xIB32.AddReg.NTx86]

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

; --- Registry Entries For Audio Capture ---
HKR,,Driver,,Ph3xIB32.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,,"Philips Audio Capture Device"
HKR,Drivers\mixer\wdmaud.drv,Description,,"Philips 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"

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

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


[Ph3xIB64.AddReg.NTAMD64]

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

; --- Registry Entries For Audio Capture ---
HKR,,Driver,,Ph3xIB64.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,,"Philips Audio Capture Device"
HKR,Drivers\mixer\wdmaud.drv,Description,,"Philips 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"

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

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


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

;---- BOARD_01 ----
[BOARD_01.AddReg]
; I2C Device settings
HKR, "I2C Devices", "Force Registry Settings",0x00010001,1
HKR, "I2C Devices", "Number of I2C Devices",0x00010001,1

HKR, "VideoDecoder", "Tuner Channel",0x00010001,1
HKR, "VideoDecoder", "CVBS Channel",0x00010001,3
HKR, "VideoDecoder", "SVHS Channel",0x00010001,8
HKR, "VideoDecoder", "FM Radio Channel",0x00010001,1

HKR, "AudioDecoder", "Tuner Channel",0x00010001,1
HKR, "AudioDecoder", "CVBS Channel",0x00010001,3
HKR, "AudioDecoder", "SVHS Channel",0x00010001,3
HKR, "AudioDecoder", "FM Radio Channel",0x00010001,1

HKR, "I2C Devices", "Device 0, Data1",0x00010001,0x21 ; Tuner ID
HKR, "I2C Devices", "Device 0, Data2",0x00010001,0xC2 ; Tuner slave addr.
HKR, "I2C Devices", "Device 0, Data3",0x00010001,0x96 ; Tuner IF PLL slave addr.
HKR, "I2C Devices", "Device 0, Data4",0x00010001,0x10 ; Tuner DEMOD slave addr.
HKR, "I2C Devices", "Device 0, Data5",0x00010001,0x03 ; # of Add. Data
HKR, "I2C Devices", "Device 0, Data6",0x00010001,0x32 ; Add. Data 1
HKR, "I2C Devices", "Device 0, Data7",0x00010001,0x15 ; Add. Data 2
HKR, "I2C Devices", "Device 0, Data8",0x00010001,0x06 ; Add. Data 3


;---- BOARD_02 ----
[BOARD_02.AddReg]
; I2C Device settings
HKR, "I2C Devices", "Force Registry Settings",0x00010001,1
HKR, "I2C Devices", "Number of I2C Devices",0x00010001,1

HKR, "VideoDecoder", "Tuner Channel",0x00010001,1
HKR, "VideoDecoder", "CVBS Channel",0x00010001,3
HKR, "VideoDecoder", "SVHS Channel",0x00010001,8
HKR, "VideoDecoder", "FM Radio Channel",0x00010001,1

HKR, "AudioDecoder", "Tuner Channel",0x00010001,1
HKR, "AudioDecoder", "CVBS Channel",0x00010001,3
HKR, "AudioDecoder", "SVHS Channel",0x00010001,3
HKR, "AudioDecoder", "FM Radio Channel",0x00010001,1

HKR, "I2C Devices", "Device 0, Data1",0x00010001,0x2B ; Tuner ID
HKR, "I2C Devices", "Device 0, Data2",0x00010001,0xC0 ; Tuner slave addr.
HKR, "I2C Devices", "Device 0, Data3",0x00010001,0x96 ; Tuner IF PLL slave addr.
HKR, "I2C Devices", "Device 0, Data4",0x00010001,0x10 ; Tuner DEMOD slave addr.
HKR, "I2C Devices", "Device 0, Data5",0x00010001,0x03 ; # of Add. Data
HKR, "I2C Devices", "Device 0, Data6",0x00010001,0xC2 ; Add. Data 1
HKR, "I2C Devices", "Device 0, Data7",0x00010001,0x96 ; Add. Data 2
HKR, "I2C Devices", "Device 0, Data8",0x00010001,0x32 ; Add. Data 3


;---- BOARD_03 ----
[BOARD_03.AddReg]
HKR, "Parameters", "Latency Timer",0x00010001,0x40

; I2C Device settings
HKR, "I2C Devices", "Force Registry Settings",0x00010001,1
HKR, "I2C Devices", "Number of I2C Devices",0x00010001,1

HKR, "VideoDecoder", "Tuner Channel",0x00010001,1
HKR, "VideoDecoder", "CVBS Channel",0x00010001,3
HKR, "VideoDecoder", "SVHS Channel",0x00010001,8
HKR, "VideoDecoder", "FM Radio Channel",0x00010001,1

HKR, "AudioDecoder", "Tuner Channel",0x00010001,1
HKR, "AudioDecoder", "CVBS Channel",0x00010001,3
HKR, "AudioDecoder", "SVHS Channel",0x00010001,3
HKR, "AudioDecoder", "FM Radio Channel",0x00010001,1

HKR, "I2C Devices", "Device 0, Data1",0x00010001,0x21 ; Tuner ID
HKR, "I2C Devices", "Device 0, Data2",0x00010001,0xC2 ; Tuner slave addr.
HKR, "I2C Devices", "Device 0, Data3",0x00010001,0x96 ; Tuner IF PLL slave addr.
HKR, "I2C Devices", "Device 0, Data4",0x00010001,0x10 ; Tuner DEMOD slave addr.
HKR, "I2C Devices", "Device 0, Data5",0x00010001,0x03 ; # of Add. Data
HKR, "I2C Devices", "Device 0, Data6",0x00010001,0x32 ; Add. Data 1
HKR, "I2C Devices", "Device 0, Data7",0x00010001,0x15 ; Add. Data 2
HKR, "I2C Devices", "Device 0, Data8",0x00010001,0x06 ; Add. Data 3


;---- BOARD_04 ----
[BOARD_04.AddReg]
HKR, "Parameters", "Latency Timer",0x00010001,0x40

; I2C Device settings
HKR, "I2C Devices", "Force Registry Settings",0x00010001,1
HKR, "I2C Devices", "Number of I2C Devices",0x00010001,1

HKR, "VideoDecoder", "Tuner Channel",0x00010001,1
HKR, "VideoDecoder", "CVBS Channel",0x00010001,3
HKR, "VideoDecoder", "SVHS Channel",0x00010001,8
HKR, "VideoDecoder", "FM Radio Channel",0x00010001,1

HKR, "AudioDecoder", "Tuner Channel",0x00010001,1
HKR, "AudioDecoder", "CVBS Channel",0x00010001,3
HKR, "AudioDecoder", "SVHS Channel",0x00010001,3
HKR, "AudioDecoder", "FM Radio Channel",0x00010001,1

HKR, "I2C Devices", "Device 0, Data1",0x00010001,0x21 ; Tuner ID
HKR, "I2C Devices", "Device 0, Data2",0x00010001,0xC2 ; Tuner slave addr.
HKR, "I2C Devices", "Device 0, Data3",0x00010001,0x96 ; Tuner IF PLL slave addr.
HKR, "I2C Devices", "Device 0, Data4",0x00010001,0x10 ; Tuner DEMOD slave addr.
HKR, "I2C Devices", "Device 0, Data5",0x00010001,0x03 ; # of Add. Data
HKR, "I2C Devices", "Device 0, Data6",0x00010001,0x22 ; Add. Data 1
HKR, "I2C Devices", "Device 0, Data7",0x00010001,0x15 ; Add. Data 2
HKR, "I2C Devices", "Device 0, Data8",0x00010001,0x06 ; Add. Data 3


;---- BOARD_05 ----
[BOARD_05.AddReg]
HKR, "Parameters", "Latency Timer",0x00010001,0x40

; I2C Device settings
HKR, "I2C Devices", "Force Registry Settings",0x00010001,1
HKR, "I2C Devices", "Number of I2C Devices",0x00010001,1

HKR, "VideoDecoder", "Tuner Channel",0x00010001,1
HKR, "VideoDecoder", "CVBS Channel",0x00010001,3
HKR, "VideoDecoder", "SVHS Channel",0x00010001,8
HKR, "VideoDecoder", "FM Radio Channel",0x00010001,1

HKR, "AudioDecoder", "Tuner Channel",0x00010001,1
HKR, "AudioDecoder", "CVBS Channel",0x00010001,3
HKR, "AudioDecoder", "SVHS Channel",0x00010001,3
HKR, "AudioDecoder", "FM Radio Channel",0x00010001,1

HKR, "I2C Devices", "Device 0, Data1",0x00010001,0x2B ; Tuner ID
HKR, "I2C Devices", "Device 0, Data2",0x00010001,0xC0 ; Tuner slave addr.
HKR, "I2C Devices", "Device 0, Data3",0x00010001,0x96 ; Tuner IF PLL slave addr.
HKR, "I2C Devices", "Device 0, Data4",0x00010001,0x10 ; Tuner DEMOD slave addr.
HKR, "I2C Devices", "Device 0, Data5",0x00010001,0x03 ; # of Add. Data
HKR, "I2C Devices", "Device 0, Data6",0x00010001,0xC2 ; Add. Data 1
HKR, "I2C Devices", "Device 0, Data7",0x00010001,0x96 ; Add. Data 2
HKR, "I2C Devices", "Device 0, Data8",0x00010001,0x22 ; Add. Data 3


;---- BOARD_06 ----
[BOARD_06.AddReg]
HKR, "Parameters", "SelAnalogInput",0x00010001,0x1

; I2C Device settings
HKR, "I2C Devices", "Force Registry Settings",0x00010001,1
HKR, "I2C Devices", "Number of I2C Devices",0x00010001,1

HKR, "VideoDecoder", "Tuner Channel",0x00010001,1
HKR, "VideoDecoder", "CVBS Channel",0x00010001,3
HKR, "VideoDecoder", "SVHS Channel",0x00010001,8
HKR, "VideoDecoder", "FM Radio Channel",0x00010001,1

HKR, "AudioDecoder", "Tuner Channel",0x00010001,1
HKR, "AudioDecoder", "CVBS Channel",0x00010001,3
HKR, "AudioDecoder", "SVHS Channel",0x00010001,3
HKR, "AudioDecoder", "FM Radio Channel",0x00010001,1

HKR, "I2C Devices", "Device 0, Data1",0x00010001,0x18 ; Tuner ID
HKR, "I2C Devices", "Device 0, Data2",0x00010001,0xC2 ; Tuner slave addr.
HKR, "I2C Devices", "Device 0, Data3",0x00010001,0x86 ; Tuner IF PLL slave addr.
HKR, "I2C Devices", "Device 0, Data4",0x00010001,0x00 ; Tuner DEMOD slave addr.
HKR, "I2C Devices", "Device 0, Data5",0x00010001,0xFF ; # of Add. Data
HKR, "I2C Devices", "Device 0, Data6",0x00010001,0x00 ; Add. Data 1
HKR, "I2C Devices", "Device 0, Data7",0x00010001,0x00 ; Add. Data 2
HKR, "I2C Devices", "Device 0, Data8",0x00010001,0x00 ; Add. Data 3


;---- BOARD_07 ----
[BOARD_07.AddReg]
; I2C Device settings
HKR, "I2C Devices", "Force Registry Settings",0x00010001,1
HKR, "I2C Devices", "Number of I2C Devices",0x00010001,1

HKR, "VideoDecoder", "Tuner Channel",0x00010001,1
HKR, "VideoDecoder", "CVBS Channel",0x00010001,3
HKR, "VideoDecoder", "SVHS Channel",0x00010001,8
HKR, "VideoDecoder", "FM Radio Channel",0x00010001,1

HKR, "AudioDecoder", "Tuner Channel",0x00010001,1
HKR, "AudioDecoder", "CVBS Channel",0x00010001,3
HKR, "AudioDecoder", "SVHS Channel",0x00010001,3
HKR, "AudioDecoder", "FM Radio Channel",0x00010001,1

HKR, "I2C Devices", "Device 0, Data1",0x00010001,0x18 ; Tuner ID
HKR, "I2C Devices", "Device 0, Data2",0x00010001,0xC2 ; Tuner slave addr.
HKR, "I2C Devices", "Device 0, Data3",0x00010001,0x86 ; Tuner IF PLL slave addr.
HKR, "I2C Devices", "Device 0, Data4",0x00010001,0x00 ; Tuner DEMOD slave addr.
HKR, "I2C Devices", "Device 0, Data5",0x00010001,0x03 ; # of Add. Data
HKR, "I2C Devices", "Device 0, Data6",0x00010001,0x21 ; ATSC + NTSC
HKR, "I2C Devices", "Device 0, Data7",0x00010001,0x01 ; ATSC uses bottom connector
HKR, "I2C Devices", "Device 0, Data8",0x00010001,0x01 ; NTSC uses bottom connector


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


;--------------------
; Customer Strings
;--------------------

DRIVER_NAME_X32               = "Ph3xIB32.sys"
DRIVER_NAME_X64               = "Ph3xIB64.sys"
MACROVISION_NAME_X32          = "Ph3xIB32MV.dll"
MACROVISION_NAME_X64          = "Ph3xIB64MV.dll"

SERVICE_NAME_X32              = "Ph3xIB32"
SERVICE_NAME_X64              = "Ph3xIB64"
SERVICE_DESCRIPTION           = "Philips 713x Inbox BDA Capture Driver"
DISPLAY_NAME                  = "Philips 713x Inbox PCI TV Card"

PROVIDER                      = "KWorld"
INSTALLATION_DISK             = "Vista Installation Disk"


;*** Specific Names ***
;-----------------
PHILIPS_CUSTOM_TUNERNAME      = "713x"
BOARD_01.DeviceDesc           = "KWorld DVB-T 210 Hybrid TV "
BOARD_02.DeviceDesc           = "KWorld DVB-T 220 Duo TV"
BOARD_03.DeviceDesc           = "KWorld NB-TV 210 Hybrid TV/FM"
BOARD_04.DeviceDesc           = "KWorld NB-TV 210 Hybrid TV"
BOARD_05.DeviceDesc           = "KWorld NB-TV 220 Duo TV"
BOARD_06.DeviceDesc           = "KWorld ATSC 110 Hybrid TV"
BOARD_07.DeviceDesc           = "KWorld ATSC 110 Hybrid TV"
;BOARD_08.DeviceDesc          = "KWorld TV7131/5 Video Catpure"
;BOARD_09.DeviceDesc          = "KWorld TV7131/5 Video Catpure"
;BOARD_10.DeviceDesc          = "KWorld TV7131/5 Video Catpure"
;BOARD_11.DeviceDesc          = "KWorld NB-TV 100"
;BOARD_12.DeviceDesc          = "KWorld NB-TV 100 FM"
;BOARD_13.DeviceDesc          = "KWorld DVB-T 220 Duo TV"
;BOARD_14.DeviceDesc          = "KWorld NB-TV 100"
;BOARD_15.DeviceDesc          = "KWorld NB-TV 100 FM"
;BOARD_16.DeviceDesc          = "KWorld NB-TV 220 Duo TV"
;BOARD_17.DeviceDesc          = "KWorld NB-TV 200 DVB-T"
