;------------------------------------------------------------------------
;
;   Copyright and Disclaimer:
;
;       ---------------------------------------------------------------
;       This software is provided "as is" without warranty of any kind,
;       either expressed or implied, including but not limited to the
;       implied warranties of merchantability and/or fitness for a
;       particular purpose.
;
;       Copyright (c) 2001-2003 AVerMedia Technologies, Inc.
;       All Rights Reserved.
;       ---------------------------------------------------------------
;
;------------------------------------------------------------------------
;------------------
; cx88xbar.inf
;------------------
[Version]
LayoutFile=Layout.inf, Layout1.inf, Layout2.inf
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider="AVerMedia"
DriverVer=07/23/2003,1.2.0.10
CatalogFile.ntx86=cx88xbar.cat

[Manufacturer]
%Msft%=Models

[ControlFlags]
ExcludeFromSelect=*

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

[SourceDisksFiles]
cx88xbar.sys=1

[Models]
;%CX88XBAR.DeviceDesc%=CX88XBAR.BOARDMUX,STREAM\CX88XBAR.BOARDMUX
;%CX88XBAR.DeviceDesc%=CX88XBAR.MICRONAS,STREAM\CX88XBAR.MICRONAS
%CX88XBAR.DeviceDesc%=CX88XBAR.CNXT,STREAM\CX88XBAR.CNXT
;%CX88XBAR.DeviceDesc%=CX88XBAR.NOAUDIO,STREAM\CX88XBAR.NOAUDIO

[CX88XBAR.Boardmux]
Include  =  ks.inf, kscaptur.inf
Needs    =  KS.Registration,KSCAPTUR.Registration.NT
;AddReg   =  CX88XBAR.addreg
AddReg   =  CX88XBAR.Boardmux.addreg
CopyFiles=  CX88XBAR.CopyDrivers
;Reboot

[CX88XBAR.Micronas]
Include  =  ks.inf, kscaptur.inf
Needs    =  KS.Registration,KSCAPTUR.Registration.NT
AddReg   =  CX88XBAR.Micronas.addreg
CopyFiles=  CX88XBAR.CopyDrivers
;Reboot

[CX88XBAR.Cnxt]
Include  =  ks.inf, kscaptur.inf
Needs    =  KS.Registration,KSCAPTUR.Registration.NT
AddReg   =  CX88XBAR.Cnxt.addreg
CopyFiles=  CX88XBAR.CopyDrivers
;Reboot

[CX88XBAR.NoAudio]
Include  =  ks.inf, kscaptur.inf
Needs    =  KS.Registration,KSCAPTUR.Registration.NT
AddReg   =  CX88XBAR.NoAudio.addreg
CopyFiles=  CX88XBAR.CopyDrivers
;Reboot

[DestinationDirs]
;DefaultDestDir=10,system32\drivers	; Do not use this entry, or the XP driver installation will be failed.
CX88XBAR.CopyDrivers=10,system32\drivers

[CX88XBAR.CopyDrivers]
cx88xbar.sys

[CX88XBAR.Boardmux.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,cx88xbar.sys
HKR,,OkToHibernate,3,01
HKR,,PageOutWhenUnopened,3,00
HKR,"DriverData","LastVideoSource",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","LastAudioSource",0x00010001, 0xff,0xff,0xff,0xff
HKR,"DriverData","AudioType",0x00010001, 0x00,0x00,0x00,0x00

;video svideo
HKR,"DriverData\InPin0","PinType",0x00010001, 0x03,0x00,0x00,0x00
HKR,"DriverData\InPin0","RelatedPinIndex",0x00010001, 0x04,0x00,0x00,0x00
HKR,"DriverData\InPin0","Medium",,%GUID_NULL%

;video tuner
HKR,"DriverData\InPin1","PinType",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData\InPin1","RelatedPinIndex",0x00010001, 0x03,0x00,0x00,0x00
HKR,"DriverData\InPin1","Medium",,%GUID_0%

;video composite
HKR,"DriverData\InPin2","PinType",0x00010001, 0x02,0x00,0x00,0x00
HKR,"DriverData\InPin2","RelatedPinIndex",0x00010001, 0x04,0x00,0x00,0x00
HKR,"DriverData\InPin2","Medium",,%GUID_NULL%

; CCIR656 video
HKR,"DriverData\InPin3","PinType",0x00010001, 0x07,0x00,0x00,0x00
HKR,"DriverData\InPin3","RelatedPinIndex",0x00010001, 0x04,0x00,0x00,0x00
HKR,"DriverData\InPin3","Medium",,%GUID_NULL%

;audio tuner
HKR,"DriverData\InPin4","PinType",0x00010001, 0x00,0x10,0x00,0x00
HKR,"DriverData\InPin4","RelatedPinIndex",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData\InPin4","Medium",,%GUID_3%

;audio line
HKR,"DriverData\InPin5","PinType",0x00010001, 0x01,0x10,0x00,0x00
HKR,"DriverData\InPin5","RelatedPinIndex",0x00010001, 0x02,0x00,0x00,0x00
HKR,"DriverData\InPin5","Medium",,%GUID_5%

;video video decoder
HKR,"DriverData\OutPin0","PinType",0x00010001, 0x0C,0x00,0x00,0x00
HKR,"DriverData\OutPin0","RelatedPinIndex",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData\OutPin0","Medium",,%GUID_4%

;audio audio decoder
HKR,"DriverData\OutPin1","PinType",0x00010001, 0x09,0x10,0x00,0x00
HKR,"DriverData\OutPin1","RelatedPinIndex",0x00010001, 0x00,0x00,0x00,0x00
HKR,"DriverData\OutPin1","Medium",,%GUID_NULL%

[CX88XBAR.Cnxt.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,cx88xbar.sys
HKR,,OkToHibernate,3,01
HKR,,PageOutWhenUnopened,3,00
HKR,"DriverData","LastVideoSource",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","LastAudioSource",0x00010001, 0xff,0xff,0xff,0xff
HKR,"DriverData","AudioType",0x00010001, 0x03,0x00,0x00,0x00

;video svideo
HKR,"DriverData\InPin0","PinType",0x00010001, 0x03,0x00,0x00,0x00
HKR,"DriverData\InPin0","RelatedPinIndex",0x00010001, 0x04,0x00,0x00,0x00
HKR,"DriverData\InPin0","Medium",,%GUID_NULL%

;video tuner
HKR,"DriverData\InPin1","PinType",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData\InPin1","RelatedPinIndex",0x00010001, 0x03,0x00,0x00,0x00
HKR,"DriverData\InPin1","Medium",,%GUID_0%

;video composite
HKR,"DriverData\InPin2","PinType",0x00010001, 0x02,0x00,0x00,0x00
HKR,"DriverData\InPin2","RelatedPinIndex",0x00010001, 0x04,0x00,0x00,0x00
HKR,"DriverData\InPin2","Medium",,%GUID_NULL%

; CCIR656 video
HKR,"DriverData\InPin3","PinType",0x00010001, 0x07,0x00,0x00,0x00
HKR,"DriverData\InPin3","RelatedPinIndex",0x00010001, 0x04,0x00,0x00,0x00
HKR,"DriverData\InPin3","Medium",,%GUID_NULL%

;audio tuner
HKR,"DriverData\InPin4","PinType",0x00010001, 0x00,0x10,0x00,0x00
HKR,"DriverData\InPin4","RelatedPinIndex",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData\InPin4","Medium",,%GUID_3%

;audio line
HKR,"DriverData\InPin5","PinType",0x00010001, 0x01,0x10,0x00,0x00
HKR,"DriverData\InPin5","RelatedPinIndex",0x00010001, 0x02,0x00,0x00,0x00
HKR,"DriverData\InPin5","Medium",,%GUID_5%

;video decoder
HKR,"DriverData\OutPin0","PinType",0x00010001, 0x0C,0x00,0x00,0x00
HKR,"DriverData\OutPin0","RelatedPinIndex",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData\OutPin0","Medium",,%GUID_4%

;audio decoder
HKR,"DriverData\OutPin1","PinType",0x00010001, 0x09,0x10,0x00,0x00
HKR,"DriverData\OutPin1","RelatedPinIndex",0x00010001, 0x00,0x00,0x00,0x00
HKR,"DriverData\OutPin1","Medium",,%GUID_NULL%

[CX88XBAR.Micronas.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,cx88xbar.sys
HKR,,OkToHibernate,3,01
HKR,,PageOutWhenUnopened,3,00
HKR,"DriverData","LastVideoSource",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","LastAudioSource",0x00010001, 0xff,0xff,0xff,0xff
HKR,"DriverData","AudioType",0x00010001, 0x01,0x00,0x00,0x00

;video svideo
HKR,"DriverData\InPin0","PinType",0x00010001, 0x03,0x00,0x00,0x00
HKR,"DriverData\InPin0","RelatedPinIndex",0x00010001, 0x04,0x00,0x00,0x00
HKR,"DriverData\InPin0","Medium",,%GUID_NULL%

;video tuner
HKR,"DriverData\InPin1","PinType",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData\InPin1","RelatedPinIndex",0x00010001, 0x03,0x00,0x00,0x00
HKR,"DriverData\InPin1","Medium",,%GUID_0%

;video composite
HKR,"DriverData\InPin2","PinType",0x00010001, 0x02,0x00,0x00,0x00
HKR,"DriverData\InPin2","RelatedPinIndex",0x00010001, 0x04,0x00,0x00,0x00
HKR,"DriverData\InPin2","Medium",,%GUID_NULL%

; CCIR656 video
HKR,"DriverData\InPin3","PinType",0x00010001, 0x07,0x00,0x00,0x00
HKR,"DriverData\InPin3","RelatedPinIndex",0x00010001, 0x04,0x00,0x00,0x00
HKR,"DriverData\InPin3","Medium",,%GUID_NULL%

;audio tuner
HKR,"DriverData\InPin3","PinType",0x00010001, 0x00,0x10,0x00,0x00
HKR,"DriverData\InPin3","RelatedPinIndex",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData\InPin3","Medium",,%GUID_3%

;audio line
HKR,"DriverData\InPin4","PinType",0x00010001, 0x01,0x10,0x00,0x00
HKR,"DriverData\InPin4","RelatedPinIndex",0x00010001, 0x02,0x00,0x00,0x00
HKR,"DriverData\InPin4","Medium",,%GUID_5%

;video video decoder
HKR,"DriverData\OutPin0","PinType",0x00010001, 0x0C,0x00,0x00,0x00
HKR,"DriverData\OutPin0","RelatedPinIndex",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData\OutPin0","Medium",,%GUID_4%

;audio audio decoder
HKR,"DriverData\OutPin1","PinType",0x00010001, 0x09,0x10,0x00,0x00
HKR,"DriverData\OutPin1","RelatedPinIndex",0x00010001, 0x00,0x00,0x00,0x00
HKR,"DriverData\OutPin1","Medium",,%GUID_NULL%

[CX88XBAR.NoAudio.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,cx88xbar.sys
HKR,,OkToHibernate,3,01
HKR,,PageOutWhenUnopened,3,00
HKR,"DriverData","LastVideoSource",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","LastAudioSource",0x00010001, 0xff,0xff,0xff,0xff
HKR,"DriverData","AudioType",0x00010001, 0x02,0x00,0x00,0x00

;video svideo
HKR,"DriverData\InPin0","PinType",0x00010001, 0x03,0x00,0x00,0x00
HKR,"DriverData\InPin0","RelatedPinIndex",0x00010001, 0x04,0x00,0x00,0x00
HKR,"DriverData\InPin0","Medium",,%GUID_NULL%

;video tuner
HKR,"DriverData\InPin1","PinType",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData\InPin1","RelatedPinIndex",0x00010001, 0x03,0x00,0x00,0x00
HKR,"DriverData\InPin1","Medium",,%GUID_0%

;video composite
HKR,"DriverData\InPin2","PinType",0x00010001, 0x02,0x00,0x00,0x00
HKR,"DriverData\InPin2","RelatedPinIndex",0x00010001, 0x04,0x00,0x00,0x00
HKR,"DriverData\InPin2","Medium",,%GUID_NULL%

;audio tuner
HKR,"DriverData\InPin3","PinType",0x00010001, 0x00,0x10,0x00,0x00
HKR,"DriverData\InPin3","RelatedPinIndex",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData\InPin3","Medium",,%GUID_3%

;audio line
HKR,"DriverData\InPin4","PinType",0x00010001, 0x01,0x10,0x00,0x00
HKR,"DriverData\InPin4","RelatedPinIndex",0x00010001, 0x02,0x00,0x00,0x00
HKR,"DriverData\InPin4","Medium",,%GUID_5%

;video video decoder
HKR,"DriverData\OutPin0","PinType",0x00010001, 0x0C,0x00,0x00,0x00
HKR,"DriverData\OutPin0","RelatedPinIndex",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData\OutPin0","Medium",,%GUID_4%

;audio audio decoder
HKR,"DriverData\OutPin1","PinType",0x00010001, 0x09,0x10,0x00,0x00
HKR,"DriverData\OutPin1","RelatedPinIndex",0x00010001, 0x00,0x00,0x00,0x00
HKR,"DriverData\OutPin1","Medium",,%GUID_NULL%

[CX88XBAR.Boardmux.Interfaces]
AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",Crossbar,

[CX88XBAR.Micronas.Interfaces]
AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",Crossbar,

[CX88XBAR.Cnxt.Interfaces]
AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",Crossbar,

[CX88XBAR.NoAudio.Interfaces]
AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",Crossbar,

[Crossbar]
AddReg=Crossbar.AddReg

[Crossbar.AddReg]
HKR,,CLSID,,{71F96460-78F3-11d0-A18C-00A0C9118956}
HKR,,FriendlyName,,%CX88XBAR.Crossbar%

[CX88XBAR.Boardmux.Services]
AddService = CX88XBAR,0x00000002,CX88XBAR.ServiceInstall

[CX88XBAR.Micronas.Services]
AddService = CX88XBAR,0x00000002,CX88XBAR.ServiceInstall

[CX88XBAR.Cnxt.Services]
AddService = CX88XBAR,0x00000002,CX88XBAR.ServiceInstall

[CX88XBAR.NoAudio.Services]
AddService = CX88XBAR,0x00000002,CX88XBAR.ServiceInstall

[CX88XBAR.ServiceInstall]
DisplayName   = %CX88XBAR.DeviceDesc%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_AUTO_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %10%\system32\drivers\CX88XBAR.sys

[Strings]
Msft                  = "AVerMedia"
SourceDisksName1      = "AVerMedia, AVerTV 303/403 Drivers"
CX88XBAR.DeviceDesc   = "AVerMedia, AVerTV 303/403 Crossbar"
CX88XBAR.Crossbar     = "AVerMedia, AVerTV 303/403 Crossbar"
GUID_NULL             = "{00000000-0000-0000-0000-000000000000}"
GUID_0                = "{A19DC0E0-3B39-11D1-905F-0000C0CC16BA}"
GUID_3                = "{A19DC0E3-3B39-11D1-905F-0000C0CC16BA}"
GUID_5                = "{A19DC0E5-3B39-11D1-905F-0000C0CC16BA}"
GUID_4                = "{A19DC0E4-3B39-11D1-905F-0000C0CC16BA}"
SERVICE_KERNEL_DRIVER = 1
SERVICE_AUTO_START    = 2
SERVICE_DEMAND_START  = 3
SERVICE_ERROR_NORMAL  = 1
