;---------------------------------------------------------------------------
; V0090Dev.INF -- Creative Camera Model Number VF0090 installation
; Copyright (c) 2004 Creative Technology Ltd. All rights reserved.
;---------------------------------------------------------------------------

[Version]
Signature=  "$CHICAGO$"
LayoutFile= Layout.inf,Layout1.inf,Layout2.inf
Class=      Image
ClassGUID=  {6BDD1FC6-810F-11D0-BEC7-08002BE2092F}
CatalogFile=VF0090.cat
Provider=   %szMfg%
DriverVer=  04/14/2005,%szVersion%

[ControlFlags]
ExcludeFromSelect=*

[Manufacturer]
%szMfg%=Creative

[DestinationDirs]
DefaultDestDir=11
CtlCam.CopyKernelDrivers=10,system32\drivers
CtlCam.CopyKernelDrivers.SYS=10,system32\drivers
CtlCam.CopyUserDrivers=11
CtlCam.CopyUserDrivers.SYS=11
CtlCam.W2K.CopyWinFiles=10
CtlCam.CopyWinFiles=10
CtlCam.CopyTwainFiles=10,twain_32\Creative\VF0090
CtlCam.CopyVfwDriver=11
CtlCam.W2K.CopyVfwDriver=11

[Creative]
%szDeviceDesc%=CtlCam.Device,USB\VID_041E&PID_4028
%szDeviceDesc%=CtlCam.Device,USB\VID_041E&PID_403E

[CtlCam.Device]
DriverVer=     04/14/2005,%szVersion%
Include=       Ks.inf,Kscaptur.inf,Ksfilter.inf
Needs=         KS.Registration,KSCAPTUR.Registration
AddReg=        CtlCam.Basic.AddReg,CtlCam.Custom.AddReg,CtlCam.Vfw.AddReg,CtlCam.Uns.AddReg,CtlCam.Service.AddReg.W98
UpdateInis=    CtlCam.UpdateIni
CopyFiles=     CtlCam.CopyKernelDrivers,CtlCam.CopyKernelDrivers.SYS,CtlCam.CopyUserDrivers,CtlCam.CopyUserDrivers.SYS,CtlCam.CopyTwainFiles,CtlCam.CopyWinFiles,CtlCam.CopyVfwDriver
SubClass=      StillImage
VendorSetup=   %szInsPlugIn%,NonCoInstSetupEP
DeviceType=    2
DeviceSubType= 0x1
Capabilities=  0x3
Events=        CtlCam.StiEvents
DeviceData=    CtlCam.DeviceData
ICMProfiles=   "sRGB Color Space Profile.icm"

[CtlCam.Device.NT]
Include=       Ks.inf,Kscaptur.inf
Needs=         KS.Registration,KSCAPTUR.Registration.NT
AddReg=        CtlCam.Basic.AddReg,CtlCam.Custom.AddReg,CtlCam.Vfw.AddReg.NT,CtlCam.Uns.AddReg.NT,CtlCam.STI.AddReg.NT
UpdateInis=    CtlCam.UpdateIni
CopyFiles=     CtlCam.CopyKernelDrivers,CtlCam.CopyUserDrivers,CtlCam.CopyTwainFiles,CtlCam.W2K.CopyWinFiles,CtlCam.W2K.CopyVfwDriver
SubClass=      StillImage
DeviceType=    2
DeviceSubType= 0x1
Capabilities=  0x3
DeviceData=    CtlCam.DeviceData
ICMProfiles=   "sRGB Color Space Profile.icm"

[CtlCam.DeviceData]
TwainDS=%szTwainDSDesc%

[CtlCam.StiEvents]         ; Creative
; ** For STI driver registration only. If there is a WIA driver, do not use this method. **
;;NewPicture= %szStiEventNewPic%,%szSTIEventNewPic.GUID%,%szStiAppName%
LaunchApp=  %szStiEventLaunchApp%,%szSTIEventLaunch.GUID%,%szStiAppName%

[CtlCam.STI.AddReg.NT]     ; Creative
; ** Fix WinXP resource string replacement problem **
HKR,Events\NewPicture,,0,%szStiEventNewPic%
HKR,Events\NewPicture,GUID,0,%szSTIEventNewPic.GUID%
HKR,Events\NewPicture,LaunchApplications,0,%szStiAppName%
HKR,Events\LaunchApp,,0,%szStiEventLaunchApp%
HKR,Events\LaunchApp,GUID,0,%szSTIEventLaunch.GUID%
HKR,Events\LaunchApp,LaunchApplications,0,%szStiAppName%

[CtlCam.Device.NT.CoInstallers]
AddReg=     CtlCam.CoInst.AddReg
CopyFiles=  CtlCam.CopyCoInstFile

[CtlCam.CoInst.AddReg]     ; Creative
HKR,,CoInstallers32,0x00010000,"%szInsPlugIn%,CoInstallerEntryPoint"

[CtlCam.Uns.AddReg]        ; Creative
HKLM,%MSUninstall%\%szUninstall%,"UninstallString",0,"%10%\CtDrvIns.exe -uninstall -script %szUNSScript% -plugin %szInsPlugIn% -pluginres %szInsPlugInRes%"

[CtlCam.Uns.AddReg.NT]     ; Creative
HKLM,%MSUninstall%\%szUninstall%,"UninstallString",0,"%10%\CtDrvIns.exe -uninstall -script %szUNSScript% -unsext NT -plugin %szInsPlugIn% -pluginres %szInsPlugInRes%"
HKLM,%MSUninstall%\%szUninstall%,"NoModify",0x00010001,1
HKLM,%MSUninstall%\%szUninstall%,"NoRepair",0x00010001,1

[CtlCam.Basic.AddReg]      ; Creative
; ** Driver package version **
HKLM,%szConfigRegistry%,"Version",0,%szVersion%

; ** Device driver **
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,%szVideoDriver%

HKR,,CtProductName,,%szProductName%

; ** For add/remove programs applet **
HKLM,%MSUninstall%\%szUninstall%,"DisplayName",0,"%szUninstallDisplay% (%szVersion%)"

; ** STI driver registration **
HKR,,USDClass,,%szSTIDevice.GUID%

HKCR,CLSID\%szSTIDevice.GUID%,,,%szStillImageDesc%
HKCR,CLSID\%szSTIDevice.GUID%\InProcServer32,,,%11%\%szStiDriver%
HKCR,CLSID\%szSTIDevice.GUID%\InProcServer32,ThreadingModel,,"Both"


; ------------------------- start of Vendor specific --------------------------

[CtlCam.Service.AddReg]
; ** Device setting **
HKR,Parameters,A0,0x00010001,0x0
HKR,Parameters,A1,0x00010001,0x0
HKR,Parameters,A2,0x00010001,0x1
HKR,Parameters,A3,0x00010001,0x64000001
HKR,Parameters,A4,0x00010001,0x003C3C0A
HKR,Parameters,A5,0x00010001,0x400
HKR,Parameters,A6,0x00010001,0x200027
HKR,Parameters,A7,0x00010001,0x50005
HKR,Parameters,A8,0x00010001,0x40012
HKR,Parameters,A9,0x00010001,0x0
HKR,Parameters,A10,0x00010001,0xFA001E
HKR,Parameters,A11,0x00010001,0x2
HKR,Parameters,A12,0x00010001,0x1200002
HKR,Parameters,A13,0x00010001,0x10000
HKR,Parameters,A14,0x00010001,0x0
HKR,Parameters,A15,0x00010001,0x13F
HKR,Parameters,A16,0x00010001,0x0
HKR,Parameters,A17,0x00010001,0x808
HKR,Parameters,A18,0x00010001,0x5AEB14
HKR,Parameters,A19,0x00010001,0x0
HKR,Parameters,A20,0x00010001,0x0
HKR,Parameters,A21,0x00010001,0x808080
HKR,Parameters,A22,0x00010001,0xA00000
HKR,Parameters,A23,0x00010001,0x7D00BB8
HKR,Parameters,A24,0x00010001,0x7D007D0
HKR,Parameters,A25,0x00010001,0x7D00BB8
HKR,Parameters,A26,0x00010001,0x7D007D0
HKR,Parameters,A27,0x00010001,0xBB8
HKR,Parameters,A28,0x00010001,0x41A
HKR,Parameters,A29,0x00010001,0x50
HKR,Parameters,A30,0x00010001,0xFF
HKR,Parameters,A31,0x00010001,0x0
HKR,Parameters,A32,0x00010001,0x20200000
HKR,Parameters,A33,0x00010001,0xC0C0
HKR,Parameters,A34,0x00010001,0x0
HKR,Parameters,A35,0x00010001,0x0
HKR,Parameters,A36,0x00010001,0x0
HKR,Parameters,A37,0x00010001,0x0
HKR,Parameters,A38,0x00010001,0x0
HKR,Parameters,A39,0x00010001,0x0
HKR,Parameters,A40,0x00010001,0x0
HKR,Parameters,A41,0x00010001,0x2E49B7FF
HKR,Parameters,A42,0x00010001,0xD1204
HKR,Parameters,A43,0x00010001,0x29036F
HKR,Parameters,A44,0x00010001,0x80008000
HKR,Parameters,A45,0x00010001,0x30F01004
HKR,Parameters,A46,0x00010001,0x70000000
HKR,Parameters,A47,0x00010001,0xF8A0
HKR,Parameters,A48,0x00010001,0x320000
HKR,Parameters,A49,0x00010001,0x2A20096
HKR,Parameters,A50,0x00010001,0x3600AF
HKR,Parameters,A51,0x00010001,0x108
HKR,Parameters,A52,0x00010001,0x003c5050
HKR,Parameters,A53,0x00010001,0xC0008
HKR,Parameters,A54,0x00010001,0x0
HKR,Parameters,A55,0x00010001,0xD28078
HKR,Parameters,A56,0x00010001,0xF08050
HKR,Parameters,A57,0x00010001,0xBE8078

HKR,Parameters,A58,0x00010001,0x0
HKR,Parameters,A59,0x00010001,0x0
HKR,Parameters,A60,0x00010001,0x0
HKR,Parameters,A61,0x00010001,0x0
HKR,Parameters,A62,0x00010001,0x0
HKR,Parameters,A63,0x00010001,0x0
HKR,Parameters,A64,0x00010001,0x77432104

HKR,Parameters,UI_YTarget_Min,0x00010001,0
HKR,Parameters,UI_YTarget_Max,0x00010001,255
HKR,Parameters,UI_YTarget_Step,0x00010001,1
HKR,Parameters,UI_YTarget_Default_CRT,0x00010001,115
HKR,Parameters,UI_YTarget_Default_LCD,0x00010001,100
HKR,Parameters,UI_AeSpeed_Min,0x00010001,0
HKR,Parameters,UI_AeSpeed_Max,0x00010001,4
HKR,Parameters,UI_AeSpeed_Step,0x00010001,1
HKR,Parameters,UI_AeSpeed_Default_CRT,0x00010001,0
HKR,Parameters,UI_AeSpeed_Default_LCD,0x00010001,0		
HKR,Parameters,UI_AcFrequency_50Hz,0x00010001,50
HKR,Parameters,UI_AcFrequency_60Hz,0x00010001,60
HKR,Parameters,UI_AcFrequency_Default_CRT,0x00010001,60
HKR,Parameters,UI_AcFrequency_Default_LCD,0x00010001,60
HKR,Parameters,UI_AwbEnable_Enable,0x00010001,1
HKR,Parameters,UI_AwbEnable_Disable,0x00010001,0
HKR,Parameters,UI_AwbEnable_Default_CRT,0x00010001,1
HKR,Parameters,UI_AwbEnable_Default_LCD,0x00010001,1
HKR,Parameters,UI_AwbSpeed_Min,0x00010001,0
HKR,Parameters,UI_AwbSpeed_Max,0x00010001,100
HKR,Parameters,UI_AwbSpeed_Step,0x00010001,1
HKR,Parameters,UI_AwbSpeed_Default_CRT,0x00010001,20
HKR,Parameters,UI_AwbSpeed_Default_LCD,0x00010001,20
HKR,Parameters,UI_Gamma_Min,0x00010001,0
HKR,Parameters,UI_Gamma_Max,0x00010001,150
HKR,Parameters,UI_Gamma_Step,0x00010001,1
HKR,Parameters,UI_Gamma_Default_CRT,0x00010001,90
HKR,Parameters,UI_Gamma_Default_LCD,0x00010001,80
HKR,Parameters,UI_EdgeRatio_Min,0x00010001,0
HKR,Parameters,UI_EdgeRatio_Max,0x00010001,16
HKR,Parameters,UI_EdgeRatio_Step,0x00010001,1
HKR,Parameters,UI_EdgeRatio_Default_CRT,0x00010001,4
HKR,Parameters,UI_EdgeRatio_Default_LCD,0x00010001,4
HKR,Parameters,UI_Brightness_Min,0x00010001,0
HKR,Parameters,UI_Brightness_Max,0x00010001,350
HKR,Parameters,UI_Brightness_Step,0x00010001,1
HKR,Parameters,UI_Brightness_Default_CRT,0x00010001,245
HKR,Parameters,UI_Brightness_Default_LCD,0x00010001,255
HKR,Parameters,UI_Contrast_Min,0x00010001,0
HKR,Parameters,UI_Contrast_Max,0x00010001,80
HKR,Parameters,UI_Contrast_Step,0x00010001,1
HKR,Parameters,UI_Contrast_Default_CRT,0x00010001,0
HKR,Parameters,UI_Contrast_Default_LCD,0x00010001,0
HKR,Parameters,UI_Hue_Min,0x00010001,0
HKR,Parameters,UI_Hue_Max,0x00010001,360
HKR,Parameters,UI_Hue_Step,0x00010001,1
HKR,Parameters,UI_Hue_Default_CRT,0x00010001,0
HKR,Parameters,UI_Hue_Default_LCD,0x00010001,0
HKR,Parameters,UI_Saturation_Min,0x00010001,0
HKR,Parameters,UI_Saturation_Max,0x00010001,200
HKR,Parameters,UI_Saturation_Step,0x00010001,1
HKR,Parameters,UI_Saturation_Default_CRT,0x00010001,180
HKR,Parameters,UI_Saturation_Default_LCD,0x00010001,160
HKR,Parameters,UI_LightMode_Indoor,0x00010001,0
HKR,Parameters,UI_LightMode_Outdoor,0x00010001,1
HKR,Parameters,UI_LightMode_Default_CRT,0x00010001,0
HKR,Parameters,UI_LightMode_Default_LCD,0x00010001,0
HKR,Parameters,UI_AeMode_Frame_Rate,0x00010001,0
HKR,Parameters,UI_AeMode_Quality,0x00010001,1
HKR,Parameters,UI_AeMode_Default_CRT,0x00010001,1
HKR,Parameters,UI_AeMode_Default_LCD,0x00010001,1
HKR,Parameters,UI_MonitorMode_CRT,0x00010001,1
HKR,Parameters,UI_MonitorMode_LCD,0x00010001,0
HKR,Parameters,UI_MonitorMode_Default,0x00010001,0
HKR,Parameters,UI_HFlip_Checked,0x00010001,1
HKR,Parameters,UI_HFlip_UnChecked,0x00010001,0
HKR,Parameters,UI_HFlip_Default_CRT,0x00010001,0
HKR,Parameters,UI_HFlip_Default_LCD,0x00010001,0
HKR,Parameters,UI_VFlip_Checked,0x00010001,1
HKR,Parameters,UI_VFlip_UnChecked,0x00010001,0
HKR,Parameters,UI_VFlip_Default_CRT,0x00010001,1
HKR,Parameters,UI_VFlip_Default_LCD,0x00010001,1

[CtlCam.Service.AddReg.W98]
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A0,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A1,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A2,0x00010001,1
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A3,0x00010001,1677721601
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A4,0x00010001,3947530
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A5,0x00010001,1024
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A6,0x00010001,2097191
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A7,0x00010001,327685
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A8,0x00010001,262162
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A9,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A10,0x00010001,16384030
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A11,0x00010001,2
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A12,0x00010001,18874370
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A13,0x00010001,65536
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A14,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A15,0x00010001,319
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A16,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A17,0x00010001,2056
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A18,0x00010001,5958420
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A19,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A20,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A21,0x00010001,8421504
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A22,0x00010001,10485760
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A23,0x00010001,131075000
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A24,0x00010001,131074000
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A25,0x00010001,131075000
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A26,0x00010001,131074000
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A27,0x00010001,3000
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A28,0x00010001,1050
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A29,0x00010001,80
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A30,0x00010001,255
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A31,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A32,0x00010001,538968064
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A33,0x00010001,49344
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A34,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A35,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A36,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A37,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A38,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A39,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A40,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A41,0x00010001,776583167
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A42,0x00010001,856580
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A43,0x00010001,2687855
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A44,0x00010001,2147516416
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A45,0x00010001,821039108
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A46,0x00010001,1879048192
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A47,0x00010001,63648
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A48,0x00010001,3276800
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A49,0x00010001,44171414
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A50,0x00010001,3539119
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A51,0x00010001,264
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A52,0x00010001,3952720
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A53,0x00010001,786440
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A54,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A55,0x00010001,13795448
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A56,0x00010001,15761488
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A57,0x00010001,12484728
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A58,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A59,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A60,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A61,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A62,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A63,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",A64,0x00010001,2000888068
	
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_YTarget_Min,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_YTarget_Max,0x00010001,255
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_YTarget_Step,0x00010001,1
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_YTarget_Default_CRT,0x00010001,115
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_YTarget_Default_LCD,0x00010001,100
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_AeSpeed_Min,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_AeSpeed_Max,0x00010001,4
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_AeSpeed_Step,0x00010001,1
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_AeSpeed_Default_CRT,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_AeSpeed_Default_LCD,0x00010001,0		
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_AcFrequency_50Hz,0x00010001,50
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_AcFrequency_60Hz,0x00010001,60
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_AcFrequency_Default_CRT,0x00010001,60
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_AcFrequency_Default_LCD,0x00010001,60
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_AwbEnable_Enable,0x00010001,1
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_AwbEnable_Disable,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_AwbEnable_Default_CRT,0x00010001,1
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_AwbEnable_Default_LCD,0x00010001,1
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_AwbSpeed_Min,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_AwbSpeed_Max,0x00010001,100
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_AwbSpeed_Step,0x00010001,1
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_AwbSpeed_Default_CRT,0x00010001,20
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_AwbSpeed_Default_LCD,0x00010001,20
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_Gamma_Min,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_Gamma_Max,0x00010001,150
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_Gamma_Step,0x00010001,1
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_Gamma_Default_CRT,0x00010001,90
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_Gamma_Default_LCD,0x00010001,80
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_EdgeRatio_Min,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_EdgeRatio_Max,0x00010001,16
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_EdgeRatio_Step,0x00010001,1
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_EdgeRatio_Default_CRT,0x00010001,4
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_EdgeRatio_Default_LCD,0x00010001,4
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_Brightness_Min,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_Brightness_Max,0x00010001,350
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_Brightness_Step,0x00010001,1
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_Brightness_Default_CRT,0x00010001,245
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_Brightness_Default_LCD,0x00010001,255
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_Contrast_Min,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_Contrast_Max,0x00010001,80
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_Contrast_Step,0x00010001,1
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_Contrast_Default_CRT,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_Contrast_Default_LCD,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_Hue_Min,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_Hue_Max,0x00010001,360
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_Hue_Step,0x00010001,1
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_Hue_Default_CRT,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_Hue_Default_LCD,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_Saturation_Min,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_Saturation_Max,0x00010001,200
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_Saturation_Step,0x00010001,1
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_Saturation_Default_CRT,0x00010001,180
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_Saturation_Default_LCD,0x00010001,160
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_LightMode_Indoor,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_LightMode_Outdoor,0x00010001,1
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_LightMode_Default_CRT,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_LightMode_Default_LCD,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_AeMode_Frame_Rate,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_AeMode_Quality,0x00010001,1
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_AeMode_Default_CRT,0x00010001,1
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_AeMode_Default_LCD,0x00010001,1
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_MonitorMode_CRT,0x00010001,1
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_MonitorMode_LCD,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_MonitorMode_Default,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_HFlip_Checked,0x00010001,1
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_HFlip_UnChecked,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_HFlip_Default_CRT,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_HFlip_Default_LCD,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_VFlip_Checked,0x00010001,1
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_VFlip_UnChecked,0x00010001,0
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_VFlip_Default_CRT,0x00010001,1
HKLM,"%szServicePath%\%szVidServiceName%\Parameters",UI_VFlip_Default_LCD,0x00010001,1

[CtlCam.Custom.AddReg]
HKLM,"Software\%REGISTRY_PATH%",usb_snapshot_status,0x00010001,0
HKLM,"Software\%REGISTRY_PATH%",InterruptCounter,0x00010001,0
HKLM,"Software\%REGISTRY_PATH%",StatusReport,0x00010001,0

; This IID is aggregated for the filter given the CLSID of the property set
HKLM,System\CurrentControlSet\Control\MediaInterfaces\%szCustomInterface.GUID%,,,"Custom Camera Interface Handler"
HKLM,System\CurrentControlSet\Control\MediaInterfaces\%szCustomInterface.GUID%,IID,1,d4,c3,05,dd,5b,c2,2b,40,91,be,04,05,68,c5,db,10

; -------------------------- end of Vendor specific ---------------------------

[CtlCam.Vfw.AddReg]     ; Creative
; ** For Video For Window driver in Windows 98 and ME **
HKLM,%MSMediaResourcesMSVideo%\MSVideo.%szVfwKey%,"Description",,%szVfwDeviceDesc%
HKLM,%MSMediaResourcesMSVideo%\MSVideo.%szVfwKey%,"FriendlyName",,%szVfwDeviceDesc%
HKLM,%MSMediaResourcesMSVideo%\MSVideo.%szVfwKey%,"Driver",,"%szVfwBaseFileName%.drv"

[CtlCam.Vfw.AddReg.NT]  ; Creative
; ** For Video For Window driver in Windows NT **
HKLM,%MSMediaResourcesMSVideo%\MSVideo.%szVfwKey%,"Description",,%szVfwDeviceDesc%
HKLM,%MSMediaResourcesMSVideo%\MSVideo.%szVfwKey%,"FriendlyName",,%szVfwDeviceDesc%
HKLM,%MSMediaResourcesMSVideo%\MSVideo.%szVfwKey%,"Driver",,"%szVfwBaseFileName%.dll"

[CtlCam.UpdateIni]
system.ini,drivers32,,"VIDC.I420=msh263.drv",0                       ; Creative
system.ini,drivers,,"MSVideo.%szVfwKey%=%szVfwBaseFileName%.drv",0   ; Creative

[CtlCam.Device.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,GLOBAL,CtlCam.Interface

[CtlCam.Device.NT.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,GLOBAL,CtlCam.Interface

[CtlCam.Interface]
AddReg=CtlCam.Intf.AddReg

[CtlCam.Intf.AddReg]
HKR,,CLSID,,%ProxyVidCap.CLSID%
HKR,,ExtensionDLL,,%szExtPageFile%
HKR,,FriendlyName,,%szDeviceDesc%
HKR,PinFactory\0\Interfaces\{C6E13343-30AC-11d0-A18C-00A0C9118956},,,{C6E13343-30AC-11d0-A18C-00A0C9118956}

[CtlCam.Device.NT.Services]
AddService=%szVidServiceName%,0x00000002,CtlCam.ServiceInstall

[CtlCam.ServiceInstall]
DisplayName=%szDeviceDesc%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_DEMAND_START%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary=%12%\%szVideoDriver%
AddReg=CtlCam.Service.AddReg


; ----------------------------- FILES ---------------------------------

[CtlCam.CopyCoInstFile]

[CtlCam.CopyKernelDrivers]
V0090Vid.sys

[CtlCam.CopyKernelDrivers.SYS]   ; Required in Win98
stream.sys     ; from Microsoft
usbcamd.sys    ; from Microsoft

[CtlCam.CopyUserDrivers]
CtCamMgr.dll   ; from Creative
CtRegApp.dll   ; from Creative
CtCamPin.crl   ; from Creative
V0090Srv.exe   ; from Creative
V0090Hwx.dll   ; from Creative
V0090Pin.dll   ; from Creative
V0090Sti.dll   ; from Creative
V0090Ext.ax    ; from Creative
V0090Ext.crl   ; from Creative

[CtlCam.CopyTwainFiles]
CtTwain.dll    ; from Creative
CtTwain.crl    ; from Creative
CtTwain.bff    ; from Creative
HookWnd.dll    ; from Creative
V0090Twn.ds    ; from Creative
Gdiplus.dll

[CtlCam.W2K.CopyWinFiles]
CtDrvIns.exe,,,0x00000020  ;from Creative
V0090Cfg.exe   ; from Creative
VF0090.uns     ; from Creative

[CtlCam.CopyWinFiles]
CtDrvIns.exe,,,0x00000020  ; from Creative
V0090Cfg.exe   ; from Creative
VF0090.uns     ; from Creative
Vfwupd.exe

[CtlCam.CopyUserDrivers.SYS]
Msh263.drv     ; from Microsoft

[CtlCam.CopyVfwDriver]
V0090Vfw.drv   ; from Creative

[CtlCam.W2K.CopyVfwDriver]
V0090Vfw.dll   ; from Creative

[SourceDisksNames]
1=%szDiskName%,,,

[SourceDisksFiles]
CtDrvIns.exe=1,,
CtCamMgr.dll=1,,
CtCamPin.crl=1,,
CtRegApp.dll=1,,
CtTwain.dll=1,,
CtTwain.crl=1,,
CtTwain.bff=1,,
Gdiplus.dll=1,,
HookWnd.dll=1,,
V0090Vid.sys=1,,
V0090Twn.ds=1,,
V0090Dex.ax=1,,
V0090Hwx.dll=1,,
VfwUpd.exe=1,,
V0090Ext.crl=1,,
V0090Vfw.drv=1,,
V0090Vfw.dll=1,,
V0090Pin.dll=1,,
V0090Pin.crl=1,,
V0090Cfg.exe=1,,
V0090Ext.ax=1,,
V0090Ext.crl=1,,
V0090Dex.ax=1,,
V0090Sti.dll=1,,
V0090Srv.exe=1,,
VF0090.uns=1,,

;-----------------------  STRINGS DEFINITION ---------------------------------

[Strings]
;--------------------------------
; System related. Do not change.
;--------------------------------
; ** Note: only register value is case sensitive, key is not. **
ProxyVidCap.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_CAPTURE="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"

SERVICE_KERNEL_DRIVER=1
; ** PnP should use demand start **
SERVICE_DEMAND_START=3
SERVICE_ERROR_NORMAL=1
SERVICE_AUTO_START=2

MSMediaInterfaces       ="System\CurrentControlSet\Control\MediaInterfaces"
MSMediaSets             ="System\CurrentControlSet\Control\MediaSets"
MSMMDriverDesc          ="SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc"
MSMMDrivers             ="SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32"
MSRunOnce               ="SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
MSUninstall             ="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
MSRun                   ="SOFTWARE\Microsoft\Windows\CurrentVersion\Run"
MSMediaResourcesMSVideo ="SYSTEM\CurrentControlSet\Control\MediaResources\msvideo"
MSDefStreamConfig.GUID  ="{71F96467-78F3-11d0-A18C-00A0C9118956}"
MSDefCameraCtrl.GUID    ="{71F96465-78F3-11d0-A18C-00A0C9118956}"
MSDefVideoProcAmp.GUID  ="{71F96464-78F3-11d0-A18C-00A0C9118956}"


;-------------------------------------
; User-definable - hardware dependent
;-------------------------------------
szMfg                   ="Creative Technology Ltd"
szDeviceDesc            ="Creative WebCam Vista Plus"
szProductName           ="Creative WebCam Vista Plus" 
szConfigRegistry        ="Software\Creative Tech\Web Cameras\VF0090"

szVfwKey                ="V0090VFW"
szVfwDeviceDesc         ="Creative WebCam Vista Plus (VFW)"
szTwainDSDesc           ="Creative WebCam Vista Plus"
szUninstall             ="Creative VF0090"
szUninstallDisplay      ="Creative WebCam Vista Plus Driver"
szStillImageDesc        ="VF0090 Still Image USD"
szStiAppName            ="WebCam Center"
szStiEventNewPic        ="New Picture"
szStiEventLaunchApp     ="Launch Application"

szDiskName              ="Creative WebCam Vista Plus Driver Disk"
szVidServiceName        ="V0090VID"
szDeviceSetup           ="WebCam Vista Plus Setup"

; File names
szInsPlugIn             ="V0090Pin.dll"
szInsPlugInRes          ="CtCamPin.crl"
szExtPageFile           ="V0090Ext.ax"
szUNSScript             ="VF0090.uns"
szVfwBaseFileName       ="V0090Vfw"
szVideoDriver           ="V0090Vid.sys"
szStiDriver             ="V0090Sti.dll"

; Custom Property pages
szPlugIn_CustomCameraProp      ="VF0090 Custom Camera Interface handler"
szPropPage_CustomDevSetting    ="VF0090 Custom Device Setting Property Page"
szPropPage_CustomBandingSetting="VF0090 Custom Banding Frequency Property Page"
szPropPage_CustomStreamConfig  ="VF0090 Custom Video Stream Config Property Page"

szCustomInterface.GUID           ="{A6E5982E-1C8B-4224-AE91-D35C6E5C69E6}"
szSTIDevice.GUID                 ="{8AA633F4-E8F7-43bc-A07E-991A132EEA75}"
szSTIEventNewPic.GUID            ="{3B5B32D9-7F2B-4565-8679-C111B553EC5E}"
szSTIEventLaunch.GUID            ="{3B5B32D9-7F2B-4565-8679-C111B553EC5D}"

REGISTRY_PATH                    ="Creative Tech\Web Cameras\VF0090"
szServicePath                    ="System\CurrentControlSet\Services"

;----------------------
; Version information
;----------------------
szVersion         ="1.02.02.0414"   ; Vendor build 05-04-14