;
; HCWPVRP2.INF  -- This file contains installation information for
;                   Hauppauge WinTV-PVR PCI II
;                 An MPEG2 WDM capture driver that requires hardware
;               
;*** Modified 09/14/2005
;; Copyright (c) 2001-2004 Hauppauge Computer Works, Inc.

[Version]
LayoutFile=Layout.inf, Layout1.inf, Layout2.inf
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%HCW%
DriverVer=09/14/2005,1.18.21.23257
CatalogFile.ntx86=HCWA1.cat


[DestinationDirs]
p2.CopyDrivers      =10,system32\drivers
p2.CopyDrivers.NT   =12
p2.CopyAXs          =11
p2.CopyAXs.NT       =11
p2.CopyUtils        =11
p2.CopyUtils.NT     =11
stream.CopyDrivers  =10,system32\drivers
p2.Copy_R	        =11
p2.Copy_R.NT        =11

[SourceDisksFiles]
hcwPVRP2.sys=1
hcwXDS.dll=1
hcwUtl32.dll=1
hcwPrxP2.ax=1
hcwCConv.ax=1
hcwECP.ax=1

[SourceDisksNames]
1=%p2.InstallDisk%,,,DriverA1

[Manufacturer]
%HCW%=Hauppauge

;---------------------------------------------------------------
;              Hauppauge WinTV-PVR PCI II
;---------------------------------------------------------------

[Hauppauge]
%p2.DeviceEncode%       =p2.Dev15,          PCI\VEN_4444&DEV_0803&SUBSYS_40010070
%p2.DeviceEncodeDecode% =p2.Dev15_VO,       PCI\VEN_4444&DEV_0803&SUBSYS_40000070
%p2.DeviceEncode16%     =p2.Dev16,          PCI\VEN_4444&DEV_0016&SUBSYS_40010070
%p2.DeviceEncode16%     =p2.Dev16_NH,       PCI\VEN_4444&DEV_0016&SUBSYS_40090070
%p2.DeviceEncode%       =p2.Dev15,          PCI\VEN_4444&DEV_0803&SUBSYS_48010070
%p2.DeviceEncodeDecode% =p2.Dev15_VO,       PCI\VEN_4444&DEV_0803&SUBSYS_48000070
%p2.DeviceEncode16%     =p2.Dev16,          PCI\VEN_4444&DEV_0016&SUBSYS_48010070
%p2.DeviceEncode16%     =p2.Dev16_NH,       PCI\VEN_4444&DEV_0016&SUBSYS_48090070
%p2.DeviceEncode%       =p2.Dev15,          PCI\VEN_4444&DEV_0803&SUBSYS_48030070
%p2.DeviceEncode16%     =p2.Dev16,          PCI\VEN_4444&DEV_0016&SUBSYS_48030070
%p2.DeviceEncode16%     =p2.Dev16_NH,       PCI\VEN_4444&DEV_0016&SUBSYS_480B0070


;;
;; p2.Dev15
;;
[p2.Dev15]
Include         =ks.inf, kscaptur.inf, ksfilter.inf
Needs           =KS.Registration,KSCAPTUR.Registration,MSPCLOCK.Installation
AddReg			=p2.AddReg, p2.PinNameRegistration, p2.AddRegEncode, p2.AddRegProxy, p2.AddRegColorConverter, p2.AddRegECP
CopyFiles		=p2.CopyDrivers, p2.CopyAXs, p2.CopyUtils, stream.CopyDrivers
KnownFiles		=p2.KnownFiles

[p2.Dev15.NT]
Include         =ks.inf, kscaptur.inf, ksfilter.inf
Needs           =KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
AddReg			=p2.AddReg, p2.PinNameRegistration, p2.AddRegEncode, p2.AddReg_R, p2.AddRegProxy, p2.AddRegColorConverter, p2.AddRegECP
CopyFiles		=p2.CopyDrivers.NT, p2.CopyAXs, p2.CopyUtils, p2.Copy_R

[p2.Dev15.NT.Services]
AddService = hcwPVRP2,0x00000002,p2.ServiceInstall.NT

[p2.Dev15.Interfaces]
AddInterface={a799a800-a46d-11d0-a18c-00a02401dcd4},%hcwAddInterfaceCapture%,VideoTvTuner,
AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},%hcwAddInterfaceCapture%,VideoCrossbar,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},%hcwAddInterfaceCapture%,VideoTvAudio,
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},%hcwAddInterfaceCapture%,VideoCapture,
AddInterface={7A5DE1D3-01A1-452c-B481-4FA2B96271E8},%hcwAddInterfaceEncoder%,VideoMultiplexer,

[p2.Dev15.NT.Interfaces]
AddInterface={a799a800-a46d-11d0-a18c-00a02401dcd4},%hcwAddInterfaceCapture%,VideoTvTuner,
AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},%hcwAddInterfaceCapture%,VideoCrossbar,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},%hcwAddInterfaceCapture%,VideoTvAudio,
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},%hcwAddInterfaceCapture%,VideoCapture,
AddInterface={7A5DE1D3-01A1-452c-B481-4FA2B96271E8},%hcwAddInterfaceEncoder%,VideoMultiplexer,



;;
;; p2.Dev15_VO
;;
[p2.Dev15_VO]
Include         =ks.inf, kscaptur.inf, ksfilter.inf
Needs           =KS.Registration,KSCAPTUR.Registration,MSPCLOCK.Installation
AddReg			=p2.AddReg, p2.PinNameRegistration, p2.AddRegEncode_VO, p2.AddRegProxy, p2.AddRegColorConverter, p2.PinNameReg_VO, p2.AddRegECP
CopyFiles		=p2.CopyDrivers, p2.CopyAXs, p2.CopyUtils, stream.CopyDrivers
KnownFiles		=p2.KnownFiles

[p2.Dev15_VO.NT]
Include         =ks.inf, kscaptur.inf, ksfilter.inf
Needs           =KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
AddReg			=p2.AddReg, p2.PinNameRegistration, p2.AddRegEncode_VO, p2.AddReg_R, p2.AddRegProxy, p2.AddRegColorConverter, p2.PinNameReg_VO, p2.AddRegECP
CopyFiles		=p2.CopyDrivers.NT, p2.CopyAXs, p2.CopyUtils, p2.Copy_R

[p2.Dev15_VO.NT.Services]
AddService = hcwPVRP2,0x00000002,p2.ServiceInstall_VO.NT

[p2.Dev15_VO.Interfaces]
AddInterface={a799a800-a46d-11d0-a18c-00a02401dcd4},%hcwAddInterfaceCapture%,VideoTvTuner,
AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},%hcwAddInterfaceCapture%,VideoCrossbar,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},%hcwAddInterfaceCapture%,VideoTvAudio,
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},%hcwAddInterfaceCapture%,VideoCapture,
AddInterface={2721AE20-7E70-11D0-A5D6-28DB04C10000},%hcwAddInterfaceDecoder%,VideoDecoder,
AddInterface={7A5DE1D3-01A1-452c-B481-4FA2B96271E8},%hcwAddInterfaceEncoder%,VideoMultiplexer,

[p2.Dev15_VO.NT.Interfaces]
AddInterface={a799a800-a46d-11d0-a18c-00a02401dcd4},%hcwAddInterfaceCapture%,VideoTvTuner,
AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},%hcwAddInterfaceCapture%,VideoCrossbar,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},%hcwAddInterfaceCapture%,VideoTvAudio,
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},%hcwAddInterfaceCapture%,VideoCapture,
AddInterface={2721AE20-7E70-11D0-A5D6-28DB04C10000},%hcwAddInterfaceDecoder%,VideoDecoder,
AddInterface={7A5DE1D3-01A1-452c-B481-4FA2B96271E8},%hcwAddInterfaceEncoder%,VideoMultiplexer,



;;
;; p2.Dev16
;;
[p2.Dev16]
Include         =ks.inf, kscaptur.inf, ksfilter.inf
Needs           =KS.Registration,KSCAPTUR.Registration,MSPCLOCK.Installation
AddReg			=p2.AddReg, p2.PinNameRegistration, p2.AddRegEncode16, p2.AddRegProxy, p2.AddRegColorConverter, p2.AddRegECP
CopyFiles		=p2.CopyDrivers, p2.CopyAXs, p2.CopyUtils, stream.CopyDrivers
KnownFiles		=p2.KnownFiles

[p2.Dev16.NT]
Include         =ks.inf, kscaptur.inf, ksfilter.inf
Needs           =KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
AddReg			=p2.AddReg, p2.PinNameRegistration, p2.AddRegEncode16, p2.AddReg_R, p2.AddRegProxy, p2.AddRegColorConverter, p2.AddRegECP
CopyFiles		=p2.CopyDrivers.NT, p2.CopyAXs, p2.CopyUtils, p2.Copy_R

[p2.Dev16.NT.Services]
AddService = hcwPVRP2,0x00000002,p2.ServiceInstall16.NT

[p2.Dev16.Interfaces]
AddInterface={a799a800-a46d-11d0-a18c-00a02401dcd4},%hcwAddInterfaceCapture%,VideoTvTuner,
AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},%hcwAddInterfaceCapture%,VideoCrossbar,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},%hcwAddInterfaceCapture%,VideoTvAudio,
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},%hcwAddInterfaceCapture%,VideoCapture,
AddInterface={7A5DE1D3-01A1-452c-B481-4FA2B96271E8},%hcwAddInterfaceEncoder%,VideoMultiplexer,

[p2.Dev16.NT.Interfaces]
AddInterface={a799a800-a46d-11d0-a18c-00a02401dcd4},%hcwAddInterfaceCapture%,VideoTvTuner,
AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},%hcwAddInterfaceCapture%,VideoCrossbar,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},%hcwAddInterfaceCapture%,VideoTvAudio,
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},%hcwAddInterfaceCapture%,VideoCapture,
AddInterface={7A5DE1D3-01A1-452c-B481-4FA2B96271E8},%hcwAddInterfaceEncoder%,VideoMultiplexer,



;;
;; p2.Dev16_NH
;;
[p2.Dev16_NH]
Include         =ks.inf, kscaptur.inf, ksfilter.inf
Needs           =KS.Registration,KSCAPTUR.Registration,MSPCLOCK.Installation
AddReg			=p2.AddReg, p2.PinNameRegistration, p2.AddRegEncode16, p2.AddRegNoHead, p2.AddRegProxy, p2.AddRegColorConverter, p2.AddRegECP
CopyFiles		=p2.CopyDrivers, p2.CopyAXs, p2.CopyUtils, stream.CopyDrivers
KnownFiles		=p2.KnownFiles

[p2.Dev16_NH.NT]
Include         =ks.inf, kscaptur.inf, ksfilter.inf
Needs           =KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
AddReg			=p2.AddReg, p2.PinNameRegistration, p2.AddRegEncode16, p2.AddRegNoHead, p2.AddReg_R, p2.AddRegProxy, p2.AddRegColorConverter, p2.AddRegECP
CopyFiles		=p2.CopyDrivers.NT, p2.CopyAXs, p2.CopyUtils, p2.Copy_R

[p2.Dev16_NH.NT.Services]
AddService = hcwPVRP2,0x00000002,p2.ServiceInstall16.NT

[p2.Dev16_NH.Interfaces]
AddInterface={a799a800-a46d-11d0-a18c-00a02401dcd4},%hcwAddInterfaceCapture%,VideoTvTuner,
AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},%hcwAddInterfaceCapture%,VideoCrossbar,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},%hcwAddInterfaceCapture%,VideoTvAudio,
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},%hcwAddInterfaceCapture%,VideoCapture,
AddInterface={7A5DE1D3-01A1-452c-B481-4FA2B96271E8},%hcwAddInterfaceEncoder%,VideoMultiplexer,

[p2.Dev16_NH.NT.Interfaces]
AddInterface={a799a800-a46d-11d0-a18c-00a02401dcd4},%hcwAddInterfaceCapture%,VideoTvTuner,
AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},%hcwAddInterfaceCapture%,VideoCrossbar,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},%hcwAddInterfaceCapture%,VideoTvAudio,
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},%hcwAddInterfaceCapture%,VideoCapture,
AddInterface={7A5DE1D3-01A1-452c-B481-4FA2B96271E8},%hcwAddInterfaceEncoder%,VideoMultiplexer,



;;
;; ServiceInstall
;;
[p2.ServiceInstall.NT]
DisplayName   = %p2.DeviceEncode%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\hcwPVRP2.sys

[p2.ServiceInstall16.NT]
DisplayName   = %p2.DeviceEncode16%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\hcwPVRP2.sys

[p2.ServiceInstall_VO.NT]
DisplayName   = %p2.DeviceEncodeDecode%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\hcwPVRP2.sys




[p2.AddReg_R]
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"hcwxds.dll",,"RunDll32 %11%\hcwUtl32.dll,hcwExec regsvr32 /s hcwXDS.dll"

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

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

[p2.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"

[p2.AddRegNoHead]
HKR,"Driver","HcwInputsCompositeExclude",0x00010001,74
HKR,"Driver","HcwInputsSVideoExclude",0x00010001,2


[p2.AddRegEncode]
HKR,,FriendlyName,,%p2.DeviceEncode%
HKR,"Driver","SubDeviceID",0x00010001,0x70429
HKU, ".DEFAULT\"%EXCLUDE_KEY_Encode%,      "DoNotUseDShow", 0x10001, 0x00000001
HKCU, %EXCLUDE_KEY_Encode%,      "DoNotUseDShow", 0x10001, 0x00000001
HKR,"Driver","StopCaptureBeforeChannelChange",0x00010001,1

[p2.AddRegEncode_VO]
HKR,,FriendlyName,,%p2.DeviceEncodeDecode%
HKR,"Driver","SubDeviceID",0x00010001,0x10429
HKU, ".DEFAULT\"%EXCLUDE_KEY_Encode_VO%,   "DoNotUseDShow", 0x10001, 0x00000001
HKCU, %EXCLUDE_KEY_Encode_VO%,   "DoNotUseDShow", 0x10001, 0x00000001
HKR,"Driver","StopCaptureBeforeChannelChange",0x00010001,1

[p2.AddRegEncode16]
HKR,,FriendlyName,,%p2.DeviceEncode16%
HKR,"Driver","SubDeviceID",0x00010001,0x70448
; DisableEventNotification defaults to OFF (the preferred -15 setting).  We want it ON for the -16.
HKR,"Driver","DisableEventNotification",0x00010001,1
; EnableVIMProtection is always 0 for 15 hardware (regardless of how the registry is set)
HKR,"Driver","EnableVIMProtection",0x00010001,1
HKU, ".DEFAULT\"%EXCLUDE_KEY_Encode16%,    "DoNotUseDShow", 0x10001, 0x00000001
HKCU, %EXCLUDE_KEY_Encode16%,    "DoNotUseDShow", 0x10001, 0x00000001
HKR,"Driver","StopCaptureBeforeChannelChange",0x00010001,0


;;
;; the big AddReg
;;
[p2.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,0,hcwPVRP2.sys
HKR,,PageOutWhenUnopened,3,00
HKR,,DontSuspendIfStreamsAreRunning,3,01

; Attach the property pages to ouput capture pin
;HKLM,System\CurrentControlSet\Control\MediaCategories\%GUID.PINNAME_MPEG2_VIDEO%\PropertyPages\{A2574AE1-19D3-11d3-BD75-00500473F96A},,,
;HKLM,System\CurrentControlSet\Control\MediaCategories\%GUID.PINNAME_MPEG2_VIDEO%\PropertyPages\{A2574AE3-19D3-11d3-BD75-00500473F96A},,,
;HKLM,System\CurrentControlSet\Control\MediaCategories\%GUID.PINNAME_MPEG2_VIDEO%\PropertyPages\{A2574AE4-19D3-11d3-BD75-00500473F96A},,,
;HKLM,System\CurrentControlSet\Control\MediaCategories\%GUID.PINNAME_MPEG2_VIDEO%\PropertyPages\{A2574AE2-19D3-11d3-BD75-00500473F96A},,,
; 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},,,

; DVD-Special2
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","OutType",0x00010001,14

HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","Bitrate",0x00010001,1600
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","InType",0x00010001,0
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","VideoRes",0x00010001,0

; NTSC=0, PAL=1, SECAM=2
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","TVFormat",0x00010001,0

; 64=4, 128=8, 160=9, 192=10, 224=11, 256=12, 320=13, 384=14
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","AudioDataRate",0x00010001,14

HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","GOPSize",0x00010001,3843
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","ClosedGOP",0x00010001,0
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","SamplingRate",0x00010001,1
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","AudioOutputMode",0x00010001,0
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","AudioCRC",0x00010001,1
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","BitrateMode",0x00010001,0
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","BitratePeak",0x00010001,20000
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","TrickMode",0x00010001,0
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","InverseTelecine",0x00010001,0
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","OldEncoderBitrateInterface",0x00010001,1

;Procamp defaults
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","HueValue",0x00010001,0
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","BrightnessValue",0x00010001,136
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","ContrastValue",0x00010001,72
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","SaturationValue",0x00010001,71
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","SharpnessValue",0x00010001,2

; Device Boot Time Details
; OEM=0, Retail=1
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","DownloadFWAtBootTime",0x00010001,0

;Encode Details
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","EncPauseBuffSize",0x00010001,0
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","EncCheckVSync",0x00010001,0

; Encoder SRB size and number
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","EncoderFrameSize",0x00010001,32768
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","EncoderNumberFrames",0x00010001,50

;Audio Stuff
; Mono=1, Stereo=2, LangA=16, LangB=32, LangC=64
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","AudMode",0x00010001,2
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","CurrentPgm",0x00010001,16
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","HcwAudioScart1Prescale",0x00010001,10752
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","HcwAudioScart1PrescaleFM",0x00010001,20480
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","HcwAudioScart1Volume",0x00010001,30465
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","HcwAudioNicamPrescale",0x00010001,22528
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","HcwAudioFMAMPrescale",0x00010001,9217

;PreFilter settings
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","FltDnrMode",0x00010001,0
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","FltDnrSpatFltLevel",0x00010001,0
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","FltDnrTempFltLevel",0x00010001,8

; Video Discontinuity
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","HcwAllowVideoDiscontinuity",0x00010001,1

; IRClock
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","HcwForceEnableIRClock",0x00010001,1

; Initial SCR value (ignored in Retail App)
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","SetInitialSCR",0x00010001,1
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","InitialSCR",0x00010001,27027

; Radio Mode Bitrate Settings -- 4MBit CBR (Ignored Peak set as 8MBit)
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","HcwRadioBitrate",0x00010001,4000
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","HcwRadioBitrateMode",0x00010001,0
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","HcwRadioBitratePeak",0x00010001,8000

;phantom (virtual) inputs
;HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","HcwUsePhantom",0x00010001,1
;HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","HcwPhantomTarget",0x00010001,1

HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","CpChoice",0x00010001,3

; Stop MovieMaker2 from trying to use this device
HKLM,%EXCLUSION_KEY_MM2%,%p2.Capture%,,

;; MPEG Config Restrictions During Pause/Run
;; 0(None) 1(OutputType) 2(VidRes)
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","hcwRunningRestrictions",0x00010001,3

HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","YUVTimeStamps",0x00010001,3
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","PCMTimeStamps",0x00010001,3

; Disable Multi graph support
HKLM,"System\CurrentControlSet\Services\Globespan\Parameters\ivac15\Driver","EnableMultiGraphSupport",0x00010001,0


[p2.CopyDrivers]
hcwPVRP2.sys,hcw98GP2.sys

[p2.CopyDrivers.NT]
hcwPVRP2.sys

[p2.CopyAXs]
hcwPrxP2.ax
hcwCConv.ax
hcwECP.ax

[p2.CopyUtils]
hcwUtl32.dll

[p2.Copy_R]
hcwXDS.dll

[stream.CopyDrivers]
stream.sys

[p2.KnownFiles]
hcwPVRP2.sys=safe
hcwXDS.dll=safe
hcwUtl32.dll=safe
hcwPrxP2.ax=safe
hcwCConv.ax=safe
hcwECP.ax=safe

[VideoTvAudio]
AddReg=VideoTvAudio.AddReg

[VideoDecoder]
AddReg=VideoDecoder.AddReg

[VideoCapture]
AddReg=VideoCapture.AddReg

[VideoTvTuner]
AddReg=VideoTvTuner.AddReg

[VideoCrossbar]
AddReg=VideoXBar.AddReg

[VideoEncoder]
AddReg=VideoEncoder.AddReg

[VideoMultiplexer]
AddReg=VideoMultiplexer.AddReg

[VideoTvAudio.AddReg]
HKR,,CLSID,,{71F96462-78F3-11d0-A18C-00A0C9118956}
HKR,,FriendlyName,,%p2.TvAudio%

[VideoDecoder.AddReg]
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%p2.Decoder%
; set the merit to do not use so mediaplayer never uses the hardware decoder
HKR,,Merit,1,00,00,20,00

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

[VideoEncoder.AddReg]
HKCR,%ActiveMovieCategories%\%GUID.Encoder%,CLSID,,%GUID.Encoder%
HKCR,%ActiveMovieCategories%\%GUID.Encoder%,FriendlyName,,%Category_Encoders%
HKLM,%MediaCategories%\%GUID.Encoder%,Name,,%Node.Encoder%
HKLM,%MediaCategories%\%GUID.Encoder%,Display,1,00,00,00,00
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%p2.Encoder%
HKR,,Merit,1,00,00,40,00
HKR,Interfaces\{B43C4EEC-8C32-4791-9102-508ADA5EE8E7},,,

[VideoMultiplexer.AddReg]
HKCR,%ActiveMovieCategories%\%GUID.Multiplexer%,CLSID,,%GUID.Multiplexer%
HKCR,%ActiveMovieCategories%\%GUID.Multiplexer%,FriendlyName,,%Category_Multiplexers%
HKLM,%MediaCategories%\%GUID.Multiplexer%,Name,,%Node.Multiplexer%
HKLM,%MediaCategories%\%GUID.Multiplexer%,Display,1,00,00,00,00
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%p2.Encoder%
HKR,,Merit,1,00,00,40,00
HKR,Interfaces\{B43C4EEC-8C32-4791-9102-508ADA5EE8E7},,,

[VideoTvTuner.AddReg]
HKR,,CLSID,,{266EEE40-6C63-11cf-8A03-00AA006ECB65}
HKR,,FriendlyName,,%p2.TvTuner%
    
[VideoXBar.AddReg]
HKR,,CLSID,,{71F96460-78F3-11d0-A18C-00A0C9118956}
HKR,,FriendlyName,,%p2.Crossbar%


[p2.PinNameRegistration]
HKLM,%MediaCategories%\%GUID.PINNAME_MPEG2_VIDEO%,Name,,%Pin.p2Video%
HKLM,%MediaCategories%\%GUID.PINNAME_VBI%,Name,,%Pin.p2VBI%
HKLM,%MediaCategories%\%GUID.PINNAME_Index%,Name,,%Pin.p2Index%
HKLM,%MediaCategories%\%GUID.PINNAME_VBI_OUT%,Name,,%Pin.p2VBIReinsert%
HKLM,%MediaCategories%\%GUID.PINNAME_MPEG2_DEC_VIDEO%,Name,,%Pin.p2VideoDec%
HKLM,%MediaCategories%\%GUID.PINNAME_ANALOG_VIDEO_IN%,Name,,%Pin.p2AnalogVideoIn%
HKLM,%MediaCategories%\%GUID.PINNAME_ANALOG_AUDIO_IN%,Name,,%Pin.p2AnalogAudioIn%
HKLM,%MediaCategories%\%GUID.PINNAME_AUDIO_PCM%,Name,,%Pin.p2AudioPCM%
HKLM,%MediaCategories%\%GUID.PINNAME_VIDEO_YUV%,Name,,%Pin.p2VideoYUV%
HKLM,%MediaCategories%\%GUID.PINNAME_PREV_YUV%,Name,,%Pin.p2PrevYUV%
HKLM,%MediaCategories%\%GUID.PINNAME_PREV_PCM%,Name,,%Pin.p2PrevPCM%

;HKLM,%MediaCategories%\%GUID.PINNAME_TV_TUNER_IN%,Name,,%Pin.p2TVTunerIn%
;HKLM,%MediaCategories%\%GUID.PINNAME_COMPOSITE_IN%,Name,,%Pin.p2CompositeIn%
;HKLM,%MediaCategories%\%GUID.PINNAME_S_VIDEO_IN%,Name,,%Pin.p2SVideoIn%
;HKLM,%MediaCategories%\%GUID.PINNAME_AUDIO_IN%,Name,,%Pin.p2AudioIn%
;HKLM,%MediaCategories%\%GUID.PINNAME_AUDIO_OUT%,Name,,%Pin.p2AudioOut%
;HKLM,%MediaCategories%\%GUID.PINNAME_VIDEO_OUT%,Name,,%Pin.p2VideoOut%
;HKLM,%MediaCategories%\%GUID.PINNAME_TUNER_AUDIO_IN%,Name,,%Pin.p2TVTunerAudIn%
;HKLM,%MediaCategories%\%GUID.PINNAME_TV_TUNER_VID_OUT%,Name,,%Pin.p2TunerVideoOut%
;HKLM,%MediaCategories%\%GUID.PINNAME_TV_TUNER_AUD_OUT%,Name,,%Pin.p2TunerAudioOut%


;
; Debug DMA in firmware
;
; This key is equal to the amount of physical contiguous memory to be allocated by 
; the driver at boot time to be used by the firmware for debugging.
; Currently, we are allocating 16 Megs
;HKLM,system\currentcontrolset\services\Globespan\ivac15\Driver,DebugDMA,0x00010001, 16384

; Proxy filter's friendly name
HKLM,SOFTWARE\Globespan\ivac15\1.00.000, "PCIFriendlyName",, %p2.Capture%

[p2.PinNameReg_VO]
; Proxy filter's friendly name
HKLM,SOFTWARE\Globespan\ivac15\1.00.000, "PCIDecFriendlyName",, %p2.Decoder%


;---------------------------------------------------------------
;                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
WINDOWS_DIRECTORY		=10
SYSTEM_DIRECTORY		=11
DRIVERS_DIRECTORY		=12

;----------------
; Localizable
;----------------
HCW="Hauppauge"

p2.DeviceEncode= "Hauppauge WinTV PVR PCI II (Encoder)"
EXCLUDE_KEY_Encode="Software\Microsoft\RTC\VideoCapture\Hauppauge WinTV PVR PCI II (Encoder)"
p2.DeviceEncode16= "Hauppauge WinTV-PVR PCI II (Encoder-16)"
EXCLUDE_KEY_Encode16="Software\Microsoft\RTC\VideoCapture\Hauppauge WinTV-PVR PCI II (Encoder-16)"
;p2.DeviceEncode16= "Hauppauge WinTV-PVR PCI II (Encoder)(16)"
;p2.DeviceEncode_R= "Hauppauge WinTV PVR PCI II (Encoder)(R)"
;p2.DeviceEncode16_R= "Hauppauge WinTV-PVR PCI II (Encoder)(16)(R)"
p2.DeviceEncodeDecode= "Hauppauge WinTV PVR PCI II (Encoder/Decoder)"
EXCLUDE_KEY_Encode_VO="Software\Microsoft\RTC\VideoCapture\Hauppauge WinTV PVR PCI II (Encoder/Decoder)"
p2.Capture=    "Hauppauge WinTV PVR PCI II Capture"
p2.Encoder=    "Hauppauge WinTV PVR PCI II Encoder"
p2.Multiplexer="Hauppauge WinTV PVR PCI II Multiplexer"
p2.Decoder=    "Hauppauge WinTV PVR PCI II Decoder"
p2.TvTuner=    "Hauppauge WinTV PVR PCI II TvTuner"
p2.Crossbar=   "Hauppauge WinTV PVR PCI II Crossbar"	
p2.TvAudio=    "Hauppauge WinTV PVR PCI II TvAudio"
p2.InstallDisk="Hauppauge WinTV PVR PCI II Install Disk"

; For the pinname
MediaCategories="SYSTEM\CurrentControlSet\Control\MediaCategories"
ActiveMovieCategories="CLSID\{da4e3da0-d07d-11d0-bd50-00a0c911ce86}\Instance"

GUID.PROPERTY_SET_IVAC_PROPERTIES=		"{d2185a40-0398-11d3-a53e-00a0c9ef506a}"
GUID.PINNAME_MPEG2_VIDEO=			"{4A548B66-AB0F-4bab-BF35-9B8DF814618B}"
GUID.PINNAME_VBI=				"{d5b95261-c8e3-11d3-a541-00a0c9ef506a}"
GUID.PINNAME_Index=				"{6e8aa6a9-1dee-11d5-a437-00e0294170dd}"
GUID.PINNAME_MPEG2_DEC_VIDEO=			"{3e4035c1-6d25-11d4-a435-00e0294170dd}"
GUID.PINNAME_VBI_OUT=				"{FE5BBAA5-2D07-4d35-BACA-E0ADDA5AD751}"
GUID.PINNAME_ANALOG_VIDEO_IN=			"{41C38A94-B29F-4adc-855E-D5C8024ACAA4}"
GUID.PINNAME_ANALOG_AUDIO_IN=			"{04394D28-52A7-4c46-AED0-65D62CC64DA6}"
GUID.PINNAME_VIDEO_YUV =			"{46E70DC8-C91C-4e27-9194-0A92787B225D}"
GUID.PINNAME_AUDIO_PCM =			"{4DE7B8BD-66AF-409d-B1CA-1221C6C52B46}"
GUID.PINNAME_LINE_21 =				"{FB6C4284-0353-11d1-905F-0000C0CC16BA}"
GUID.PINNAME_PREV_YUV =				"{B9B5C1DC-387B-45de-B6B8-3445E83F1478}"
GUID.PINNAME_PREV_PCM =				"{405A0891-A769-4c3f-8A43-F4A3E4FDAD77}"
Pin.p2Video=			"Capture"
Pin.p2VBI=				"VBI"
Pin.p2Index=			"Index"
Pin.p2VideoDec=			"Video/Muxed In"
Pin.p2AnalogVideoIn=	"Analog Video In"
Pin.p2AnalogAudioIn=	"Analog Audio In"
Pin.p2VBIReinsert=		"VBI Reinsertion"
Pin.p2AudioPCM=			"Audio PCM"
Pin.p2VideoYUV=			"Video YUV"
Pin.p2Line21=           "VBI Line 21"
Pin.p2PrevYUV=          "Preview Video"
Pin.p2PrevPCM=          "Preview Audio"

;GUID.PINNAME_TV_TUNER_IN=		"{9882F924-4167-40cd-867E-D340148DCDA5}"	
;GUID.PINNAME_COMPOSITE_IN=		"{9882F92b-4167-40cd-867E-D340148DCDA5}"
;GUID.PINNAME_S_VIDEO_IN=		"{9882F92b-4167-40cd-867E-D340148DCDA5}"
;GUID.PINNAME_AUDIO_IN=			"{9882F92b-4167-40cd-867E-D340148DCDA5}"
;GUID.PINNAME_AUDIO_OUT=			"{9882F927-4167-40cd-867E-D340148DCDA5}"
;GUID.PINNAME_VIDEO_OUT=			"{9882F928-4167-40cd-867E-D340148DCDA5}"
;GUID.PINNAME_TUNER_AUDIO_IN=	"{9882F926-4167-40cd-867E-D340148DCDA5}"
;GUID.PINNAME_TV_TUNER_VID_OUT=	"{4747B320-62CE-11CF-A5D6-28DB04C10000}"
;GUID.PINNAME_TV_TUNER_AUD_OUT=	"{9882F926-4167-40cd-867E-D340148DCDA5}"
;Pin.p2TVTunerIn= "Video Tuner In"
;Pin.p2CompositeIn= "Video Composite In"
;Pin.p2SVideoIn= "Video SVideo In"
;Pin.p2AudioIn= "Audio Line In"
;Pin.p2AudioOut= "Audio Out"
;Pin.p2VideoOut= "Video Out"
;Pin.p2TunerAudioOut= "Analog Audio"
;Pin.p2TunerVideoOut=  "Analog Video"

GUID.Encoder="{19689BF6-C384-48fd-AD51-90E58C79F70B}"
GUID.Multiplexer="{7A5DE1D3-01A1-452c-B481-4FA2B96271E8}"

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

hcwAddInterfaceCapture="Hauppauge WinTV PVR PCI II Capture"
hcwAddInterfaceEncoder="Hauppauge WinTV PVR PCI II Encoder"
hcwAddInterfaceDecoder="Hauppauge WinTV PVR PCI II Decoder"

EXCLUSION_KEY_MM2="SOFTWARE\Microsoft\MM20\RecordSettings\Ignore Device"

PlugIn_HCW_ECP_CP="Hauppauge ECP KSProxy Extension"

