;PCI6804.inf
;Techwell Inc 


;------------------------------------------------------------------------------
; TW6804CAP.INF
;------------------------------------------------------------------------------

[Version]
LayoutFile=Layout.inf, Layout1.inf, Layout2.inf
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%Msft%

[ControlFlags]
;ExcludeFromSelect=*

[Manufacturer]
%MsftMfg%=Techwell


[Techwell]
-------------------
%TW6804CAP.Device%=TW6804CAP.Device,PCI\VEN_1797&DEV_6804 			; tw6804 video

[TW6804CAP.Device]
Include    = ks.inf, ksfilter.inf						;, kscaptur.inf
Needs      = KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
AddReg     = TW6804CAP.AddReg,Device.AddReg
CopyFiles  = TW6804CAP.CopyDrivers,TW6804CAP.CopyFilters
KnownFiles = TW6804CAP.KnownFiles

[TW6804CAP.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,TW6804.sys
HKR,,OkToHibernate,3,01
HKR,,PageOutWhenUnopened,3,01
HKR,,DontSuspendIfStreamsAreRunning,3,01
HKR,"DriverData","XTal0", 0x00010001, 0x1c, 0x00, 0x00, 0x00
HKR,"DriverData","XTal1", 0x00010001, 0x23, 0x00, 0x00, 0x00
;HKR,"DriverData","XParam",0x00010001, 0x40, 0x01, 0x16, 0x00

;------------------------------------------------------------------------------
; These are the files we need installed
;------------------------------------------------------------------------------

[TW6804CAP.CopyDrivers]
TW6804.sys
stream.sys

[TW6804CAP.KnownFiles]
TW6804.sys=safe

[TW6804CAP.Device.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoCrossbar,


[DestinationDirs]
TW6804CAP.CopyDrivers=10,system32\drivers   ; would 12 do this? (docs say not for win9x)
TW6804CAP.CopyFilters=11


[VideoCapture]
AddReg=VideoCapture.AddReg

[VideoCrossbar]
AddReg=VideoXBar.AddReg


[VideoCapture.AddReg]
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%TW6804CAP.Capture%

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


[TW6804CAP.Device.Services]
AddService = TW6804CAP,0x00000002,TW6804CAP.ServiceInstall


[TW6804CAP.ServiceInstall]
DisplayName   = %TW6804CAP.Capture%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_AUTO_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %10%\system32\drivers\TW6804.sys

[Strings]
Msft		   =  "ShenZhen  Co. Ltd"
MsftMfg		   =  "ShenZhen  Co. Ltd"
TW6804CAP.Device   =  "PCI 6804 Capture_"
TW6804CAP.Capture  =  "PCI680x Split Stream Capture"
Tw6804CAP.Crossbar =  "PCI680x Split Crossbar Filter"


SERVICE_KERNEL_DRIVER = 1
SERVICE_AUTO_START    = 2
SERVICE_ERROR_NORMAL  = 1