;
; HCWUSB2.INF  -- This file contains installation information for Hauppauge USB 2.0 Device,
;                 An MPEG2 WDM capture driver that requires hardware
;               
;; Copyright (c) 2005-2006 Hauppauge Computer Works Inc.


[Version]
Signature="$Chicago$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%iComp.Provider%
LayoutFile=Layout.inf, Layout1.inf, Layout2.inf
CatalogFile.ntx86=HCWUSB2.cat
DriverVer=01/22/2007,2.2.73.25022

[ControlFlags]
;;ExcludeFromSelect=*

[Manufacturer]
%iComp.Manufacturer%=iComp.Device

[iComp.Device]
;%iComp.DeviceDesc%=iComp.Install,USB\VID_04B4&PID_8613	;ezusb
;%iComp.DeviceDesc%=iComp.Install,USB\VID_0547&PID_1002
;%iComp.DeviceDesc%=iComp.Install,USB\VID_2040&PID_2400
;%iComp.DeviceDesc%=iComp.OEM,USB\VID_2040&PID_2450
%iComp.DeviceDesc%=iComp.Install,USB\VID_2040&PID_2900
%iComp.DeviceDesc%=iComp.OEM,USB\VID_2040&PID_2950

[iComp.Install]
Include=    ks.inf, kscaptur.inf, ksfilter.inf
Needs=      KS.Registration,KSCAPTUR.Registration
AddReg=iComp.AddRegRetail,AddRegECP,HcwECP.AddReg,iComp.AddReg,iComp.AddRegProxy,iComp.AddRegColorConverter,iComp.PinNames
CopyFiles=  iComp.CopyFiles,iComp.CopyAXs,iComp.CopyUtils,Copy_ECP
KnownFiles= iComp.KnownFiles
DelFiles=   iComp.DelList

[iComp.Install.NT]
Include=     ks.inf, kscaptur.inf, ksfilter.inf
Needs=       KS.Registration,KSCAPTUR.Registration.NT
AddReg=      iComp.AddRegRetail,AddRegECP,HcwECP.AddReg,iComp.AddReg,iComp.AddRegProxy,iComp.AddRegColorConverter,iComp.PinNames
CopyFiles=   iComp.CopyFiles,iComp.CopyAXs,iComp.CopyUtils,Copy_ECP
DelFiles=    iComp.DelList

[iComp.OEM]
Include=    ks.inf, kscaptur.inf, ksfilter.inf
Needs=      KS.Registration,KSCAPTUR.Registration
AddReg=     iComp.AddRegOEM,AddRegECP,HcwECP.AddReg,iComp.AddReg,iComp.AddRegProxy,iComp.AddRegColorConverter,iComp.PinNames
CopyFiles=  iComp.CopyFiles,iComp.CopyAXs,iComp.CopyUtils,Copy_ECP 
KnownFiles= iComp.KnownFiles
DelFiles=   iComp.DelList

[iComp.OEM.NT]
Include=     ks.inf, kscaptur.inf, ksfilter.inf
Needs=       KS.Registration,KSCAPTUR.Registration.NT
AddReg=      iComp.AddRegOEM,AddRegECP,HcwECP.AddReg,iComp.AddReg,iComp.AddRegProxy,iComp.AddRegColorConverter,iComp.PinNames
CopyFiles=   iComp.CopyFiles,iComp.CopyAXs,iComp.CopyUtils,Copy_ECP 
DelFiles=    iComp.DelList

[DestinationDirs]
;;DefaultDestDir=10,system32\drivers
iComp.CopyFiles=10,system32\drivers
iComp.CopyAXs          =11
iComp.CopyAXs.NT       =11
iComp.CopyUtils        =11
iComp.CopyUtils.NT     =11
Copy_ECP		=11

[iComp.DelList]
HCWUSB2.sys

[iComp.AddRegProxy]
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"hcwPrxP2.ax",,"RunDll32 %11%\hcwUtl32.dll,hcwExec regsvr32 /s hcwPrxP2.ax"

[iComp.AddRegColorConverter]
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"hcwCConv.ax",,"RunDll32 %11%\hcwUtl32.dll,hcwExec regsvr32 /s hcwCConv.ax"

[AddRegECP]
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{432A0DA4-806A-43a0-B426-4F2A234AA6B8},,,%PlugIn_HCW_ECP_CP%
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{432A0DA4-806A-43a0-B426-4F2A234AA6B8},IID,1,A4,0D,2A,43,6A,80,a0,43,B4,26,4F,2A,23,4A,A6,B8
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"hcwECP.ax",,"RunDll32 %11%\hcwUtl32.dll,hcwExec regsvr32 /s hcwECP.ax"
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"hcwxds.dll",,"RunDll32 %11%\hcwUtl32.dll,hcwExec regsvr32 /s hcwXDS.dll"

[HcwECP.AddReg]
HKCR,CLSID\%GUID.HcwECP.PropPage.Info%\InprocServer32,,,HcwECP.ax
HKCR,CLSID\%GUID.HcwECP.PropPage.Info%\InprocServer32,ThreadingModel,,Both
HKLM,%MediaSets%\%GUID.HcwECP.PropPages%\PropertyPages\%GUID.HcwECP.PropPage.Info%,,,
HKCR,CLSID\%GUID.HcwECP.PropPage.Diag%\InprocServer32,,,HcwECP.ax
HKCR,CLSID\%GUID.HcwECP.PropPage.Diag%\InprocServer32,ThreadingModel,,Both
HKLM,%MediaSets%\%GUID.HcwECP.PropPages%\PropertyPages\%GUID.HcwECP.PropPage.Diag%,,,
HKCR,CLSID\%GUID.HcwECP.PropPage.Video%\InprocServer32,,,HcwECP.ax
HKCR,CLSID\%GUID.HcwECP.PropPage.Video%\InprocServer32,ThreadingModel,,Both
HKLM,%MediaSets%\%GUID.HcwECP.PropPages%\PropertyPages\%GUID.HcwECP.PropPage.Video%,,,
HKCR,CLSID\%GUID.HcwECP.PropPage.Audio%\InprocServer32,,,HcwECP.ax
HKCR,CLSID\%GUID.HcwECP.PropPage.Audio%\InprocServer32,ThreadingModel,,Both
HKLM,%MediaSets%\%GUID.HcwECP.PropPages%\PropertyPages\%GUID.HcwECP.PropPage.Audio%,,,
HKCR,CLSID\%GUID.HcwECP.PropPage.System%\InprocServer32,,,HcwECP.ax
HKCR,CLSID\%GUID.HcwECP.PropPage.System%\InprocServer32,ThreadingModel,,Both
HKLM,%MediaSets%\%GUID.HcwECP.PropPages%\PropertyPages\%GUID.HcwECP.PropPage.System%,,,

[iComp.AddRegOEM]
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,DeviceType,0x00010001,0x801
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,DeviceType_D1,0x00010001,0x401

[iComp.AddRegRetail]
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,DeviceType,0x00010001,0x800
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,DeviceType_D1,0x00010001,0x400

[iComp.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,HCWUSB2.sys
HKR,,PageOutWhenUnopened,3,01
HKR,,DontSuspendIfStreamsAreRunning,3,01

;; Hauppauge API Support
HKLM,"Software\Hauppauge\HcwTVWnd","VCapFilter",0x00000000,%iComp.DeviceDesc%
HKLM,SOFTWARE\Conexant\ivac15\1.00.000,"USBFriendlyName",, %iComp.DeviceDesc%
HKLM,SOFTWARE\Conexant\ivac15\1.00.000,"USBDecFriendlyName",, %iComp.Decoder%
; Added for ehome test
HKLM,SOFTWARE\Conexant\ivac15\1.00.000, DoPreroll,0x00010001,0

HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,"8051Code",,%10%"\System32\Drivers\Eagle.bix"

; Attach the property pages to PROPSETID_IVAC_PROPERTIES ( capture filter )
;HKLM,System\CurrentControlSet\Control\MediaSets\%GUID.PROPERTY_SET_IVAC_PROPERTIES%\PropertyPages\{A2574AE1-19D3-11d3-BD75-00500473F96A},,,
;HKLM,System\CurrentControlSet\Control\MediaSets\%GUID.PROPERTY_SET_IVAC_PROPERTIES%\PropertyPages\{A2574AE3-19D3-11d3-BD75-00500473F96A},,,
;HKLM,System\CurrentControlSet\Control\MediaSets\%GUID.PROPERTY_SET_IVAC_PROPERTIES%\PropertyPages\{A2574AE4-19D3-11d3-BD75-00500473F96A},,,
;HKLM,System\CurrentControlSet\Control\MediaSets\%GUID.PROPERTY_SET_IVAC_PROPERTIES%\PropertyPages\{A2574AE2-19D3-11d3-BD75-00500473F96A},,,

;HAUPPAUGE Additions
HKU, %EXCLUDE_KEY_Encode%,      "DoNotUseDShow", 0x10001, 0x00000001
HKCU, %EXCLUDE_KEY_Encode_HKCU%,      "DoNotUseDShow", 0x10001, 0x00000001

; Default values
;JMN - Hauppauge Addition 12/16/03
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,HcwRunningRestrictions,0x00010001,3;
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,TigerRevC,0x00010001,1
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,MakoB2,0x00010001,1
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,MakoUseFW,0x00010001,1
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,"MakoFWFileName",,\SystemRoot\system32\drivers\Merlin.rom
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,MakoFWUseFile,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,MakoFWFastDownload,0x00010001,1
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,RestMakoOnInit,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,I2CLongPktHighSpeed,0x00010001,1

;HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,UsbwdmDoEHome,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,UsbwdmDoEHome,0x00010001,1
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,DisableStreamsOnSupriseRem,0x00010001,1
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,OutType,0x00010001,10
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,EHomeOutType,0x00010001,14
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,InType,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,VideoRes,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,TVFormat,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,AudioDataRate,0x00010001,14
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,GOPSizeN,0x00010001,15
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,GOPSizeM,0x00010001,3
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,ClosedGOP,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,SamplingRate,0x00010001,2
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,AudioOutputMode,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,AudioCRC,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,BitrateMode,0x00010001,0
;HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,Bitrate,0x00010001,4000000
;HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,BitratePeak,0x00010001,6000000
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,Bitrate,0x00010001,6000000
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,BitratePeak,0x00010001,9000000
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,BitrateMux,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,BitrateVbrPadding,0x00010001,1
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,TVChannel,0x00010001,3
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,TVType,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,TrickMode,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,InverseTelecine,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,TunerType,0x00010001,5
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,SubDeviceId,0x00010001,0x734CC
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,SubDeviceId_D1,0x00010001,0x71848

HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,InitHwOnDrvInit,0x00010001,1
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,AudCapStream,0x00010001,1
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,VbiCapStream,0x00010001,1
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,YuvCapStream,0x00010001,1
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,PollingInterval,0x00010001,15
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,"8051Code",,\SystemRoot\system32\drivers\Eagle.bix
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,UseFile8051Code,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,MpegTestMode,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,MpegRemoveResidual,0x00010001,1
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,YUVRemoveResidual,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,YUVUsePTS,0x00010001,1
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,USBDUseMdl,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,USBDInitIrp,0x00010001,1
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,MpegCapSetDiscontinuity,0x00010001,4
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,YUVCapMaxPending,0x00010001,1
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,DemuxCapMaxPending,0x00010001,4
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,MpegDecMaxPending,0x00010001,1
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,OverWriteSubDeviceId,0x00010001,1
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,MpegDecPauseStep,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,EncoderFwCompatible,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,EventNotification,0x00010001,1
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,AutoVimReset,0x00010001,1
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,YUVNoBufferKeepGoing,0x00010001,1
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,YUVFixedSize,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,YUVUseStreamTime,0x00010001,1
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,VBIUseStreamTime,0x00010001,1
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,YUVCompensateJittering,0x00010001,1
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,VBICompensateJittering,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,MpegCapEOS,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,VBISwapBytes,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,SceneChangeMode,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,VBISearchSAVForField2,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,VBISearchSAVForField2InX,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,AVOOutputMode,0x00010001,3
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,AVOOutputModeD1,0x00010001,0

HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,DemuxCapMode,0x00010001,3
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,DemuxCapBooster,0x00010001,1
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,ViddecAsclkMsp,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,MpegCapSetDiscontinuity,0x00010001,0
;HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,MultipleStreamInstances,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,MultipleStreamInstances,0x00010001,1

HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,ExclusiveHwAccess,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,MpegCapConventionalStreamingModel,0x00010001,1
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,BottomCropEnable,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,BottomCropLines,0x00010001,0
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,VBIDontHoldBufferOnDisable,0x00010001,1

;was 2
;HAUPPAUGE Change
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,MpegCapMaxPending,0x00010001,1
HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,MpegCapBooster,0x00010001,1

;was 2
;HAUPPAUGE Change
;HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,VBIAudCapMaxPending,0x00010001,1 
;HKLM,system\currentcontrolset\services\Conexant\Parameters\ivac15\DrvUSB,VBIAudCapBooster,0x00010001,1



; SAA7115
;
HKR,SAA7115,SVideoMode,0x10001,	08,00,00,00
HKR,SAA7115,CVideoMode,0x10001,	03,00,00,00
HKR,SAA7115,TVVideoMode,0x10001,04,00,00,00
HKR,SAA7115,InvalidVideoMode,0x10001,01,00,00,00
HKR,SAA7115,AudClkMode,0x10001,	00,00,00,00

;Hauppauge 
HKR,Msp44x8,PreScale_Scart_NTSC,0x10001,    00, 19, 00, 00 
HKR,Msp44x8,PreScale_Scart_PAL,0x10001,     00, 50, 00, 00 

[iComp.CopyFiles]
HCWUSB2.sys

[iComp.CopyAXs]
hcwPrxP2.ax
hcwCConv.ax


[iComp.CopyUtils]
hcwUtl32.dll

[iComp.KnownFiles]
HCWUSB2.sys=safe
hcwUtl32.dll=safe
hcwECP.ax=safe
hcwPrxP2.ax=safe
hcwCConv.ax=safe
hcwXDS.dll=safe

[Copy_ECP]
hcwECP.ax
hcwXDS.dll

;[iComp.Install.Interfaces]
;AddInterface=%KSCATEGORY_DATADECOMPRESSOR%,"GLOBAL",VideoDecompressorUT,
;AddInterface=%KSCATEGORY_CAPTURE%,"GLOBAL",VideoCaptureTV,
;AddInterface=%KSCATEGORY_CROSSBAR%,"GLOBAL",VideoCrossbar,
;AddInterface=%KSCATEGORY_TVTUNER%,"GLOBAL",VideoTvTuner,
;AddInterface=%KSCATEGORY_TVAUDIO%,"GLOBAL",VideoTvAudio,
;AddInterface=%KSCATEGORY_ENCODER%,"GLOBAL",VideoEncoder,



;[iComp.Install.NT.Interfaces]
;AddInterface=%KSCATEGORY_DATADECOMPRESSOR%,"GLOBAL",VideoDecompressorUT,
;AddInterface=%KSCATEGORY_CAPTURE%,"GLOBAL",VideoCaptureTV,
;AddInterface=%KSCATEGORY_CROSSBAR%,"GLOBAL",VideoCrossbar,
;AddInterface=%KSCATEGORY_TVTUNER%,"GLOBAL",VideoTvTuner,
;AddInterface=%KSCATEGORY_TVAUDIO%,"GLOBAL",VideoTvAudio,
;AddInterface=%KSCATEGORY_ENCODER%,"GLOBAL",VideoEncoder,

;[iComp.OEM.Interfaces]
;AddInterface=%KSCATEGORY_DATADECOMPRESSOR%,"GLOBAL",VideoDecompressorUT,
;AddInterface=%KSCATEGORY_CAPTURE%,"GLOBAL",VideoCaptureTV,
;AddInterface=%KSCATEGORY_CROSSBAR%,"GLOBAL",VideoCrossbar,
;AddInterface=%KSCATEGORY_TVTUNER%,"GLOBAL",VideoTvTuner,
;AddInterface=%KSCATEGORY_TVAUDIO%,"GLOBAL",VideoTvAudio,
;AddInterface=%KSCATEGORY_ENCODER%,"GLOBAL",VideoEncoder,



;[iComp.OEM.NT.Interfaces]
;AddInterface=%KSCATEGORY_DATADECOMPRESSOR%,"GLOBAL",VideoDecompressorUT,
;AddInterface=%KSCATEGORY_CAPTURE%,"GLOBAL",VideoCaptureTV,
;AddInterface=%KSCATEGORY_CROSSBAR%,"GLOBAL",VideoCrossbar,
;AddInterface=%KSCATEGORY_TVTUNER%,"GLOBAL",VideoTvTuner,
;AddInterface=%KSCATEGORY_TVAUDIO%,"GLOBAL",VideoTvAudio,
;AddInterface=%KSCATEGORY_ENCODER%,"GLOBAL",VideoEncoder,

[iComp.Install.Interfaces]
AddInterface=%KSCATEGORY_DATADECOMPRESSOR%,"Capture",VideoDecompressorUT,
AddInterface=%KSCATEGORY_CAPTURE%,"Capture",VideoCaptureTV,
AddInterface=%KSCATEGORY_CROSSBAR%,"Capture",VideoCrossbar,
AddInterface=%KSCATEGORY_TVTUNER%,"Capture",VideoTvTuner,
AddInterface=%KSCATEGORY_TVAUDIO%,"Capture",VideoTvAudio,
AddInterface=%KSCATEGORY_MULTIPLEXER%,"Encoder",VideoEncoder,


[iComp.Install.NT.Interfaces]
AddInterface=%KSCATEGORY_DATADECOMPRESSOR%,"Capture",VideoDecompressorUT,
AddInterface=%KSCATEGORY_CAPTURE%,"Capture",VideoCaptureTV,
AddInterface=%KSCATEGORY_CROSSBAR%,"Capture",VideoCrossbar,
AddInterface=%KSCATEGORY_TVTUNER%,"Capture",VideoTvTuner,
AddInterface=%KSCATEGORY_TVAUDIO%,"Capture",VideoTvAudio,
AddInterface=%KSCATEGORY_MULTIPLEXER%,"Encoder",VideoEncoder,

[iComp.OEM.Interfaces]
AddInterface=%KSCATEGORY_DATADECOMPRESSOR%,"Capture",VideoDecompressorUT,
AddInterface=%KSCATEGORY_CAPTURE%,"Capture",VideoCaptureTV,
AddInterface=%KSCATEGORY_CROSSBAR%,"Capture",VideoCrossbar,
AddInterface=%KSCATEGORY_TVTUNER%,"Capture",VideoTvTuner,
AddInterface=%KSCATEGORY_TVAUDIO%,"Capture",VideoTvAudio,
AddInterface=%KSCATEGORY_MULTIPLEXER%,"Encoder",VideoEncoder,


[iComp.OEM.NT.Interfaces]
AddInterface=%KSCATEGORY_DATADECOMPRESSOR%,"Capture",VideoDecompressorUT,
AddInterface=%KSCATEGORY_CAPTURE%,"Capture",VideoCaptureTV,
AddInterface=%KSCATEGORY_CROSSBAR%,"Capture",VideoCrossbar,
AddInterface=%KSCATEGORY_TVTUNER%,"Capture",VideoTvTuner,
AddInterface=%KSCATEGORY_TVAUDIO%,"Capture",VideoTvAudio,
AddInterface=%KSCATEGORY_MULTIPLEXER%,"Encoder",VideoEncoder,




[VideoDecompressorUT]
AddReg=VideoDecompressorUT.AddReg

[VideoCaptureTV]
AddReg=VideoCaptureTV.AddReg

[VideoTvTuner]
AddReg=VideoTvTuner.AddReg

[VideoCrossbar]
AddReg=VideoXBar.AddReg

[VideoTvAudio]
AddReg=VideoTvAudio.AddReg

[VideoEncoder]
AddReg=VideoEncoder.AddReg




[VideoDecompressorUT.AddReg]
HKR,,CLSID,,%ProxyDecomp.CLSID%
HKR,,FriendlyName,,%iComp.Decoder%
HKR,,Merit,1,00,00,40,00


[VideoCaptureTV.AddReg]
HKR,,CLSID,,%ProxyVidCap.CLSID%
HKR,,FriendlyName,,%iComp.DeviceDesc%
;;;;;;HKR,PinFactory\0\Interfaces\{C6E13343-30AC-11d0-A18C-00A0C9118956},,,{C6E13343-30AC-11d0-A18C-00A0C9118956}


[VideoTvTuner.AddReg]
HKR,,CLSID,,%ProxyTvTuner.CLSID%
HKR,,FriendlyName,,%iComp.TvTuner%


[VideoXBar.AddReg]
HKR,,CLSID,,%ProxyXBar.CLSID%
HKR,,FriendlyName,,%iComp.Crossbar%
; IAMCrossbar
;HKR,PinFactory\0\Interfaces\{6a2e0640-28e4-11d0-a18c-00a0c9118956},,,{6a2e0640-28e4-11d0-a18c-00a0c9118956}


[VideoTvAudio.AddReg]
HKR,,CLSID,,%ProxyTvAudio.CLSID%
HKR,,FriendlyName,,%iComp.TvAudio%


[VideoEncoder.AddReg]
HKR,,CLSID,,%ProxyEncoder.CLSID%
HKR,,FriendlyName,,%iComp.Encoder%
HKR,Interfaces\{B43C4EEC-8C32-4791-9102-508ADA5EE8E7},,,

; Added for ehome test
HKR,Interfaces\{b05dabd9-56e5-4fdc-afa4-8a47e91f1c9c},,,
HKR,Capabilities,,,
HKR,Capabilities,"{BB4FAA02-596C-4129-8FB3-74E75421FA02}", 0x00010001,1
HKR,,Merit,1,00,00,40,00


HKCR,%ActiveMovieCategories%\%GUID.Encoder%,CLSID,,%GUID.Encoder%
HKCR,%ActiveMovieCategories%\%GUID.Encoder%,FriendlyName,,%Category_Encoders%
HKCR,%ActiveMovieCategories%\%GUID.Multiplexer%,CLSID,,%GUID.Multiplexer%
HKCR,%ActiveMovieCategories%\%GUID.Multiplexer%,FriendlyName,,%Category_Multiplexers%

HKLM,%MediaCategories%\%GUID.Encoder%,Name,,%Node.Encoder%
HKLM,%MediaCategories%\%GUID.Encoder%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%GUID.Multiplexer%,Name,,%Node.Multiplexer%
HKLM,%MediaCategories%\%GUID.Multiplexer%,Display,1,00,00,00,00



[iComp.Install.Services]
AddService = iComp,0x00000002,iComp.ServiceInstall

[iComp.Install.NT.Services]
AddService = iComp,0x00000002,iComp.ServiceInstall

[iComp.OEM.Services]
AddService = iComp,0x00000002,iComp.ServiceInstall

[iComp.OEM.NT.Services]
AddService = iComp,0x00000002,iComp.ServiceInstall


[iComp.ServiceInstall]
DisplayName   = %iComp.DeviceDesc%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\HCWUSB2.sys

[iComp.PinNames]
HKLM,%MediaCategories%\%GUID.iComp_VIDEO_OUT%,Name,,%Pin.iComp_VIDEO_OUT%
HKLM,%MediaCategories%\%GUID.iComp_AUDIO_OUT%,Name,,%Pin.iComp_AUDIO_OUT%
HKLM,%MediaCategories%\%GUID.iComp_INDEX_OUT%,Name,,%Pin.iComp_INDEX_OUT%
HKLM,%MediaCategories%\%GUID.iComp_YUV_OUT%,Name,,%Pin.iComp_YUV_OUT%
HKLM,%MediaCategories%\%GUID.iComp_VIDEO_IN%,Name,,%Pin.iComp_VIDEO_IN%
HKLM,%MediaCategories%\%GUID.iComp_VIDEO_VIRT_OUT%,Name,,%Pin.iComp_VIDEO_VIRT_OUT%
HKLM,%MediaCategories%\%GUID.iComp_VIDEO_VIRT_IN%,Name,,%Pin.iComp_VIDEO_VIRT_IN%
HKLM,%MediaCategories%\%GUID.iComp_AUDIO_VIRT_OUT%,Name,,%Pin.iComp_AUDIO_VIRT_OUT%
HKLM,%MediaCategories%\%GUID.iComp_AUDIO_VIRT_IN%,Name,,%Pin.iComp_AUDIO_VIRT_IN%
HKLM,%MediaCategories%\%GUID.iComp_AUDIO_ANALOG_IN%,Name,,%Pin.iComp_AUDIO_ANALOG_IN%




[SourceDisksNames]
3333=%iComp.InstallationDir%,,,DriverD2

[SourceDisksFiles]
HCWUSB2.sys=3333
hcwUtl32.dll=3333
hcwECP.ax=3333
hcwPrxP2.ax=3333
hcwCConv.ax=3333
hcwXDS.dll=3333

;---------------------------------------------------------------
;                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
;REG_EXPAND_SZ=0x00020000
;REG_DWORD=0x00010001


ProxyDecomp.CLSID  = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
ProxyVidCap.CLSID  = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
ProxyTvTuner.CLSID = "{266EEE40-6C63-11cf-8A03-00AA006ECB65}"
ProxyXBar.CLSID    = "{71F96460-78F3-11d0-A18C-00A0C9118956}"
ProxyTvAudio.CLSID = "{71F96462-78F3-11d0-A18C-00A0C9118956}"
ProxyEncoder.CLSID = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"


ActiveMovieCategories="CLSID\{da4e3da0-d07d-11d0-bd50-00a0c911ce86}\Instance"
GUID.Encoder="{19689BF6-C384-48fd-AD51-90E58C79F70B}"
GUID.Multiplexer="{7A5DE1D3-01A1-452c-B481-4FA2B96271E8}"

MediaSets = "System\CurrentControlSet\Control\MediaSets"

;Hauppauge Additions
EXCLUDE_KEY_Encode=".DEFAULT\Software\Microsoft\RTC\VideoCapture\Hauppauge WinTV PVR USB2 Encoder"
EXCLUDE_KEY_Encode_HKCU ="Software\Microsoft\RTC\VideoCapture\Hauppauge WinTV PVR USB2 Encoder"

MediaCategories="SYSTEM\CurrentControlSet\Control\MediaCategories"
GUID.PROPERTY_SET_IVAC_PROPERTIES="{d2185a40-0398-11d3-a53e-00a0c9ef506a}"
GUID.iComp_VIDEO_OUT = "{69AD5E21-0D72-11d5-BE6B-0001023E6A8D}"
GUID.iComp_AUDIO_OUT = "{71B35811-5FE4-4f08-BEEC-C28896E20A0B}"
GUID.iComp_INDEX_OUT = "{8D2450BF-D7FC-4bbe-AF3A-16088A117C34}"
GUID.iComp_YUV_OUT = "{8E2550BE-D7eC-4bbf-AF3A-16088A117C34}"
GUID.iComp_VIDEO_IN  = "{F6B415E0-1946-11d5-BE6B-0001023E6A8D}"
GUID.iComp_VIDEO_VIRT_OUT  = "{9D38B3C9-3212-454b-9D1F-2BB3F8E3D186}"
GUID.iComp_VIDEO_VIRT_IN  = "{3C725FE4-4CD7-4dd3-9859-FA7A74494B32}"
GUID.iComp_AUDIO_VIRT_OUT  = "{BC899C2B-8C23-4d03-9C51-21921F9FF89C}"
GUID.iComp_AUDIO_VIRT_IN  = "{0907EA10-ABC1-463a-AC80-1638F74F369A}"
GUID.iComp_AUDIO_ANALOG_IN  = "{8DD2A325-D34E-4d63-A7E3-9F427F295279}"


;
; HcwECP property page GUIDS
;
GUID.HcwECP.PropPages          = "{70BDBEEE-48CA-40ae-B700-34A3F2A29142}"
GUID.HcwECP.PropPage.Info      = "{33A93DDC-434C-4881-8788-9458ACEFDA80}"
GUID.HcwECP.PropPage.Diag      = "{EA4F9A26-4AD7-401b-B137-96943BF9DDDD}"
GUID.HcwECP.PropPage.Video     = "{2C669739-B41C-4092-9750-97AC9073507B}"
GUID.HcwECP.PropPage.Audio     = "{10A64E72-CE72-4ffd-8D0D-9ECA43FB6A5A}"
GUID.HcwECP.PropPage.System    = "{DB2132AE-12DB-4624-A4F1-517F1313D66F}"

KSCATEGORY_DATADECOMPRESSOR = "{2721AE20-7E70-11D0-A5D6-28DB04C10000}"
KSCATEGORY_CAPTURE          = "{65e8773d-8f56-11d0-a3b9-00a0c9223196}"
KSCATEGORY_CROSSBAR         = "{a799a801-a46d-11d0-a18c-00a02401dcd4}"
KSCATEGORY_TVTUNER          = "{a799a800-a46d-11d0-a18c-00a02401dcd4}"
KSCATEGORY_TVAUDIO          = "{a799a802-a46d-11d0-a18c-00a02401dcd4}"
KSCATEGORY_ENCODER	    = "{19689BF6-C384-48fd-AD51-90E58C79F70B}"

; Added for ehome test
KSCATEGORY_MULTIPLEXER	    = "{7A5DE1D3-01A1-452c-B481-4FA2B96271E8}"

PlugIn_HCW_ECP_CP="Hauppauge ECP KSProxy Extension"

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

Category_Encoders="WDM Streaming Encoder Devices"
Category_Multiplexers="WDM Streaming Multiplexer Devices"
Node.Encoder="Encoder"
Node.Multiplexer="Multiplexer"


;Pin.iComp_VIDEO_OUT   = "Video Out"
Pin.iComp_VIDEO_OUT   = "Capture"
;Pin.iComp_AUDIO_OUT   = "Audio Out"
Pin.iComp_AUDIO_OUT   = "Preview Audio"
Pin.iComp_INDEX_OUT   = "Index"
;Pin.iComp_YUV_OUT   = "Video Preview"
Pin.iComp_YUV_OUT   = "Preview Video"
Pin.iComp_VIDEO_IN    = "Video In"
Pin.iComp_VIDEO_VIRT_OUT = "Video Virtual Out"
Pin.iComp_VIDEO_VIRT_IN = "Video Virtual In"
Pin.iComp_AUDIO_VIRT_OUT = "Audio Virtual Out"
Pin.iComp_AUDIO_VIRT_IN = "Audio Virtual In"
Pin.iComp_AUDIO_ANALOG_IN = "Analog Audio In"

; OMAR changes!!!!  Not sure if we need to do this...
;Pin.iComp_VIDEO_OUT   = "Mpeg Out"
;Pin.iComp_AUDIO_OUT   = "Audio Preview"
;Pin.iComp_VIDEO_IN    = "Mpeg In"

iComp.InstallationDir       = "Hauppauge WinTV PVR2 USB2 Driver"
iComp.Provider              = "Hauppauge Computer Works, Inc."
iComp.Manufacturer          = "Hauppauge Computer Works, Inc."
iComp.DeviceDesc            = "Hauppauge WinTV PVR2 USB2 Encoder"
iComp.TvTuner               = "Hauppauge WinTV PVR2 USB2 TvTuner"
iComp.Crossbar              = "Hauppauge WinTV PVR2 USB2 Crossbar"
iComp.TvAudio               = "Hauppauge WinTV PVR2 USB2 TvAudio"
iComp.Encoder               = "Hauppauge WinTV PVR2 USB2 Device"
iComp.Decoder               = "Hauppauge WinTV PVR2 USB2 Decoder"

