; Copyright (c) OMICOM. All rights reserved.

[Version]
Signature="$Windows NT$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%Msft%
DriverVer=05/25/2012,1.3.0525.0
CatalogFile=omcbda.cat

[Manufacturer]
%Msft%=Omicom, NTx86, NTamd64

[ControlFlags]
ExcludeFromSelect=*

[Omicom]
%OMCBDA.DeviceDesc%=OMCBDA,PCI\VEN_1131&DEV_7146&SUBSYS_102014C4

[Omicom.NTx86]
%OMCBDA.DeviceDesc%=OMCBDA,PCI\VEN_1131&DEV_7146&SUBSYS_102014C4

[Omicom.NTamd64]
%OMCBDA.DeviceDesc%=OMCBDA,PCI\VEN_1131&DEV_7146&SUBSYS_102014C4

[OMCBDA.NTx86.CopyFiles]
omcbda32.sys

[OMCBDA.NTx86]
Include     = ks.inf, kscaptur.inf, bda.inf
Needs       = KS.Registration, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles=OMCBDA.NTx86.CopyFiles

[OMCBDA.NTx86.Interfaces]
AddInterface = %KSCATEGORY_BDATUNER%, %KSSTRING_OMCBDA_TunerFilter%, OMCBDA.NTx86.TunerFilter
AddInterface = %KSCATEGORY_BDARECEIVER%, %KSSTRING_OMCBDA_TunerFilter%, OMCBDA.NTx86.TunerFilter

[OMCBDA.NTx86.TunerFilter]
AddReg = OMCBDA.NTx86.TunerFilter.AddReg

[OMCBDA.NTx86.TunerFilter.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%OMCBDATuner.FilterDesc%

[OMCBDA.NTx86.Services]
AddService=omcbda, 0x00000002, OMCBDA.NTx86.ServiceInstall

[OMCBDA.NTx86.ServiceInstall]
DisplayName=%OMCBDA.DeviceDesc%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_DEMAND_START%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary=%12%\omcbda32.sys
LoadOrderGroup=ExtendedBase

[OMCBDA.NTamd64.CopyFiles]
omcbda64.sys

[OMCBDA.NTamd64]
Include     = ks.inf, kscaptur.inf, bda.inf
Needs       = KS.Registration, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles=OMCBDA.NTamd64.CopyFiles

[OMCBDA.NTamd64.Interfaces]
AddInterface = %KSCATEGORY_BDATUNER%, %KSSTRING_OMCBDA_TunerFilter%, OMCBDA.NTamd64.TunerFilter
AddInterface = %KSCATEGORY_BDARECEIVER%, %KSSTRING_OMCBDA_TunerFilter%, OMCBDA.NTamd64.TunerFilter

[OMCBDA.NTamd64.TunerFilter]
AddReg = OMCBDA.NTamd64.TunerFilter.AddReg

[OMCBDA.NTamd64.TunerFilter.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%OMCBDATuner.FilterDesc%
HKR,"Device Parameters","Param",0x00010001,1

[OMCBDA.NTamd64.Services]
AddService=omcbda, 0x00000002, OMCBDA.NTamd64.ServiceInstall

[OMCBDA.NTamd64.ServiceInstall]
DisplayName=%OMCBDA.DeviceDesc%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_DEMAND_START%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary=%12%\omcbda64.sys
LoadOrderGroup=ExtendedBase

[SourceDisksNames]
1000 = %cdname%,,,

[SourceDisksFiles.x86]
omcbda32.sys = 1000

[SourceDisksFiles.amd64]
omcbda64.sys = 1000

[DestinationDirs]
DefaultDestDir=11
OMCBDA.NTx86.CopyFiles=12
OMCBDA.NTamd64.CopyFiles=12

[Strings]
SERVICE_KERNEL_DRIVER=1
SERVICE_DEMAND_START=3
SERVICE_ERROR_NORMAL=1
REG_EXPAND_SZ=0x00020000
REG_DWORD=0x00010001

RunOnce="SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"

; GUID for the Ksproxy plugin..
Proxy.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_BDARECEIVER="{FD0A5AF4-B41D-11d2-9C95-00C04F7971E0}"
KSCATEGORY_BDATUNER="{71985F48-1CA1-11d3-9CC8-00C04F7971E0}"
KSSTRING_OMCBDA_TunerFilter="{79D43119-DF30-4e9b-9649-A6DA34226273}"

Msft="OMICOM"
OMCBDA.DeviceDesc="OMICOM S2 PCI"
OMCBDATuner.FilterDesc="OMICOM S2 PCI"

cdname="OMC BDA Driver Disk"
