;
; HCW89.INF  -- This file contains installation information for
;                   Hauppauge WinTV-HVR-2200 models 89xxx (Wiltshire)
;                   Hauppauge WinTV-HVR-2250 models 88xxx (Halesite)
;               
;*** Last Functional Modification 12/04/2007
;; Copyright (c) 2001-2008 Hauppauge Computer Works, Inc.


[Version]
signature           = "$CHICAGO$" ;all windows os
Class               = MEDIA
ClassGUID           = {4d36e96c-e325-11ce-bfc1-08002be10318}
Provider            = %HCW%
DriverVer = 04/14/2008,7.2.9.26105
CatalogFile         = hcw89.cat

[Manufacturer]
%HCW% = Hauppauge

[Hauppauge]
;%Wiltshire.DeviceDesc%=Wiltshire,PCI\VEN_1131&DEV_7164
;; Wiltshire
%Wiltshire.DeviceDesc8900%=WiltshireOEM1,PCI\VEN_1131&DEV_7164&SUBSYS_89000070
%Wiltshire.DeviceDesc8901%=Wiltshire,PCI\VEN_1131&DEV_7164&SUBSYS_89010070
;; Halesite
%Halesite.DeviceDesc8800%=Wiltshire,PCI\VEN_1131&DEV_7164&SUBSYS_88000070

[DestinationDirs]
Wiltshire.CopyDriver  =12 ;"\system32\drivers"
Copy_ECP              =11 ;"\system32"
Wiltshire.CopyDLLs    =11 ;"\system32"
Wiltshire.Firmware    =12 ;"\system32\drivers"

[SourceDisksNames]
1 = %WILTSHIRE_INSTALLATION_DISK%,,,Driver89            ;32 machine, all components



[SourceDisksFiles]
HcwWiltF.bin=1
hcw89.sys=1
HcwPrx89.ax=1
hcwCP.ax=1
hcwECPPP.ax=1

[Wiltshire.CopyDLLs]
HcwPrx89.ax

[Wiltshire.Firmware]
HcwWiltF.bin

[Wiltshire.CopyDriver]
hcw89.sys

[Copy_ECP]
hcwCP.ax
hcwECPPP.ax

;
;*** initialization and registry entries
;

[Wiltshire]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = Wiltshire.CopyDriver, Wiltshire.CopyDLLs, Wiltshire.Firmware, Copy_ECP
AddReg        = Wiltshire.AddReg
AddReg        = Wiltshire.AddReg.HcwCustom
RegisterDlls  = Wiltshire.Register, Register_ECP

[Wiltshire.Services]
AddService = hcw89, 0x00000002, Wiltshire.ServiceInstall

[Wiltshire.ServiceInstall]
DisplayName   = %DISPLAY_NAME%
Description   = %SERVICE_DESCRIPTION%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\hcw89.sys
AddReg        = Wiltshire.ServiceInstall.AddReg

[WiltshireOEM1]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = Wiltshire.CopyDriver, Wiltshire.CopyDLLs, Wiltshire.Firmware, Copy_ECP
AddReg        = Wiltshire.AddReg
AddReg        = Wiltshire.AddReg.HcwCustom
AddReg        = Wiltshire.AddReg.OEM1
RegisterDlls  = Wiltshire.Register, Register_ECP

[WiltshireOEM1.Services]
AddService = hcw89, 0x00000002, Wiltshire.ServiceInstall

[WiltshireOEM1.ServiceInstall]
DisplayName   = %DISPLAY_NAME%
Description   = %SERVICE_DESCRIPTION%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\hcw89.sys
AddReg        = Wiltshire.ServiceInstall.AddReg

[Wiltshire.AddReg.OEM1]
HKR,VideoDecoder\Path0,"3D_CombActive",0x00010001, 0x01
HKR,VideoDecoder\Path1,"3D_CombActive",0x00010001, 0x01
HKR,VideoDecoder\Path0,"3D_NoiseLevel",0x00010001, 0x00
HKR,VideoDecoder\Path1,"3D_NoiseLevel",0x00010001, 0x00


[Wiltshire.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,hcw89.sys

; event logging entries

HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\hcw89.sys"
HKR,,TypesSupported,0x00010001,7

;;; Audio capture registry entries
;;
;;HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
;;HKR,,Driver,,hcw89.SYS
;;
;;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,,"SAA7163/4 audio capture"
;;HKR,Drivers\mixer\wdmaud.drv,Description,,"SAA7163/4 audio capture"

; add audio input and output pinnames

HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%SAA7164_ANLG_AUDIO_IN_PIN%, "Name",,"Analog Audio"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%SAA7164_ANLG_AUDIO_OUT_PIN%,"Name",,"Audio Out"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%SAA7164_ANLG_VIDEO_ITU_PIN%,"Name",,"Analog ITU Video"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%SAA7164_ANLG_AUDIO_I2S_PIN%,"Name",,"I2S Audio"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%SAA7164_AVI_MUX_STREAM_PIN%,"Name",,"Avi"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%SAA7164_ASF_MUX_STREAM_PIN%,"Name",,"Asf"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%SAA7164_QTM_MUX_STREAM_PIN%,"Name",,"Qtm"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%SAA7164_MPEG2_PROGRAM_STREAM_PIN%,"Name",,"MPEG2 PS"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%SAA7164_AUDIO_ELEMENTARY_STREAM_PIN%,"Name",,"Audio ES"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%SAA7164_VIDEO_ELEMENTARY_STREAM_PIN%,"Name",,"Video ES"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%SAA7164_RDS_PIN%,"Name",,"RDS"

[Wiltshire.Register]
11,,HcwPrx89.ax,1

[Register_ECP]
11,,hcwCP.ax,1
11,,hcwECPPP.ax,1

[Wiltshire.AddReg.HcwCustom]
HKLM,SOFTWARE\Hauppauge\hcwTVWnd,"vCapFilter",,"Hauppauge WinTV-7164 BDA Main Device"
HKR,,"hcwForceFWFromFile",0x00010001, 0x00
HKR,,"hcwAllowBSLFileName",0x00010001, 0x00

[Wiltshire.ServiceInstall.AddReg]

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

[Strings]

; Proxy GUIDs
KSProxy.CLSID   = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSXBar.CLSID    = "{71F96460-78F3-11d0-A18C-00A0C9118956}"
KSTVAudio.CLSID = "{71F96462-78F3-11d0-A18C-00A0C9118956}"
KSTvTune.CLSID  = "{266EEE40-6C63-11cf-8A03-00AA006ECB65}"

;;; Category GUIDs
;;KSCATEGORY_MULTIPLEXER            = "{7A5DE1D3-01A1-452c-B481-4FA2B96271E8}"
;;KSCATEGORY_ENCODER                = "{19689BF6-C384-48fd-AD51-90E58C79F70B}"
;;KSCATEGORY_CAPTURE                = "{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
;;KSCATEGORY_VIDEO                  = "{6994AD05-93EF-11D0-A3CC-00A0C9223196}"
;;KSCATEGORY_AUDIO                  = "{6994AD04-93EF-11D0-A3CC-00A0C9223196}"

; Our Pin Name GUIDs
SAA7164_ANLG_AUDIO_IN_PIN            = "{84D49118-EC01-447c-AB53-E360AA7B358F}"
SAA7164_ANLG_AUDIO_OUT_PIN           = "{DA1EDCBE-073F-4e77-BA81-FEC50A07892C}"
SAA7164_ANLG_AUDIO_I2S_PIN           = "{F874BDE8-B830-418f-9C29-04C45B96A230}"
SAA7164_ANLG_VIDEO_ITU_PIN           = "{598F1381-3DA7-4dee-853D-105332725A02}"
SAA7164_AUDIO_ELEMENTARY_STREAM_PIN  = "{C1942947-08F2-4d10-BAE8-2480599B1972}"
SAA7164_VIDEO_ELEMENTARY_STREAM_PIN  = "{AED0A101-2F6E-4bd4-8DC9-AD230D6012C8}"
SAA7164_MPEG2_PROGRAM_STREAM_PIN     = "{E3D4EA80-3E4D-4e09-B7FC-5C772D0A0619}"
SAA7164_AVI_MUX_STREAM_PIN           = "{6749395B-519A-45df-8B01-84A8BB3CF202}"
SAA7164_ASF_MUX_STREAM_PIN           = "{C5FC9A24-CDA4-41c5-AF2B-01ECE67C1902}"
SAA7164_QTM_MUX_STREAM_PIN           = "{AD70590E-4566-494c-AA5E-B5DC693C8332}"
SAA7164_RDS_PIN                      = "{62E2A653-DDAD-455a-8799-95914734D150}"

; Our Filter GUIDs
;;VAMP_MPG_ENCODER_FILTER  = "{949607F9-0DA5-4099-982E-D91DE6150B00}"
;;VAMP_ANLG_AUDIO_FILTER   = "{F3B951E7-8619-4ff3-91CA-03910E4BB900}"
;;VAMP_ANLG_CAP_FILTER     = "{BBEFB6C7-2FC4-4139-BB8B-A58BBA724000}"

; 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

;Our strings
HCW="Hauppauge"
DISPLAY_NAME                   = "hcw89 service"
SERVICE_DESCRIPTION            = "hcw89 PCIe capture driver"
Halesite.DeviceDesc8800        = "Hauppauge WinTV-HVR-2250 (8800)"
Wiltshire.DeviceDesc8900       = "Hauppauge WinTV-HVR-2200 (8900)"
Wiltshire.DeviceDesc8901       = "Hauppauge WinTV-HVR-2200 (8901)"
WILTSHIRE_INSTALLATION_DISK    = "Hauppauge WinTV-HVR-22xx Installation Disk"
