;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;                                                                                       ;
; AVDC112X.inf -- Installation information for AVerMedia USB 2.0 Plus Video Capture  	;
;                                                                                       ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[Version]
CatalogFile=AVDC112X.CAT
signature="$CHICAGO$"
Class=Image
ClassGUID={6BDD1FC6-810F-11D0-BEC7-08002BE2092F}
Provider=%Company%
LayoutFile=Layout.inf, Layout1.inf, Layout2.inf
DriverVer=02/15/2005,2.1.0.7

[SourceDisksNames]
1=%StkDiskName%,,,

[SourceDisksFiles]
StkMini.sys = 1
StkCamd.sys = 1
StkPin.sys = 1
StkPipe.sys = 1
StkSam.sys = 1
StkScan.sys = 1
StkProp.ax = 1
; For WHQL (marked)
;StkTW.ds = 1
;StkUSD.dll = 1
StkVFW.dll = 1
;Stk112X.exe = 1
;StkSvc_.exe = 1
StkCoIn.dll = 1

[ControlFlags]
; All PnP devices should be excluded from manual AddDevice Applet list
ExcludeFromSelect=*

[Manufacturer]
%UsbMfg%=AVER

[DestinationDirs]
DefaultDestDir = 11
AVER.USBDCAM.CopyDrivers98 = 10,system32\drivers
AVER.USBDCAM.CopyDriversNT = 10,system32\drivers
AVER.USBDCAM.CopyDrivers = 10,system32\drivers
AVER.USBDCAM.CopyFilters = 11
AVER.USBDCAM.CopyCodecs = 11
AVER.STI.CopyFiles = 11
AVER.STIAPP.CopyFiles = 10
AVER.TWAIN.CopyFiles = 10,twain_32\DC112X

[AVER]
;%StkMiniDescription%=AVER.USBDCAM,USB\Vid_0932&Pid_0300
;%StkMiniDescription%=AVER.USBDCAM,USB\Vid_0932&Pid_0300&MI_00
;%StkMiniDescription%=AVER.USBDCAM,USB\Vid_0932&Pid_0300&MI_01
;%StkMiniDescription%=SYNTEK.USBDCAM,USB\Vid_0932&Pid_0320
;%StkMiniDescription%=SYNTEK.USBDCAM,USB\Vid_0932&Pid_0320&MI_00
;%StkMiniDescription%=SYNTEK.USBDCAM,USB\Vid_0932&Pid_0320&MI_01
;%StkMiniDescription%=AVER.USBDCAM,USB\Vid_07ca&Pid_0036
%StkMiniDescription%=AVER.USBDCAM,USB\Vid_07ca&Pid_0036&MI_00
;%StkMiniDescription%=AVER.USBDCAM,USB\Vid_07ca&Pid_0036&MI_01
;%StkMiniExpDescription%=AVER.EXPCARD,USB\Vid_07ca&Pid_E508
%StkMiniExpDescription%=AVER.EXPCARD,USB\Vid_07ca&Pid_E508&MI_00
;%StkMiniExpDescription%=AVER.EXPCARD,USB\Vid_07ca&Pid_E508&MI_01

;%StkMiniDescription%=AVER.USBDCAM,USB2\Vid_0932&Pid_0300
;%StkMiniDescription%=AVER.USBDCAM,USB2\Vid_0932&Pid_0300&MI_00
;%StkMiniDescription%=AVER.USBDCAM,USB2\Vid_0932&Pid_0320
;%StkMiniDescription%=AVER.USBDCAM,USB2\Vid_0932&Pid_0320&MI_00
;%StkMiniDescription%=AVER.USBDCAM,USB2\Vid_07ca&Pid_0036
%StkMiniDescription%=AVER.USBDCAM,USB2\Vid_07ca&Pid_0036&MI_00
;%StkMiniExpDescription%=AVER.EXPCARD,USB2\Vid_07ca&Pid_E508
%StkMiniExpDescription%=AVER.EXPCARD,USB2\Vid_07ca&Pid_E508&MI_00

[AVER.USBDCAM]
Include=ks.inf, kscaptur.inf, ksfilter.inf, dshowext.inf
Needs=KS.Registration, KSCAPTUR.Registration, DSHOWEXT.Registration
SubClass=StillImage
; For TWAIN
;DeviceType=2
;DeviceSubType=0x0
;Capabilities=0x01
; For WIA
DeviceType=3
; WHQL (MARKED)
;DeviceSubType=0x1
;Capabilities=0x31
; WHQL (MARKED)
;PropertyPages="*.cpl ,EnumStiPropPages";
Events=AVER.USBDCAM.Events
DeviceData=AVER.USBDCAM.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"
AddReg=AVER.USBDCAM.AddReg98,AVER.COMMON.AddReg,AVER.USBDCAM.AddReg
UpdateInis=AVER.USBDCAM.UpdateIni
CopyFiles=AVER.USBDCAM.CopyDrivers98,AVER.USBDCAM.CopyDrivers,AVER.USBDCAM.CopyFilters,AVER.USBDCAM.CopyCodecs,AVER.STI.CopyFiles,AVER.STIAPP.CopyFiles,AVER.TWAIN.CopyFiles

[AVER.USBDCAM.NT]
Include=ks.inf, kscaptur.inf, ksfilter.inf, dshowext.inf
Needs=KS.Registration, KSCAPTUR.Registration.NT, DSHOWEXT.Registration
SubClass=StillImage
; For TWAIN
;DeviceType=2
;DeviceSubType=0x0
;Capabilities=0x01
; For WIA
DeviceType=3
; WHQL (MARKED)
;DeviceSubType=0x1
;Capabilities=0x31
; WHQL (MARKED)
;PropertyPages="*.cpl ,EnumStiPropPages"
Events=AVER.USBDCAM.Events
DeviceData=AVER.USBDCAM.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"
AddReg=AVER.USBDCAM.AddRegNT,AVER.COMMON.AddReg,AVER.USBDCAM.AddReg
UpdateInis=AVER.USBDCAM.UpdateIni
CopyFiles=AVER.USBDCAM.CopyDriversNT,AVER.USBDCAM.CopyDrivers,AVER.USBDCAM.CopyFilters,AVER.USBDCAM.CopyCodecs,AVER.STI.CopyFiles,AVER.STIAPP.CopyFiles,AVER.TWAIN.CopyFiles

[AVER.EXPCARD]
Include=ks.inf, kscaptur.inf, ksfilter.inf, dshowext.inf
Needs=KS.Registration, KSCAPTUR.Registration, DSHOWEXT.Registration
SubClass=StillImage
; For TWAIN
;DeviceType=2
;DeviceSubType=0x0
;Capabilities=0x01
; For WIA
DeviceType=3
; WHQL (MARKED)
;DeviceSubType=0x1
;Capabilities=0x31
; WHQL (MARKED)
;PropertyPages="*.cpl ,EnumStiPropPages";
Events=AVER.EXPCARD.Events
DeviceData=AVER.EXPCARD.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"
AddReg=AVER.USBDCAM.AddReg98,AVER.COMMON.AddReg,AVER.EXPCARD.AddReg
UpdateInis=AVER.USBDCAM.UpdateIni
CopyFiles=AVER.USBDCAM.CopyDrivers98,AVER.USBDCAM.CopyDrivers,AVER.USBDCAM.CopyFilters,AVER.USBDCAM.CopyCodecs,AVER.STI.CopyFiles,AVER.STIAPP.CopyFiles,AVER.TWAIN.CopyFiles

[AVER.EXPCARD.NT]
Include=ks.inf, kscaptur.inf, ksfilter.inf, dshowext.inf
Needs=KS.Registration, KSCAPTUR.Registration.NT, DSHOWEXT.Registration
SubClass=StillImage
; For TWAIN
;DeviceType=2
;DeviceSubType=0x0
;Capabilities=0x01
; For WIA
DeviceType=3
; WHQL (MARKED)
;DeviceSubType=0x1
;Capabilities=0x31
; WHQL (MARKED)
;PropertyPages="*.cpl ,EnumStiPropPages"
Events=AVER.EXPCARD.Events
DeviceData=AVER.EXPCARD.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"
AddReg=AVER.USBDCAM.AddRegNT,AVER.COMMON.AddReg,AVER.EXPCARD.AddReg
UpdateInis=AVER.USBDCAM.UpdateIni
CopyFiles=AVER.USBDCAM.CopyDriversNT,AVER.USBDCAM.CopyDrivers,AVER.USBDCAM.CopyFilters,AVER.USBDCAM.CopyCodecs,AVER.STI.CopyFiles,AVER.STIAPP.CopyFiles,AVER.TWAIN.CopyFiles

[AVER.USBDCAM.AddReg98]
HKR,,NTMPDriver,,StkMini.sys

[AVER.USBDCAM.AddRegNT]
HKR,,NTMPDriver,,StkMini.sys

[AVER.COMMON.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,HardwareConfig,1,1
HKR,,PageOutWhenUnopened,3,01
;This is causing unexpected reset to our device.
;Put this line back when our device is able to handle the power down.
;HKR,,PowerDownWhenUnopened,3,01
;HKR,,DontSuspendIfStreamsAreRunning,3,00
HKR,"Settings","######",0x00010001,0xFF0000FF
HKR,"Settings","Board Vendor",0x00010001,0x00
HKR,"Settings","Board Type",0x00010001,0x00
; 0: No Power Saving, 1: Power Saving
HKR,"Settings","Power Saving",0x00010001,0x00
; 0: Comp, 1: S-Video, 2: TV
HKR,"Settings","Video Source",0x00010001,0x02
HKR,"Settings","Video Standard",0x00010001,0x01
HKR,"Settings","Audio Input Configuration",0x00010001,0x01
HKR,"Settings","Audio Output Configuration",0x00010001,0x03
HKR,"Settings","Video Input Configuration",0x00010001,0x01
; 1: Scaler, 2: Non-Scaler
HKR,"Settings","Video Output Configuration",0x00010001,0x02

; Default Settings
HKR,"Settings\Default\Decoder","Flip Horizontal",0x00010001,0x00
HKR,"Settings\Default\Decoder","Flip Vertical",0x00010001,0x00
; 0: AD1881A, 1: AD1980, 2: ALC101, 3: ALC655, 4: ALC202
HKR,"Settings\Default\Decoder","Audio Type",0x00010001,0x03
HKR,"Settings\Default\Decoder","Tuner Type",0x00010001,0x0B
HKR,"Settings\Default\Decoder","VBI",0x00010001,0x00
HKR,"Settings\Default\Decoder","VBI Format",0x00010001,0x55
HKR,"Settings\Default\Decoder","Brightness",0x00010001,0x7E
HKR,"Settings\Default\Decoder","Contrast",0x00010001,0x40
HKR,"Settings\Default\Decoder","Hue",0x00010001,0xB4
HKR,"Settings\Default\Decoder","Saturation",0x00010001,0x137
HKR,"Settings\Default\Decoder","Sharpness",0x00010001,0x04
HKR,"Settings\Default\Decoder","Gamma",0x00010001,0x1A
HKR,"Settings\Default\Decoder","White Balance",0x00010001,0x80
HKR,"Settings\Default\Decoder","Back Light",0x00010001,0x80
HKR,"Settings\Default\Decoder","Color Enable",0x00010001,0x00
HKR,"Settings\Default\Decoder","AWB",0x00010001,0x00
; James Yang 2004.11.17 add
HKR,"Settings\Default\Decoder","Tuner Auto Scan Enable",0x00010001,0x00
HKR,"Settings\Default\Decoder","Tuner TV Standard",0x00010001,0x01
; James Yang 2004.05.14 add
HKR,"Settings\Default\Decoder","TV Frequency",0x00010001,0x00
HKR,"Settings\Default\Decoder","FM Frequency",0x00010001,0x00
; James Yang 2005.02.02 modified 
HKR,"Settings\Default\Decoder","Volume",0x00010001,0x0404

HKR,"Settings\Default\Sensor","Flip Horizontal",0x00010001,0x00
HKR,"Settings\Default\Sensor","Flip Vertical",0x00010001,0x00
HKR,"Settings\Default\Sensor","AE",0x00010001,0x01
HKR,"Settings\Default\Sensor","AE Mode",0x00010001,0x00
HKR,"Settings\Default\Sensor","AE Range",0x00010001,0xFF
HKR,"Settings\Default\Sensor","AE Level",0x00010001,0x80
HKR,"Settings\Default\Sensor","AE Weight",0x00010001,0x1454
HKR,"Settings\Default\Sensor","Low Light",0x00010001,0x00
HKR,"Settings\Default\Sensor","Low Light Limit",0x00010001,0x4000
HKR,"Settings\Default\Sensor","High Light",0x00010001,0x00
HKR,"Settings\Default\Sensor","Light Flicker",0x00010001,0x01
HKR,"Settings\Default\Sensor","Quality",0x00010001,0x04
HKR,"Settings\Default\Sensor","AWB Mode",0x00010001,0x00
HKR,"Settings\Default\Sensor","Incandescent RB Gain",0x00010001,0x00DF019F
HKR,"Settings\Default\Sensor","Fluorescent RB Gain",0x00010001,0x01940133
HKR,"Settings\Default\Sensor","Daylight RB Gain",0x00010001,0x015A0128
HKR,"Settings\Default\Sensor","Monitor",0x00010001,0x00
HKR,"Settings\Default\Sensor","Frame Rate Control",0x00010001,0x00
HKR,"Settings\Default\Sensor","Auto Flip Vertical",0x00010001,0x00
HKR,"Settings\Default\Sensor","Sensor Output Format",0x00010001,0x00
HKR,"Settings\Default\Sensor\CRT","Brightness",0x00010001,0x80
HKR,"Settings\Default\Sensor\CRT","Contrast",0x00010001,0x40
HKR,"Settings\Default\Sensor\CRT","Hue",0x00010001,0xB4
HKR,"Settings\Default\Sensor\CRT","Saturation",0x00010001,0x100
HKR,"Settings\Default\Sensor\CRT","Sharpness",0x00010001,0x03
HKR,"Settings\Default\Sensor\CRT","Gamma",0x00010001,0x1A
HKR,"Settings\Default\Sensor\CRT","White Balance",0x00010001,0x05
HKR,"Settings\Default\Sensor\CRT","Back Light",0x00010001,0x80
HKR,"Settings\Default\Sensor\CRT","Color Enable",0x00010001,0x00
HKR,"Settings\Default\Sensor\CRT","AWB",0x00010001,0x01
HKR,"Settings\Default\Sensor\LCD","Brightness",0x00010001,0x80
HKR,"Settings\Default\Sensor\LCD","Contrast",0x00010001,0x40
HKR,"Settings\Default\Sensor\LCD","Hue",0x00010001,0xB4
HKR,"Settings\Default\Sensor\LCD","Saturation",0x00010001,0x100
HKR,"Settings\Default\Sensor\LCD","Sharpness",0x00010001,0x03
HKR,"Settings\Default\Sensor\LCD","Gamma",0x00010001,0x1A
HKR,"Settings\Default\Sensor\LCD","White Balance",0x00010001,0x05
HKR,"Settings\Default\Sensor\LCD","Back Light",0x00010001,0x80
HKR,"Settings\Default\Sensor\LCD","Color Enable",0x00010001,0x00
HKR,"Settings\Default\Sensor\LCD","AWB",0x00010001,0x01

; Current Settings
HKR,"Settings\Current\Decoder","Flip Horizontal",0x00010001,0x00
HKR,"Settings\Current\Decoder","Flip Vertical",0x00010001,0x00
HKR,"Settings\Current\Decoder","Audio Type",0x00010001,0x03
HKR,"Settings\Current\Decoder","Tuner Type",0x00010001,0x0B
HKR,"Settings\Current\Decoder","VBI",0x00010001,0x00
HKR,"Settings\Current\Decoder","VBI Format",0x00010001,0x55
HKR,"Settings\Current\Decoder","Brightness",0x00010001,0x7E
HKR,"Settings\Current\Decoder","Contrast",0x00010001,0x40
HKR,"Settings\Current\Decoder","Hue",0x00010001,0xB4
HKR,"Settings\Current\Decoder","Saturation",0x00010001,0x137
HKR,"Settings\Current\Decoder","Sharpness",0x00010001,0x04
HKR,"Settings\Current\Decoder","Gamma",0x00010001,0x1A
HKR,"Settings\Current\Decoder","White Balance",0x00010001,0x80
HKR,"Settings\Current\Decoder","Back Light",0x00010001,0x80
HKR,"Settings\Current\Decoder","Color Enable",0x00010001,0x00
HKR,"Settings\Current\Decoder","AWB",0x00010001,0x00
; James Yang 2004.11.17 add
HKR,"Settings\Current\Decoder","Tuner Auto Scan Enable",0x00010001,0x00
HKR,"Settings\Current\Decoder","Tuner TV Standard",0x00010001,0x01
; James Yang 2004.05.14 add
HKR,"Settings\Current\Decoder","TV Frequency",0x00010001,0x00
HKR,"Settings\Current\Decoder","FM Frequency",0x00010001,0x00
; James Yang 2005.02.02 modified 
HKR,"Settings\Current\Decoder","Volume",0x00010001,0x0404


HKR,"Settings\Current\Sensor","Flip Horizontal",0x00010001,0x00
HKR,"Settings\Current\Sensor","Flip Vertical",0x00010001,0x00
HKR,"Settings\Current\Sensor","AE",0x00010001,0x01
HKR,"Settings\Current\Sensor","AE Mode",0x00010001,0x00
HKR,"Settings\Current\Sensor","AE Range",0x00010001,0xFF
HKR,"Settings\Current\Sensor","AE Level",0x00010001,0x80
HKR,"Settings\Current\Sensor","AE Weight",0x00010001,0x1454
HKR,"Settings\Current\Sensor","Low Light",0x00010001,0x00
HKR,"Settings\Current\Sensor","Low Light Limit",0x00010001,0x4000
HKR,"Settings\Current\Sensor","High Light",0x00010001,0x00
HKR,"Settings\Current\Sensor","Light Flicker",0x00010001,0x01
HKR,"Settings\Current\Sensor","Quality",0x00010001,0x04
HKR,"Settings\Current\Sensor","AWB Mode",0x00010001,0x00
HKR,"Settings\Current\Sensor","Incandescent RB Gain",0x00010001,0x00DF019F
HKR,"Settings\Current\Sensor","Fluorescent RB Gain",0x00010001,0x01940133
HKR,"Settings\Current\Sensor","Daylight RB Gain",0x00010001,0x015A0128
HKR,"Settings\Current\Sensor","Monitor",0x00010001,0x00
HKR,"Settings\Current\Sensor","Frame Rate Control",0x00010001,0x00
HKR,"Settings\Current\Sensor","Auto Flip Vertical",0x00010001,0x00
HKR,"Settings\Current\Sensor","Sensor Output Format",0x00010001,0x00
HKR,"Settings\Current\Sensor\CRT","Brightness",0x00010001,0x80
HKR,"Settings\Current\Sensor\CRT","Contrast",0x00010001,0x40
HKR,"Settings\Current\Sensor\CRT","Hue",0x00010001,0xB4
HKR,"Settings\Current\Sensor\CRT","Saturation",0x00010001,0x100
HKR,"Settings\Current\Sensor\CRT","Sharpness",0x00010001,0x03
HKR,"Settings\Current\Sensor\CRT","Gamma",0x00010001,0x1A
HKR,"Settings\Current\Sensor\CRT","White Balance",0x00010001,0x05
HKR,"Settings\Current\Sensor\CRT","Back Light",0x00010001,0x80
HKR,"Settings\Current\Sensor\CRT","Color Enable",0x00010001,0x00
HKR,"Settings\Current\Sensor\CRT","AWB",0x00010001,0x01
HKR,"Settings\Current\Sensor\LCD","Brightness",0x00010001,0x80
HKR,"Settings\Current\Sensor\LCD","Contrast",0x00010001,0x40
HKR,"Settings\Current\Sensor\LCD","Hue",0x00010001,0xB4
HKR,"Settings\Current\Sensor\LCD","Saturation",0x00010001,0x100
HKR,"Settings\Current\Sensor\LCD","Sharpness",0x00010001,0x03
HKR,"Settings\Current\Sensor\LCD","Gamma",0x00010001,0x1A
HKR,"Settings\Current\Sensor\LCD","White Balance",0x00010001,0x05
HKR,"Settings\Current\Sensor\LCD","Back Light",0x00010001,0x80
HKR,"Settings\Current\Sensor\LCD","Color Enable",0x00010001,0x00
HKR,"Settings\Current\Sensor\LCD","AWB",0x00010001,0x01

[AVER.USBDCAM.AddReg]
;WIA
; For WHQL (marked)
;HKR,,USDClass,,"{0527d1d0-88c2-11d2-82c7-00c04f8ec183}"

; For WHQL (marked)
;STILL IMAGE
;HKR,,USDClass,,"{89FE3F30-23E1-450A-84F2-9CD69ABAB63E}"
;HKCR,CLSID\{89FE3F30-23E1-450A-84F2-9CD69ABAB63E},,,"Syntek USD"
;HKCR,CLSID\{89FE3F30-23E1-450A-84F2-9CD69ABAB63E}\InProcServer32,,,%11%\StkUSD.dll
;HKCR,CLSID\{89FE3F30-23E1-450A-84F2-9CD69ABAB63E}\InProcServer32,ThreadingModel,,"Both"

; For WHQL (marked)
; Register the name of application
;HKLM,"Software\Microsoft\Windows\CurrentVersion\StillImage\Registered Applications",%StillAPP%,,"%10%\Stk112X.exe /StiDevice:%1 /StiEvent:%2"
;HKLM,"Software\Microsoft\Windows NT\CurrentVersion\DC112X","DeviceName",,"%StkMiniDescription%"

; Register DC-112X Property Page

;Plug-In Custom Control Interface
HKCR,CLSID\{59DF6360-6F14-4472-82B6-6EAB971EEFAD},,,%PlugIn_CustomControlInterface%
HKCR,CLSID\{59DF6360-6F14-4472-82B6-6EAB971EEFAD}\InprocServer32,,,StkProp.ax
HKCR,CLSID\{59DF6360-6F14-4472-82B6-6EAB971EEFAD}\InprocServer32,ThreadingModel,,Both
; This IID is aggregated for the filter given the CLSID of the property set
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{59DF6360-6F14-4472-82B6-6EAB971EEFAD},,,%PlugIn_CustomControlInterface%
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{59DF6360-6F14-4472-82B6-6EAB971EEFAD},IID,1,60,63,DF,59,14,6F,72,44,82,B6,6E,AB,97,1E,EF,AD

;Plug-In Custom Control Property Page
HKCR,CLSID\{59DF6361-6F14-4472-82B6-6EAB971EEFAD},,,%PlugIn_CustomControlPropertyPage%
HKCR,CLSID\{59DF6361-6F14-4472-82B6-6EAB971EEFAD}\InprocServer32,,,StkProp.ax
HKCR,CLSID\{59DF6361-6F14-4472-82B6-6EAB971EEFAD}\InprocServer32,ThreadingModel,,Both
; Associate the property set with the above property page
HKLM,System\CurrentControlSet\Control\MediaSets\{59DF6360-6F14-4472-82B6-6EAB971EEFAD}\PropertyPages\{59DF6361-6F14-4472-82B6-6EAB971EEFAD},,,%PlugIn_CustomControlPropertyPage%


[AVER.EXPCARD.AddReg]
;WIA
; For WHQL (marked)
;HKR,,USDClass,,"{0527d1d0-88c2-11d2-82c7-00c04f8ec183}"

; For WHQL (marked)
;STILL IMAGE
;HKR,,USDClass,,"{89FE3F30-23E1-450A-84F2-9CD69ABAB63E}"
;HKCR,CLSID\{89FE3F30-23E1-450A-84F2-9CD69ABAB63E},,,"Syntek USD"
;HKCR,CLSID\{89FE3F30-23E1-450A-84F2-9CD69ABAB63E}\InProcServer32,,,%11%\StkUSD.dll
;HKCR,CLSID\{89FE3F30-23E1-450A-84F2-9CD69ABAB63E}\InProcServer32,ThreadingModel,,"Both"

; For WHQL (marked)
; Register the name of application
;HKLM,"Software\Microsoft\Windows\CurrentVersion\StillImage\Registered Applications",%StillExpAPP%,,"%10%\Stk112X.exe /StiDevice:%1 /StiEvent:%2"
;HKLM,"Software\Microsoft\Windows NT\CurrentVersion\DC112X","DeviceName",,"%StkMiniExpDescription%"

; Register DC-112X Property Page

;Plug-In Custom Control Interface
HKCR,CLSID\{59DF6360-6F14-4472-82B6-6EAB971EEFAD},,,%PlugInExp_CustomControlInterface%
HKCR,CLSID\{59DF6360-6F14-4472-82B6-6EAB971EEFAD}\InprocServer32,,,StkProp.ax
HKCR,CLSID\{59DF6360-6F14-4472-82B6-6EAB971EEFAD}\InprocServer32,ThreadingModel,,Both
; This IID is aggregated for the filter given the CLSID of the property set
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{59DF6360-6F14-4472-82B6-6EAB971EEFAD},,,%PlugInExp_CustomControlInterface%
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{59DF6360-6F14-4472-82B6-6EAB971EEFAD},IID,1,60,63,DF,59,14,6F,72,44,82,B6,6E,AB,97,1E,EF,AD

;Plug-In Custom Control Property Page
HKCR,CLSID\{59DF6361-6F14-4472-82B6-6EAB971EEFAD},,,%PlugInExp_CustomControlPropertyPage%
HKCR,CLSID\{59DF6361-6F14-4472-82B6-6EAB971EEFAD}\InprocServer32,,,StkProp.ax
HKCR,CLSID\{59DF6361-6F14-4472-82B6-6EAB971EEFAD}\InprocServer32,ThreadingModel,,Both
; Associate the property set with the above property page
HKLM,System\CurrentControlSet\Control\MediaSets\{59DF6360-6F14-4472-82B6-6EAB971EEFAD}\PropertyPages\{59DF6361-6F14-4472-82B6-6EAB971EEFAD},,,%PlugInExp_CustomControlPropertyPage%

[AVER.USBDCAM.HW]
AddReg=AVER_USBDCAM_AddFilter

[AVER.EXPCARD.HW]
AddReg=AVER_USBDCAM_AddFilter

[AVER_USBDCAM_AddFilter]
; James Yang 2004.3.6 modified
;HKR,,"UpperFilters",0x00000000,"StkScan.sys"
HKR,,"UpperFilters",0x00010000,"StkScan.sys"

[AVER.USBDCAM.NT.HW]
AddReg=AVER_USBDCAM_NT_AddFilter

[AVER.EXPCARD.NT.HW]
AddReg=AVER_USBDCAM_NT_AddFilter

[AVER_USBDCAM_NT_AddFilter]
HKR,,"UpperFilters",0x00010000,"StkScan"

[AVER.USBDCAM.DeviceData]
TwainDS=%TwainDsName%
SpecialInfo="UsbPC 2.0"

[AVER.EXPCARD.DeviceData]
TwainDS=%TwainExpDsName%
SpecialInfo="UsbPC 2.0"

[AVER.USBDCAM.Events]
; For WHQL (marked)
;NewPicture=%NewPicture%,{89FE3F31-23E1-450A-84F2-9CD69ABAB63E},%StillAPP%
;ButtonPressed=%ButtonPressed%,{89FE3F32-23E1-450A-84F2-9CD69ABAB63E},%StillAPP%

[AVER.EXPCARD.Events]
; For WHQL (marked)
;NewPicture=%NewPicture%,{89FE3F31-23E1-450A-84F2-9CD69ABAB63E},%StillExpAPP%
;ButtonPressed=%ButtonPressed%,{89FE3F32-23E1-450A-84F2-9CD69ABAB63E},%StillExpAPP%

[AVER.USBDCAM.UpdateIni]
system.ini,drivers32,,"VIDC.I420=MSh263.drv"
; James Yang 2004.3.6 add
system.ini,drivers32,,"VIDC.YUY2=msyuv.dll"

[AVER.USBDCAM.CopyDrivers98]
StkMini.sys
StkCamd.sys

[AVER.USBDCAM.CopyDriversNT]
StkMini.sys
StkCamd.sys

[AVER.USBDCAM.CopyDrivers]
StkPin.sys
StkPipe.sys
StkSam.sys
StkScan.sys

[AVER.USBDCAM.CopyCodecs]
StkProp.ax
StkVFW.dll

[AVER.USBDCAM.CopyFilters]

[AVER.STI.CopyFiles]
; For WHQL (marked)
;StkUSD.dll
;StkSvc_.exe

[AVER.STIAPP.CopyFiles]
; For WHQL (marked)
;Stk112X.exe

[AVER.TWAIN.CopyFiles]
; For WHQL (marked)
;StkTW.ds

[AVER.USBDCAM.NT.CoInstallers]
AddReg = AVER.USBDCAM.CoInstallers.reg
CopyFiles = AVER.USBDCAM.CopyFiles.CoInstaller

[AVER.EXPCARD.NT.CoInstallers]
AddReg = AVER.USBDCAM.CoInstallers.reg
CopyFiles = AVER.USBDCAM.CopyFiles.CoInstaller

[AVER.USBDCAM.CopyFiles.CoInstaller]
StkCoIn.dll

[AVER.USBDCAM.CoInstallers.reg]
HKR,,CoInstallers32,0x00010000,"StkCoIn.dll,Stk_PPC_CoInstaller"

[AVER.USBDCAM.Interfaces]
AddInterface={65E8773D-8F56-11D0-A3B9-00A0C9223196},GLOBAL,Capture.Interface
AddInterface={A799A800-A46D-11D0-A18c-00A02401DCD4},GLOBAL,TVTuner.Interface
AddInterface={A799A801-A46D-11D0-A18C-00A02401DCD4},GLOBAL,CrossBar.Interface
AddInterface={A799A802-A46D-11D0-A18C-00A02401DCD4},GLOBAL,TVAudio.Interface

[AVER.USBDCAM.NT.Interfaces]
AddInterface={65E8773D-8F56-11D0-A3B9-00A0C9223196},GLOBAL,Capture.Interface
AddInterface={A799A800-A46D-11D0-A18c-00A02401DCD4},GLOBAL,TVTuner.Interface
AddInterface={A799A801-A46D-11D0-A18C-00A02401DCD4},GLOBAL,CrossBar.Interface
AddInterface={A799A802-A46D-11D0-A18C-00A02401DCD4},GLOBAL,TVAudio.Interface

[AVER.EXPCARD.Interfaces]
AddInterface={65E8773D-8F56-11D0-A3B9-00A0C9223196},GLOBAL,CaptureExp.Interface
AddInterface={A799A800-A46D-11D0-A18c-00A02401DCD4},GLOBAL,TVTunerExp.Interface
AddInterface={A799A801-A46D-11D0-A18C-00A02401DCD4},GLOBAL,CrossBarExp.Interface
AddInterface={A799A802-A46D-11D0-A18C-00A02401DCD4},GLOBAL,TVAudioExp.Interface

[AVER.EXPCARD.NT.Interfaces]
AddInterface={65E8773D-8F56-11D0-A3B9-00A0C9223196},GLOBAL,CaptureExp.Interface
AddInterface={A799A800-A46D-11D0-A18c-00A02401DCD4},GLOBAL,TVTunerExp.Interface
AddInterface={A799A801-A46D-11D0-A18C-00A02401DCD4},GLOBAL,CrossBarExp.Interface
AddInterface={A799A802-A46D-11D0-A18C-00A02401DCD4},GLOBAL,TVAudioExp.Interface

[Capture.Interface]
AddReg=Capture.AddReg

[TVTuner.Interface]
AddReg=TVTuner.AddReg

[CrossBar.Interface]
AddReg=CrossBar.AddReg

[TVAudio.Interface]
AddReg=TVAudio.AddReg

[Capture.AddReg]
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%StkMiniDescription%
HKR,,ExtensionDLL,,StkVFW.dll
HKLM,Software\CLASSES\CLSID\{DA4E3DA0-D07D-11D0-BD50-00A0C911CE86}\Instance\{07DAD660-22F1-11D1-A9F4-00C04FBBDE8F}
HKLM,Software\CLASSES\CLSID\{DA4E3DA0-D07D-11D0-BD50-00A0C911CE86}\Instance\{07DAD660-22F1-11D1-A9F4-00C04FBBDE8F},,,"WDM Streaming VBI Codecs"
HKLM,Software\CLASSES\CLSID\{DA4E3DA0-D07D-11D0-BD50-00A0C911CE86}\Instance\{07DAD660-22F1-11D1-A9F4-00C04FBBDE8F},FriendlyName,,"WDM Streaming VBI Codecs"
HKLM,Software\CLASSES\CLSID\{DA4E3DA0-D07D-11D0-BD50-00A0C911CE86}\Instance\{07DAD660-22F1-11D1-A9F4-00C04FBBDE8F},CLSID,,{07DAD660-22F1-11D1-A9F4-00C04FBBDE8F}
HKR,PinFactory\1\Interfaces\{5BB95400-52BB-11D2-BA41-00A0C90D2B05},,,

[TVTuner.AddReg]
HKR,,CLSID,,{266EEE40-6C63-11CF-8A03-00AA006ECB65}
HKR,,FriendlyName,,%TvTunerFilterName%

[CrossBar.AddReg]
HKR,,CLSID,,{71F96460-78F3-11D0-A18C-00A0C9118956}
HKR,,FriendlyName,,%CrossBarFilterName%

[TVAudio.AddReg]
HKR,,CLSID,,{71F96462-78F3-11D0-A18C-00A0C9118956}
HKR,,FriendlyName,,%TvAudioFilterName%

[CaptureExp.Interface]
AddReg=CaptureExp.AddReg

[TVTunerExp.Interface]
AddReg=TVTunerExp.AddReg

[CrossBarExp.Interface]
AddReg=CrossBarExp.AddReg

[TVAudioExp.Interface]
AddReg=TVAudioExp.AddReg

[CaptureExp.AddReg]
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%StkMiniExpDescription%
HKR,,ExtensionDLL,,StkVFW.dll
HKLM,Software\CLASSES\CLSID\{DA4E3DA0-D07D-11D0-BD50-00A0C911CE86}\Instance\{07DAD660-22F1-11D1-A9F4-00C04FBBDE8F}
HKLM,Software\CLASSES\CLSID\{DA4E3DA0-D07D-11D0-BD50-00A0C911CE86}\Instance\{07DAD660-22F1-11D1-A9F4-00C04FBBDE8F},,,"WDM Streaming VBI Codecs"
HKLM,Software\CLASSES\CLSID\{DA4E3DA0-D07D-11D0-BD50-00A0C911CE86}\Instance\{07DAD660-22F1-11D1-A9F4-00C04FBBDE8F},FriendlyName,,"WDM Streaming VBI Codecs"
HKLM,Software\CLASSES\CLSID\{DA4E3DA0-D07D-11D0-BD50-00A0C911CE86}\Instance\{07DAD660-22F1-11D1-A9F4-00C04FBBDE8F},CLSID,,{07DAD660-22F1-11D1-A9F4-00C04FBBDE8F}
HKR,PinFactory\1\Interfaces\{5BB95400-52BB-11D2-BA41-00A0C90D2B05},,,

[TVTunerExp.AddReg]
HKR,,CLSID,,{266EEE40-6C63-11CF-8A03-00AA006ECB65}
HKR,,FriendlyName,,%TvTunerExpFilterName%

[CrossBarExp.AddReg]
HKR,,CLSID,,{71F96460-78F3-11D0-A18C-00A0C9118956}
HKR,,FriendlyName,,%CrossBarExpFilterName%

[TVAudioExp.AddReg]
HKR,,CLSID,,{71F96462-78F3-11D0-A18C-00A0C9118956}
HKR,,FriendlyName,,%TvAudioExpFilterName%

[AVER.USBDCAM.NT.Services]
AddService=StkMini,0x00000002,AVER.USBDCAM.Install.Mini
AddService=StkScan,0x00000000,AVER.USBDCAM.Install.Scan

[AVER.EXPCARD.NT.Services]
AddService=StkMini,0x00000002,AVER.EXPCARD.Install.Mini
AddService=StkScan,0x00000000,AVER.EXPCARD.Install.Scan

[AVER.USBDCAM.Install.Mini]
DisplayName   = %StkMiniDescription%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %10%\System32\Drivers\StkMini.sys

[AVER.USBDCAM.Install.Scan]
DisplayName   = %StkScanDescription%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %10%\System32\Drivers\StkScan.sys

[AVER.EXPCARD.Install.Mini]
DisplayName   = %StkMiniExpDescription%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %10%\System32\Drivers\StkMini.sys

[AVER.EXPCARD.Install.Scan]
DisplayName   = %StkScanExpDescription%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %10%\System32\Drivers\StkScan.sys

[Strings]

;----------------
; Non-Localizable
;----------------
SERVICE_KERNEL_DRIVER=1
; PnP should use demand start
SERVICE_DEMAND_START=3
SERVICE_ERROR_NORMAL=1

;----------------
; Localizable
;----------------
Company="AVerMedia"
UsbMfg="AVerMedia"
StkDiskName="AVerTV Series Driver Disk"
NewPicture="New Picture Captured"
ButtonPressed="Button Pressed"
; USB 2.0
StkMiniDescription="AVerTV USB 2.0 Plus Video Capture"
StkScanDescription="AVerTV USB 2.0 Plus Still Image"
PlugIn_CustomControlInterface="AVerTV USB 2.0 Plus Custom Control Interface"
PlugIn_CustomControlPropertyPage="AVerTV USB 2.0 Plus Custom Control Property Page"
TwainDsName="AVerTV USB 2.0 Plus TWAIN Image Capture"
StillAPP="AVerTV USB 2.0 Plus Image Capture"
TvTunerFilterName  = "AVerTV USB 2.0 Plus TvTuner"
CrossBarFilterName = "AVerTV USB 2.0 Plus CrossBar"
TvAudioFilterName  = "AVerTV USB 2.0 Plus TvAudio"

; ExpressCard
StkMiniExpDescription="AVerTV ExpressCard Video Capture"
StkScanExpDescription="AVerTV ExpressCard Still Image"
PlugInExp_CustomControlInterface="AVerTV ExpressCard Custom Control Interface"
PlugInExp_CustomControlPropertyPage="AVerTV ExpressCard Custom Control Property Page"
TwainExpDsName="AVerTV ExpressCard TWAIN Image Capture"
StillExpAPP="AVerTV ExpressCard Image Capture"
TvTunerExpFilterName  = "AVerTV ExpressCard TvTuner"
CrossBarExpFilterName = "AVerTV ExpressCard CrossBar"
TvAudioExpFilterName  = "AVerTV ExpressCard TvAudio"
