;------------------------------------------------------------------------
;
;   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) 2002-2003 Hauppauge Computer Works, Inc.
;       All Rights Reserved.
;       ---------------------------------------------------------------
;
;    WHQL driver install version
;------------------------------------------------------------------------
    
[Version]
LayoutFile=Layout.inf, Layout1.inf, Layout2.inf
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%HCWProvider%
DriverVer=06/13/2003,3.37.21163   
CatalogFile=hcwbt8xx.cat

[ControlFlags]
ExcludeFromSelect=*
    
[Manufacturer]
%MsftMfg%=Hauppauge
    
[DestinationDirs]
DefaultDestDir=11
HCWBT8XX.CopyDrivers=10,system32\drivers
stream.CopyDrivers=10,system32\drivers
    
[SourceDisksNames]
1 = %DriverFlop%,,
;1 = %DriverDisk%,,
    
;---------------------------------------------------------------
;           HAUPPAUGE COMPUTER WORKS
;
;            BT 848/9,  BT 878/9
;---------------------------------------------------------------


[Hauppauge]
%HCWBT8XX.VideoDeviceDesc%=HCWBT8XX.Device,PCI\VEN_109E&DEV_0350,PCI\VEN_109E&DEV_0351

%HCWBT8XX.VideoDeviceDesc1%=HCWBT8XX.Device,PCI\VEN_109E&DEV_036E&SUBSYS_13EB0070
;%HCWBT8XX.AudioDeviceDesc%=AudioSection,PCI\VEN_109E&DEV_0878&SUBSYS_13EB0070

%HCWBT8XX.VideoDeviceDesc1%=HCWBT8XX.Device,PCI\VEN_109E&DEV_036F&SUBSYS_13EB0070
;%HCWBT8XX.AudioDeviceDesc%=AudioSection,PCI\VEN_109E&DEV_0879&SUBSYS_13EB0070

%HCWBT8XX.VideoDeviceDesc1%=HCWBT8XX.Device,PCI\VEN_109E&DEV_0370&SUBSYS_13EB0070
;%HCWBT8XX.AudioDeviceDesc%=AudioSection,PCI\VEN_109E&DEV_0880&SUBSYS_13EB0070

;;%HCWBT8XX.VideoDeviceDesc1%=HCWBT8XX.Device,PCI\VEN_109E&DEV_036E&SUBSYS_FF000070
;%HCWBT8XX.AudioDeviceDesc%=AudioSection,PCI\VEN_109E&DEV_0878&SUBSYS_FF000070

;;%HCWBT8XX.VideoDeviceDesc1%=HCWBT8XX.Device,PCI\VEN_109E&DEV_036F&SUBSYS_FF000070
;%HCWBT8XX.AudioDeviceDesc%=AudioSection,PCI\VEN_109E&DEV_0879&SUBSYS_FF000070
    
;;%HCWBT8XX.VideoDeviceDesc1%=HCWBT8XX.Device,PCI\VEN_109E&DEV_036E&SUBSYS_FF010070
;%HCWBT8XX.AudioDeviceDesc%=AudioSection,PCI\VEN_109E&DEV_0878&SUBSYS_FF010070

;;%HCWBT8XX.VideoDeviceDesc1%=HCWBT8XX.Device,PCI\VEN_109E&DEV_036F&SUBSYS_FF010070
;%HCWBT8XX.AudioDeviceDesc%=AudioSection,PCI\VEN_109E&DEV_0879&SUBSYS_FF010070    

;;%HCWBT8XX.VideoDeviceDesc1%=HCWBT8XX.Device,PCI\VEN_109E&DEV_036E&SUBSYS_39000070
;%HCWBT8XX.AudioDeviceDesc%=AudioSection,PCI\VEN_109E&DEV_0878&SUBSYS_39000070

;;%HCWBT8XX.VideoDeviceDesc1%=HCWBT8XX.Device,PCI\VEN_109E&DEV_036F&SUBSYS_39000070
;%HCWBT8XX.AudioDeviceDesc%=AudioSection,PCI\VEN_109E&DEV_0879&SUBSYS_39000070
    
%HCWBT8XX.VideoDeviceDesc1%=HCWBT8XX.Device,PCI\VEN_109E&DEV_036E&SUBSYS_45000070
;%HCWBT8XX.AudioDeviceDesc%=AudioSection,PCI\VEN_109E&DEV_0878&SUBSYS_45000070

%HCWBT8XX.VideoDeviceDesc1%=HCWBT8XX.Device,PCI\VEN_109E&DEV_036F&SUBSYS_45000070
;%HCWBT8XX.AudioDeviceDesc%=AudioSection,PCI\VEN_109E&DEV_0879&SUBSYS_45000070

;%HCWBT8XX.VideoDeviceDesc1%=HCWBT8XX.Device,PCI\VEN_109E&DEV_036E
;%HCWBT8XX.VideoDeviceDesc1%=HCWBT8XX.Device,PCI\VEN_109E&DEV_036F
%HCWBT8XX.AudioDeviceDesc%=AudioSection,PCI\VEN_109E&DEV_0878
%HCWBT8XX.AudioDeviceDesc%=AudioSection,PCI\VEN_109E&DEV_0879

;%HCWBT8XX.DeviceDesc3%=UnknownVideo.Device,PCI\VEN_109E&DEV_036E,PCI\VEN_109E&DEV_036F
;%HCWBT8XX.DeviceDesc4%=UnknownAudio.Device,PCI\VEN_109E&DEV_0878,PCI\VEN_109E&DEV_0879

[AudioSection]
;CopyFiles=HCWBT8XX.CopyDrivers

[AudioSection.Services]
AddService = , 2  ; null service install

[HCWBT8XX.Device]
Include=    ks.inf, kscaptur.inf, ksfilter.inf
Needs=      KS.Registration,KSCAPTUR.Registration,MSPCLOCK.Installation
AddReg=     HCWBT8XX.AddReg,Default.addreg,HCWcust.addreg
DelReg=     Default.DelReg
CopyFiles=  DefaultDestFiles, HCWBT8XX.CopyDrivers, stream.CopyDrivers

[HCWBT8XX.Device.NT]
Include=    ks.inf, kscaptur.inf, ksfilter.inf
Needs=      KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
AddReg=     HCWBT8XX.AddReg,Default.addreg,HCWcust.addreg
DelReg=     Default.DelReg
CopyFiles=  DefaultDestFiles, HCWBT8XX.CopyDrivers

[HCWBT8XX.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,HCWBT8XX.sys
HKR,,OkToHibernate,3,01
HKR,,PageOutWhenUnopened,3,00
HKR,,DontSuspendIfStreamsAreRunning,3,01
HKR,"DriverData","XTal0",0x00010001, 0x1c, 0x00, 0x00, 0x00
;HKR,"DriverData","XTal1",0x00010001, 0x23, 0x00, 0x00, 0x00


[HCWBT8XX.CopyDrivers]
HCWBT8XX.sys

[stream.CopyDrivers]
stream.sys

[HCWBT8XX.KnownFiles]
HCWBT8XX.sys=safe

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

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




[Default.DelReg]
HKLM,Software\Hauppauge\hcwTVWnd\VCapFilter
HKLM,Software\Hauppauge\hcwTVWnd\VXbarFilter
HKLM,Software\Hauppauge\hcwTVWnd\TunerFilter
HKLM,Software\Hauppauge\hcwTVWnd\TVAudioFilter
HKLM,Software\Hauppauge\hcwTVWnd\PinPreview
HKLM,Software\Hauppauge\hcwTVWnd\Use_USB
HKLM,Software\Hauppauge\hcwTVWnd\Use_SmartTee


[Default.AddReg]
; save our driver version for reference
HKLM,Software\Hauppauge\WDM\Version,,0,"3.37.21163"

; Following keys affect 878 driver config (HCW)
; Force 878 EN_TBFX bit - Intel FX motherboard fix (prevent lockups) on if 1
;HKLM,System\CurrentControlSet\Services\HCWBT8xx\Parameters,EN_TBFX,0x00010001, 0x01, 0x00, 0x00, 0x00
; Force 878 EN_VSFX bit - VIA/SIS chipset fix on if 1
;HKLM,System\CurrentControlSet\Services\HCWBT8xx\Parameters,EN_VSFX,0x00010001, 0x01, 0x00, 0x00, 0x00

; set default buffer equests for Allocator_Framing for various output pins
HKLM,System\CurrentControlSet\Services\HCWBT8xx\Parameters,CAP_Frames,0x00010001, 0x1e, 0x00, 0x00, 0x00
;HKLM,System\CurrentControlSet\Services\HCWBT8xx\Parameters,VID_Frames,0x00010001, 0x04, 0x00, 0x00, 0x00
;HKLM,System\CurrentControlSet\Services\HCWBT8xx\Parameters,VBI_Frames,0x00010001, 0x08, 0x00, 0x00, 0x00

; for WinTV-PVR (45xxx) need to defer audio, and prevent GPIO usage
;HKLM,System\CurrentControlSet\Services\HCWBT8xx\Parameters,NOGPIO,0x00010001, 0x00, 0x00, 0x00, 0x00
;HKLM,System\CurrentControlSet\Services\HCWBT8xx\Parameters,DeferAud,0x00010001, 0x00, 0x00, 0x00, 0x00

; These can offset Macrovision interference
;HKLM,System\CurrentControlSet\Services\HCWBT8xx\Parameters,ADELAY,0x00010001, 0x00, 0x00, 0x00, 0x00
;HKLM,System\CurrentControlSet\Services\HCWBT8xx\Parameters,BDELAY,0x00010001, 0x07, 0x00, 0x00, 0x00


[VideoCapture]
AddReg=VideoCapture.AddReg

[VideoTvTuner]
AddReg=VideoTvTuner.AddReg

[VideoCrossbar]
AddReg=VideoXBar.AddReg

[VideoTvAudio]
AddReg=VideoTvAudio.AddReg

[VideoCapture.AddReg]
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%HCWBT8XX.Capture%
HKLM,Software\Hauppauge\hcwTVWnd,"VCapFilter",0,%HCWBT8XX.Capture%

[VideoTvTuner.AddReg]
HKR,,CLSID,,{266EEE40-6C63-11cf-8A03-00AA006ECB65}
HKR,,FriendlyName,,%HCWBT8XX.TvTuner%
HKLM,Software\Hauppauge\hcwTVWnd,"TunerFilter",0,%HCWBT8XX.TvTuner%

[VideoXBar.AddReg]
HKR,,CLSID,,{71F96460-78F3-11d0-A18C-00A0C9118956}
HKR,,FriendlyName,,%HCWBT8XX.Crossbar%
HKLM,Software\Hauppauge\hcwTVWnd,"VXbarFilter",0,%HCWBT8XX.Crossbar%

[VideoTvAudio.AddReg]
HKR,,CLSID,,{71F96462-78F3-11d0-A18C-00A0C9118956}
HKR,,FriendlyName,,%HCWBT8XX.TvAudio%
HKLM,Software\Hauppauge\hcwTVWnd,"TVAudioFilter",0,%HCWBT8XX.TvAudio%

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

[HCWBT8XX.Device.NT.Services]
AddService = HCWBT8XX,0x00000002,HCWBT8XX.ServiceInstall

[HCWBT8XX.ServiceInstall]
DisplayName   = %HCWBT8XX.VideoDeviceDesc%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %10%\system32\drivers\HCWBT8XX.sys

[HCWcust.Addreg]
HKLM,%RunOnce%,"hcwOEMgo",,"rundll32.exe hcwutl32.dll,hcwExec %10%\hcwoemgo.exe hcwbt8xx.sys 3.37.21163" 

[SourceDisksFiles]
HCWBT8XX.sys=1
hcwutl32.dll=1

[DefaultDestFiles]
hcwutl32.dll,,,32


;---------------------------------------------------------------
;                S t r i n g s
;---------------------------------------------------------------

[Strings]

;----------------
; Non-Localizable
;----------------

SERVICE_KERNEL_DRIVER   = 1
SERVICE_AUTO_START      = 2
SERVICE_DEMAND_START    = 3
SERVICE_ERROR_NORMAL    = 1


;----------------
; Localizable
;----------------

MsftMfg=                   "Hauppauge"
HCWProvider=               "Hauppauge"
HCWBT8XX.VideoDeviceDesc=  "Hauppauge WinTV 848/9 WDM Video Driver"
HCWBT8XX.VideoDeviceDesc1= "Hauppauge WinTV 878/9 WDM Video Driver" 
HCWBT8XX.AudioDeviceDesc=  "Hauppauge WinTV 878/9 WDM Aux Driver"
HCWBT8XX.DeviceDesc3= "Hauppauge - 878/9 WDM Video Hardware - Bad/Missing SubvendorID" 
HCWBT8XX.DeviceDesc4= "Hauppauge - 878/9 WDM Aux Hardware - Bad/Missing SubvendorID"
HCWBT8XX.Capture=          "Hauppauge WinTV Capture"
HCWBT8XX.TvTuner=          "Hauppauge WinTV TvTuner"
HCWBT8XX.Crossbar=         "Hauppauge WinTV Crossbar"
HCWBT8XX.TvAudio=          "Hauppauge WinTV TvAudio"
DriverFlop=                "Hauppauge WinTV WDM Driver Disk"
DriverDisk=                "Hauppauge WinTV WDM Driver Disk"
RunOnce=		   "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"


