;------------------------------------------------------------------
;------------------------------------------------------------------
;
;   BisonC07.inf  -- This file contains installation information
;   For windows NT
;   Copyright (c) 2006
;   DSP : ALI-5607
;   Sensor:   VGA OVT-7640/7648/7649,MT9V011(MI360),HV7131R
;            1.3M OVT-9620/9630/9640,MT9001C12ST,HV7151SP
;
;------------------------------------------------------------------
;------------------------------------------------------------------

[Version]
Signature	="$CHICAGO$"
Class		=Image
ClassGUID	={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider	=%VENDOR%
LayoutFile	=Layout.inf, Layout1.inf, Layout2.inf
CatalogFile	=BisonC07.cat
DriverVer	=11/29/2006,6.32.703.02

[SourceDisksNames]
1=%DISK_NAME%,,,

[SourceDisksFiles]
S30H0330.csr	=1
S30F0330.csr	=1
BisonC07.sys	=1
BisonC07.dll	=1
BisonV07.dll	=1
M2000T07.ini	=1
M2000T07.src	=1
M2000T07.dll	=1
BisonC07.ds	=1
LiveCa07.exe	=1
BisonM07.exe	=1
BisonR07.dll	=1
StillDrv.dll	=1

[DestinationDirs]
DefaultDestDir			= 11
CamM5607.Sensor			= 10,system
CamM5607.DLCode			= 10,system32\drivers
CamM5607.CopyDriversNT		= 10,system32\drivers
CamM5607.System.CopyList	= 10,system
CamM5607.TwainIni.CopyList	= 10
CamM5607.TwainDriver.CopyList	= 10,TWAIN_32\BisonC07
CamM5607.AP.CopyFiles		= 10,BisonC07
CamM5607.Uninstall.CopyList	= 10,system32
FileCpy.Stisvc			= 10,system

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

[Manufacturer]
%Mfg%=CamM5607.Section

;---------------------------------------------------------------
;           USB2.0 Web Camera
;---------------------------------------------------------------
[CamM5607.Section]
%CamM5607.DeviceDesc%=CamM5607.Device,USB\VID_5986&PID_0200&MI_00
;%CamM5607.DeviceDesc%=CamM5607.Device,USB\VID_5986&PID_0100&MI_00
;%CamM5607.DeviceDesc%=CamM5607.Device,USB\VID_0402&PID_5606&MI_00

[CamM5607.Device.NT]
Include		=ks.inf, kscaptur.inf, ksfilter.inf
Needs		=KS.Registration,KSCAPTUR.Registration.NT
SubClass	=StillImage
;DeviceType= 0 default, 1 scanner, 2 camera, 3 streaming vedio
DeviceType	=3
DeviceSubType	=1
Capabilities	=0x31
Events		=LiveCam.Events
DeviceData	=LiveCam.DeviceData
ICMProfiles	="sRGB Color Space Profile.icm" 
AddReg		=CamM5607.AddReg,Uninstall.AddReg,AddReg.Runonce,CamM5607.Prop.AddReg,CameraEnvSetting,SensorRegSetting
CopyFiles	=CamM5607.Sensor,CamM5607.DLCode,CamM5607.CopyDriversNT,CamM5607.System.CopyList,CamM5607.TwainIni.CopyList,\
CamM5607.TwainDriver.CopyList,CamM5607.AP.CopyFiles,CamM5607.Uninstall.CopyList,FileCpy.Stisvc

[LiveCam.Events]
; These are events that the device issues to trigger application
; launching.

[LiveCam.DeviceData]
; Ancillary data to be associated with this device.  TwainDS is the
; name of the data source that a TWAIN-compliant app will be open
; in response to an event.
TwainDS="Acer OrbiCam"

Server=local
UI DLL=sti.dll
UI Class ID={5d8ef5a3-ac13-11d2-a093-00c04f72dc3c}

[CamM5607.AddReg]
HKR,,HardwareConfig,1,1
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,BisonC07.sys
;HKR,,DontSuspendIfStreamsAreRunning,3,01
HKR,,CreateFileName,,"AUTO"
HKR,,VideoClassMode,0x00010001,0
HKR,,PowerDownWhenUnopened,3,01
HKR,,NBSelectiveSuspend,3,00
HKR,,USDClass,,"{0527d1d0-88c2-11d2-82c7-00c04f8ec183}"

[Uninstall.AddReg]
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%InstallShiled.GUID%,,0x00000002
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%InstallShiled.GUID%,"DisplayName",0x00000002,"%CamM5607.DeviceDesc%"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%InstallShiled.GUID%,"UninstallString",0x00000002,"Rundll32.exe BisonR07.dll,WinMainRmv"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%InstallShiled.GUID%,"DisplayIcon",0x00000002,"%10%\BisonC07\LiveCa07.exe"

[AddReg.Runonce]
;HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce","STI",0x00000000,"Rundll32.exe BisonR07.dll,WinMainRmv /StartSti"
;HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce","CPUType",0x00000000,"Rundll32.exe BisonR07.dll,WinMainRmv /CPUType"
HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce","SuspendAndPowerdown",0x00000000,"Rundll32.exe BisonR07.dll,WinMainRmv /SuspendAndPowerdown"
;HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce","ResetPortEnable",0x00000000,"Rundll32.exe BisonR07.dll,WinMainRmv /ResetPortEnable"
HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce","Do5060",0x00000000,"Rundll32.exe BisonR07.dll,WinMainRmv /Do5060"
;HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce","LowLight",0x00000000,"Rundll32.exe BisonR07.dll,WinMainRmv /LowLight"
;HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce","LEDControl",0x00000000,"Rundll32.exe BisonR07.dll,WinMainRmv /LEDControl"
HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce","DeviceOffOn",0x00000000,"Rundll32.exe BisonR07.dll,WinMainRmv /DeviceOffOn"

[CamM5607.Prop.AddReg]
;IPCamCtrl
HKCR,CLSID\{A7974C56-A77E-4B90-8CBF-1C71EC303000},,,M5607PropCtrl Class
HKCR,CLSID\{A7974C56-A77E-4B90-8CBF-1C71EC303000}\InprocServer32,,,BisonC07.dll
HKCR,CLSID\{A7974C56-A77E-4B90-8CBF-1C71EC303000}\InprocServer32,ThreadingModel,,Both
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{A7974C56-A77E-4B90-8CBF-1C71EC303000},,,M5607 Control Interface
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{A7974C56-A77E-4B90-8CBF-1C71EC303000},IID,1, A2, 39, 96, EB, 73, 97, F4, 4A, AF, 2B, 30, 32, DC, 22, 28, 3B
;; CustomCamera Property Page
HKCR,CLSID\{7EBBB1AF-C455-4f97-B5E7-9D4E5B983000},,,M5607PropCtrl Class
HKCR,CLSID\{7EBBB1AF-C455-4f97-B5E7-9D4E5B983000}\InprocServer32,,,BisonC07.dll
HKCR,CLSID\{7EBBB1AF-C455-4f97-B5E7-9D4E5B983000}\InprocServer32,ThreadingModel,,Both

HKCR,CLSID\{7EBBB1AF-C455-4f97-B5E7-9D4E5B983001},,,M5607PropCtrl Class
HKCR,CLSID\{7EBBB1AF-C455-4f97-B5E7-9D4E5B983001}\InprocServer32,,,BisonC07.dll
HKCR,CLSID\{7EBBB1AF-C455-4f97-B5E7-9D4E5B983001}\InprocServer32,ThreadingModel,,Both

HKCR,CLSID\{7EBBB1AF-C455-4f97-B5E7-9D4E5B983002},,,M5607PropCtrl Class
HKCR,CLSID\{7EBBB1AF-C455-4f97-B5E7-9D4E5B983002}\InprocServer32,,,BisonC07.dll
HKCR,CLSID\{7EBBB1AF-C455-4f97-B5E7-9D4E5B983002}\InprocServer32,ThreadingModel,,Both
;Property Page M5603Ctrl
HKLM,SYSTEM\CurrentControlSet\Control\MediaSets\{A7974C56-A77E-4B90-8CBF-1C71EC303000}
HKLM,SYSTEM\CurrentControlSet\Control\MediaSets\{A7974C56-A77E-4B90-8CBF-1C71EC303000}\PropertyPages
HKLM,SYSTEM\CurrentControlSet\Control\MediaSets\{A7974C56-A77E-4B90-8CBF-1C71EC303000}\PropertyPages\{7EBBB1AF-C455-4f97-B5E7-9D4E5B983000}

HKLM,System\CurrentControlSet\Control\MediaSets\{A7974C56-A77E-4B90-8CBF-1C71EC303000},,,M5607 Default Property Page Interface handler
HKLM,System\CurrentControlSet\Control\MediaSets\{A7974C56-A77E-4B90-8CBF-1C71EC303000}\PropertyPages
HKLM,System\CurrentControlSet\Control\MediaSets\{A7974C56-A77E-4B90-8CBF-1C71EC303000}\PropertyPages\{7EBBB1AF-C455-4f97-B5E7-9D4E5B983001}

HKLM,System\CurrentControlSet\Control\MediaSets\{A7974C56-A77E-4B90-8CBF-1C71EC303000},,,M5607 Default Property Page Interface handler
HKLM,System\CurrentControlSet\Control\MediaSets\{A7974C56-A77E-4B90-8CBF-1C71EC303000}\PropertyPages
HKLM,System\CurrentControlSet\Control\MediaSets\{A7974C56-A77E-4B90-8CBF-1C71EC303000}\PropertyPages\{7EBBB1AF-C455-4f97-B5E7-9D4E5B983002}

[CameraEnvSetting]
;*********************************************
; Camera global environment setting
;*********************************************
HKR,,  CamSensorVendor, 0x00010001,  0x000000
HKR,,  CamMajorType,    0x00010001,  0x000003
HKR,,  CamSubType,      0x00010001,  0x000003
HKR,,  CamAudioSupport, 0x00010001,  0x000000
HKR,,  SnapshotPos,     0x00010001,  00000000

HKLM,%CAMERA_ENV_REGISTRY%,  UsbVersion,   0x00010001,  00000000
HKLM,%CAMERA_ENV_REGISTRY%,  DefaultFlip,  0x00010001,  00000000
HKLM,%CAMERA_ENV_REGISTRY%,  DebugMode,    0x00010001,  00000000
HKLM,%CAMERA_ENV_REGISTRY%,  ConditionFlg, 0x00010001,  00000000
HKLM,%CAMERA_ENV_REGISTRY%,  TwainImage,   0x00010001,  00000050
HKLM,%CAMERA_ENV_REGISTRY%,  StillImage,   0x00010001,  00000010
HKLM,%CAMERA_ENV_REGISTRY%,  CurWinSize,   0x00010001,  0x0000ff
HKLM,%CAMERA_ENV_REGISTRY%,  ExtWinSize,   0x00010001,  0x0000ff
HKLM,%CAMERA_ENV_REGISTRY%,  FullImage,    0x00010001,  00000001
HKLM,%CAMERA_ENV_REGISTRY%,  DeviceId,     0x00000000,  %CamM5607.DeviceId%
HKLM,%CAMERA_ENV_REGISTRY%,  FriendlyName, 0x00000000,  %CamM5607.DeviceDesc%
HKLM,%CAMERA_ENV_REGISTRY%,  Mfg,          0x00000000,  %Mfg%
HKLM,%CAMERA_ENV_REGISTRY%,  LaunchApp,    0x00000000,  %10%\BisonC07\LiveCa07.exe
HKLM,%CAMERA_ENV_REGISTRY%,  LangFilePath, 0x00000000,  %10%\%CAMERA_FILEPATH_APP%
;HKLM,%CAMERA_ENV_REGISTRY%,  PropertyPage, 0x00010001,  00000001

;*********************************************
; Default VideoProcAmp setting
;*********************************************
; KSPROPERTY_VIDEOPROCAMP_BRIGHTNESS
HKR, %CAMERA_VIDEOPROCAMP%\Brightness,    Enable, 0x00010001, 00000001
HKR, %CAMERA_VIDEOPROCAMP%\Brightness,    AutoFg, 0x00010001, 00000002
HKR, %CAMERA_VIDEOPROCAMP%\Brightness,    AutoCb, 0x00010001, 00000002
HKR, %CAMERA_VIDEOPROCAMP%\Brightness,    MinVal, 0x00010001, 00000000
HKR, %CAMERA_VIDEOPROCAMP%\Brightness,    MaxVal, 0x00010001, 00000100
HKR, %CAMERA_VIDEOPROCAMP%\Brightness,    SDelta, 0x00010001, 00000010
HKR, %CAMERA_VIDEOPROCAMP%\Brightness,    Defaul, 0x00010001, 00000050
HKR, %CAMERA_VIDEOPROCAMP%\Brightness,    CurVal, 0x00010001, 00000050

; KSPROPERTY_VIDEOPROCAMP_CONTRAST
HKR, %CAMERA_VIDEOPROCAMP%\Contrast,      Enable, 0x00010001, 00000000
HKR, %CAMERA_VIDEOPROCAMP%\Contrast,      AutoFg, 0x00010001, 00000002
HKR, %CAMERA_VIDEOPROCAMP%\Contrast,      AutoCb, 0x00010001, 00000002
HKR, %CAMERA_VIDEOPROCAMP%\Contrast,      MinVal, 0x00010001, 00000000
HKR, %CAMERA_VIDEOPROCAMP%\Contrast,      MaxVal, 0x00010001, 00000010
HKR, %CAMERA_VIDEOPROCAMP%\Contrast,      SDelta, 0x00010001, 00000001
HKR, %CAMERA_VIDEOPROCAMP%\Contrast,      Defaul, 0x00010001, 00000005
HKR, %CAMERA_VIDEOPROCAMP%\Contrast,      CurVal, 0x00010001, 00000005

; KSPROPERTY_VIDEOPROCAMP_HUE
HKR, %CAMERA_VIDEOPROCAMP%\Hue,           Enable, 0x00010001, 00000000
HKR, %CAMERA_VIDEOPROCAMP%\Hue,           AutoFg, 0x00010001, 00000002
HKR, %CAMERA_VIDEOPROCAMP%\Hue,           AutoCb, 0x00010001, 00000002
HKR, %CAMERA_VIDEOPROCAMP%\Hue,           MinVal, 0x00010001, 00000000
HKR, %CAMERA_VIDEOPROCAMP%\Hue,           MaxVal, 0x00010001, 00000010
HKR, %CAMERA_VIDEOPROCAMP%\Hue,           SDelta, 0x00010001, 00000001
HKR, %CAMERA_VIDEOPROCAMP%\Hue,           Defaul, 0x00010001, 00000005
HKR, %CAMERA_VIDEOPROCAMP%\Hue,           CurVal, 0x00010001, 00000005

; KSPROPERTY_VIDEOPROCAMP_SATURATION
HKR, %CAMERA_VIDEOPROCAMP%\Saturation,    Enable, 0x00010001, 00000001
HKR, %CAMERA_VIDEOPROCAMP%\Saturation,    AutoFg, 0x00010001, 00000002
HKR, %CAMERA_VIDEOPROCAMP%\Saturation,    AutoCb, 0x00010001, 00000002
HKR, %CAMERA_VIDEOPROCAMP%\Saturation,    MinVal, 0x00010001, 00000000
HKR, %CAMERA_VIDEOPROCAMP%\Saturation,    MaxVal, 0x00010001, 00000100
HKR, %CAMERA_VIDEOPROCAMP%\Saturation,    SDelta, 0x00010001, 00000010
HKR, %CAMERA_VIDEOPROCAMP%\Saturation,    Defaul, 0x00010001, 00000050
HKR, %CAMERA_VIDEOPROCAMP%\Saturation,    CurVal, 0x00010001, 00000050

; KSPROPERTY_VIDEOPROCAMP_SHARPNESS
HKR, %CAMERA_VIDEOPROCAMP%\Sharpness,     Enable, 0x00010001, 00000001
HKR, %CAMERA_VIDEOPROCAMP%\Sharpness,     AutoFg, 0x00010001, 00000002
HKR, %CAMERA_VIDEOPROCAMP%\Sharpness,     AutoCb, 0x00010001, 00000002
HKR, %CAMERA_VIDEOPROCAMP%\Sharpness,     MinVal, 0x00010001, 00000000
HKR, %CAMERA_VIDEOPROCAMP%\Sharpness,     MaxVal, 0x00010001, 00000100
HKR, %CAMERA_VIDEOPROCAMP%\Sharpness,     SDelta, 0x00010001, 00000010
HKR, %CAMERA_VIDEOPROCAMP%\Sharpness,     Defaul, 0x00010001, 00000050
HKR, %CAMERA_VIDEOPROCAMP%\Sharpness,     CurVal, 0x00010001, 00000050

; KSPROPERTY_VIDEOPROCAMP_GAMMA
HKR, %CAMERA_VIDEOPROCAMP%\Gamma,         Enable, 0x00010001, 00000001
HKR, %CAMERA_VIDEOPROCAMP%\Gamma,         AutoFg, 0x00010001, 00000002
HKR, %CAMERA_VIDEOPROCAMP%\Gamma,         AutoCb, 0x00010001, 00000002
HKR, %CAMERA_VIDEOPROCAMP%\Gamma,         MinVal, 0x00010001, 00000000
HKR, %CAMERA_VIDEOPROCAMP%\Gamma,         MaxVal, 0x00010001, 00000020
HKR, %CAMERA_VIDEOPROCAMP%\Gamma,         SDelta, 0x00010001, 00000001
HKR, %CAMERA_VIDEOPROCAMP%\Gamma,         Defaul, 0x00010001, 00000000
HKR, %CAMERA_VIDEOPROCAMP%\Gamma,         CurVal, 0x00010001, 00000000

; KSPROPERTY_VIDEOPROCAMP_COLORENABLE
HKR, %CAMERA_VIDEOPROCAMP%\ColorEnable,   Enable, 0x00010001, 00000000
HKR, %CAMERA_VIDEOPROCAMP%\ColorEnable,   AutoFg, 0x00010001, 00000002
HKR, %CAMERA_VIDEOPROCAMP%\ColorEnable,   AutoCb, 0x00010001, 00000002
HKR, %CAMERA_VIDEOPROCAMP%\ColorEnable,   MinVal, 0x00010001, 00000000
HKR, %CAMERA_VIDEOPROCAMP%\ColorEnable,   MaxVal, 0x00010001, 00000001
HKR, %CAMERA_VIDEOPROCAMP%\ColorEnable,   SDelta, 0x00010001, 00000001
HKR, %CAMERA_VIDEOPROCAMP%\ColorEnable,   Defaul, 0x00010001, 00000001
HKR, %CAMERA_VIDEOPROCAMP%\ColorEnable,   CurVal, 0x00010001, 00000001

; KSPROPERTY_VIDEOPROCAMP_WHITEBALANCE
HKR, %CAMERA_VIDEOPROCAMP%\WhiteBalance,  Enable, 0x00010001, 00000000
HKR, %CAMERA_VIDEOPROCAMP%\WhiteBalance,  AutoFg, 0x00010001, 00000002
HKR, %CAMERA_VIDEOPROCAMP%\WhiteBalance,  AutoCb, 0x00010001, 00000002
HKR, %CAMERA_VIDEOPROCAMP%\WhiteBalance,  MinVal, 0x00010001, 00000000
HKR, %CAMERA_VIDEOPROCAMP%\WhiteBalance,  MaxVal, 0x00010001, 00000010
HKR, %CAMERA_VIDEOPROCAMP%\WhiteBalance,  SDelta, 0x00010001, 00000001
HKR, %CAMERA_VIDEOPROCAMP%\WhiteBalance,  Defaul, 0x00010001, 00000005
HKR, %CAMERA_VIDEOPROCAMP%\WhiteBalance,  CurVal, 0x00010001, 00000005

; KSPROPERTY_VIDEOPROCAMP_BACKLIGHT_COMPENSATION
HKR, %CAMERA_VIDEOPROCAMP%\BackLightComp, Enable, 0x00010001, 00000001
HKR, %CAMERA_VIDEOPROCAMP%\BackLightComp, AutoFg, 0x00010001, 00000002
HKR, %CAMERA_VIDEOPROCAMP%\BackLightComp, AutoCb, 0x00010001, 00000002
HKR, %CAMERA_VIDEOPROCAMP%\BackLightComp, MinVal, 0x00010001, 00000000
HKR, %CAMERA_VIDEOPROCAMP%\BackLightComp, MaxVal, 0x00010001, 00000255
HKR, %CAMERA_VIDEOPROCAMP%\BackLightComp, SDelta, 0x00010001, 00000001
HKR, %CAMERA_VIDEOPROCAMP%\BackLightComp, Defaul, 0x00010001, 00000048
HKR, %CAMERA_VIDEOPROCAMP%\BackLightComp, CurVal, 0x00010001, 00000048

;*********************************************
; Default CameraControl setting
;*********************************************
; KSPROPERTY_CAMERACONTROL_PAN
HKR, %CAMERA_CAMERACONTRL%\Pan,           Enable, 0x00010001, 00000000
HKR, %CAMERA_CAMERACONTRL%\Pan,           AutoFg, 0x00010001, 00000002
HKR, %CAMERA_CAMERACONTRL%\Pan,           AutoCb, 0x00010001, 00000002
HKR, %CAMERA_CAMERACONTRL%\Pan,           MinVal, 0x00010001, 00000000
HKR, %CAMERA_CAMERACONTRL%\Pan,           MaxVal, 0x00010001, 00000010
HKR, %CAMERA_CAMERACONTRL%\Pan,           SDelta, 0x00010001, 00000001
HKR, %CAMERA_CAMERACONTRL%\Pan,           Defaul, 0x00010001, 00000005
HKR, %CAMERA_CAMERACONTRL%\Pan,           CurVal, 0x00010001, 00000005

; KSPROPERTY_CAMERACONTROL_TILT
HKR, %CAMERA_CAMERACONTRL%\Tilt,          Enable, 0x00010001, 00000000
HKR, %CAMERA_CAMERACONTRL%\Tilt,          AutoFg, 0x00010001, 00000002
HKR, %CAMERA_CAMERACONTRL%\Tilt,          AutoCb, 0x00010001, 00000002
HKR, %CAMERA_CAMERACONTRL%\Tilt,          MinVal, 0x00010001, 00000000
HKR, %CAMERA_CAMERACONTRL%\Tilt,          MaxVal, 0x00010001, 00000010
HKR, %CAMERA_CAMERACONTRL%\Tilt,          SDelta, 0x00010001, 00000001
HKR, %CAMERA_CAMERACONTRL%\Tilt,          Defaul, 0x00010001, 00000005
HKR, %CAMERA_CAMERACONTRL%\Tilt,          CurVal, 0x00010001, 00000005

; KSPROPERTY_CAMERACONTROL_ROLL
HKR, %CAMERA_CAMERACONTRL%\Roll,          Enable, 0x00010001, 00000000
HKR, %CAMERA_CAMERACONTRL%\Roll,          AutoFg, 0x00010001, 00000002
HKR, %CAMERA_CAMERACONTRL%\Roll,          AutoCb, 0x00010001, 00000002
HKR, %CAMERA_CAMERACONTRL%\Roll,          MinVal, 0x00010001, 00000000
HKR, %CAMERA_CAMERACONTRL%\Roll,          MaxVal, 0x00010001, 00000010
HKR, %CAMERA_CAMERACONTRL%\Roll,          SDelta, 0x00010001, 00000001
HKR, %CAMERA_CAMERACONTRL%\Roll,          Defaul, 0x00010001, 00000005
HKR, %CAMERA_CAMERACONTRL%\Roll,          CurVal, 0x00010001, 00000005

; KSPROPERTY_CAMERACONTROL_ZOOM
HKR, %CAMERA_CAMERACONTRL%\Zoom,          Enable, 0x00010001, 00000000
HKR, %CAMERA_CAMERACONTRL%\Zoom,          AutoFg, 0x00010001, 00000002
HKR, %CAMERA_CAMERACONTRL%\Zoom,          AutoCb, 0x00010001, 00000002
HKR, %CAMERA_CAMERACONTRL%\Zoom,          MinVal, 0x00010001, 00000000
HKR, %CAMERA_CAMERACONTRL%\Zoom,          MaxVal, 0x00010001, 00000010
HKR, %CAMERA_CAMERACONTRL%\Zoom,          SDelta, 0x00010001, 00000001
HKR, %CAMERA_CAMERACONTRL%\Zoom,          Defaul, 0x00010001, 00000005
HKR, %CAMERA_CAMERACONTRL%\Zoom,          CurVal, 0x00010001, 00000005

; KSPROPERTY_CAMERACONTROL_EXPOSURE
HKR, %CAMERA_CAMERACONTRL%\Exposure,      Enable, 0x00010001, 00000001
HKR, %CAMERA_CAMERACONTRL%\Exposure,      AutoFg, 0x00010001, 00000001
HKR, %CAMERA_CAMERACONTRL%\Exposure,      AutoCb, 0x00010001, 00000007
HKR, %CAMERA_CAMERACONTRL%\Exposure,      MinVal, 0x00010001, 00000000
HKR, %CAMERA_CAMERACONTRL%\Exposure,      MaxVal, 0x00010001, 00000100
HKR, %CAMERA_CAMERACONTRL%\Exposure,      SDelta, 0x00010001, 00000001
HKR, %CAMERA_CAMERACONTRL%\Exposure,      Defaul, 0x00010001, 00000050
HKR, %CAMERA_CAMERACONTRL%\Exposure,      CurVal, 0x00010001, 00000050

; KSPROPERTY_CAMERACONTROL_IRIS
HKR, %CAMERA_CAMERACONTRL%\Iris,          Enable, 0x00010001, 00000000
HKR, %CAMERA_CAMERACONTRL%\Iris,          AutoFg, 0x00010001, 00000002
HKR, %CAMERA_CAMERACONTRL%\Iris,          AutoCb, 0x00010001, 00000002
HKR, %CAMERA_CAMERACONTRL%\Iris,          MinVal, 0x00010001, 00000000
HKR, %CAMERA_CAMERACONTRL%\Iris,          MaxVal, 0x00010001, 00000010
HKR, %CAMERA_CAMERACONTRL%\Iris,          SDelta, 0x00010001, 00000001
HKR, %CAMERA_CAMERACONTRL%\Iris,          Defaul, 0x00010001, 00000005
HKR, %CAMERA_CAMERACONTRL%\Iris,          CurVal, 0x00010001, 00000005

; KSPROPERTY_CAMERACONTROL_FOCUS
HKR, %CAMERA_CAMERACONTRL%\Focus,         Enable, 0x00010001, 00000000
HKR, %CAMERA_CAMERACONTRL%\Focus,         AutoFg, 0x00010001, 00000002
HKR, %CAMERA_CAMERACONTRL%\Focus,         AutoCb, 0x00010001, 00000002
HKR, %CAMERA_CAMERACONTRL%\Focus,         MinVal, 0x00010001, 00000000
HKR, %CAMERA_CAMERACONTRL%\Focus,         MaxVal, 0x00010001, 00000010
HKR, %CAMERA_CAMERACONTRL%\Focus,         SDelta, 0x00010001, 00000001
HKR, %CAMERA_CAMERACONTRL%\Focus,         Defaul, 0x00010001, 00000005
HKR, %CAMERA_CAMERACONTRL%\Focus,         CurVal, 0x00010001, 00000005

;*********************************************
; Default CustomDefine setting
;*********************************************
; KSPROPERTY_CUSTOMDEFINE_SETTING0 (Environment)
HKR, %CAMERA_CUSTOMDEFINE%\Setting0,      Enable, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting0,      AutoFg, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting0,      AutoCb, 0x00010001, 00000003
HKR, %CAMERA_CUSTOMDEFINE%\Setting0,      MinVal, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting0,      MaxVal, 0x00010001, 00000003
HKR, %CAMERA_CUSTOMDEFINE%\Setting0,      SDelta, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting0,      Defaul, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting0,      CurVal, 0x00010001, 00000000

; KSPROPERTY_CUSTOMDEFINE_SETTING1 (Frequency)
HKR, %CAMERA_CUSTOMDEFINE%\Setting1,      Enable, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting1,      AutoFg, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting1,      AutoCb, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting1,      MinVal, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting1,      MaxVal, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting1,      SDelta, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting1,      Defaul, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting1,      CurVal, 0x00010001, 00000002

; KSPROPERTY_CUSTOMDEFINE_SETTING2 (Rotation)
HKR, %CAMERA_CUSTOMDEFINE%\Setting2,      Enable, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting2,      AutoFg, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting2,      AutoCb, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting2,      MinVal, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting2,      MaxVal, 0x00010001, 00000003
HKR, %CAMERA_CUSTOMDEFINE%\Setting2,      SDelta, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting2,      Defaul, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting2,      CurVal, 0x00010001, 00000000

; KSPROPERTY_CUSTOMDEFINE_SETTING3 (Extension)
HKR, %CAMERA_CUSTOMDEFINE%\Setting3,      Enable, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting3,      AutoFg, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting3,      AutoCb, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting3,      MinVal, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting3,      MaxVal, 0x00010001, 00000003
HKR, %CAMERA_CUSTOMDEFINE%\Setting3,      SDelta, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting3,      Defaul, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting3,      CurVal, 0x00010001, 00000000

; KSPROPERTY_CUSTOMDEFINE_SETTING4
HKR, %CAMERA_CUSTOMDEFINE%\Setting4,      Enable, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting4,      AutoFg, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting4,      AutoCb, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting4,      MinVal, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting4,      MaxVal, 0x00010001, 00001023
HKR, %CAMERA_CUSTOMDEFINE%\Setting4,      SDelta, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting4,      Defaul, 0x00010001, 00000256
HKR, %CAMERA_CUSTOMDEFINE%\Setting4,      CurVal, 0x00010001, 00000256

; KSPROPERTY_CUSTOMDEFINE_SETTING5
HKR, %CAMERA_CUSTOMDEFINE%\Setting5,      Enable, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting5,      AutoFg, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting5,      AutoCb, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting5,      MinVal, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting5,      MaxVal, 0x00010001, 00001023
HKR, %CAMERA_CUSTOMDEFINE%\Setting5,      SDelta, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting5,      Defaul, 0x00010001, 00000256
HKR, %CAMERA_CUSTOMDEFINE%\Setting5,      CurVal, 0x00010001, 00000256

; KSPROPERTY_CUSTOMDEFINE_SETTING6
HKR, %CAMERA_CUSTOMDEFINE%\Setting6,      Enable, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting6,      AutoFg, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting6,      AutoCb, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting6,      MinVal, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting6,      MaxVal, 0x00010001, 00001023
HKR, %CAMERA_CUSTOMDEFINE%\Setting6,      SDelta, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting6,      Defaul, 0x00010001, 00000256
HKR, %CAMERA_CUSTOMDEFINE%\Setting6,      CurVal, 0x00010001, 00000256

; KSPROPERTY_CUSTOMDEFINE_SETTING7
HKR, %CAMERA_CUSTOMDEFINE%\Setting7,      Enable, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting7,      AutoFg, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting7,      AutoCb, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting7,      MinVal, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting7,      MaxVal, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting7,      SDelta, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting7,      Defaul, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting7,      CurVal, 0x00010001, 00000000

; KSPROPERTY_CUSTOMDEFINE_SETTING8
HKR, %CAMERA_CUSTOMDEFINE%\Setting8,      Enable, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting8,      AutoFg, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting8,      AutoCb, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting8,      MinVal, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting8,      MaxVal, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting8,      SDelta, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting8,      Defaul, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting8,      CurVal, 0x00010001, 00000000

; KSPROPERTY_CUSTOMDEFINE_SETTING9
HKR, %CAMERA_CUSTOMDEFINE%\Setting9,      Enable, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting9,      AutoFg, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting9,      AutoCb, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting9,      MinVal, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting9,      MaxVal, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting9,      SDelta, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting9,      Defaul, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting9,      CurVal, 0x00010001, 00000001

; KSPROPERTY_CUSTOMDEFINE_SETTING10
HKR, %CAMERA_CUSTOMDEFINE%\Setting10,      Enable, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting10,      AutoFg, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting10,      AutoCb, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting10,      MinVal, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting10,      MaxVal, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting10,      SDelta, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting10,      Defaul, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting10,      CurVal, 0x00010001, 00000000

; KSPROPERTY_CUSTOMDEFINE_SETTING11
HKR, %CAMERA_CUSTOMDEFINE%\Setting11,      Enable, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting11,      AutoFg, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting11,      AutoCb, 0x00010001, 00000003
HKR, %CAMERA_CUSTOMDEFINE%\Setting11,      MinVal, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting11,      MaxVal, 0x00010001, 00000005
HKR, %CAMERA_CUSTOMDEFINE%\Setting11,      SDelta, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting11,      Defaul, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting11,      CurVal, 0x00010001, 00000000

; KSPROPERTY_CUSTOMDEFINE_SETTING12
HKR, %CAMERA_CUSTOMDEFINE%\Setting12,      Enable, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting12,      AutoFg, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting12,      AutoCb, 0x00010001, 00000007
HKR, %CAMERA_CUSTOMDEFINE%\Setting12,      MinVal, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting12,      MaxVal, 0x00010001, 00000511
HKR, %CAMERA_CUSTOMDEFINE%\Setting12,      SDelta, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting12,      Defaul, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting12,      CurVal, 0x00010001, 00000000

; KSPROPERTY_CUSTOMDEFINE_SETTING13
HKR, %CAMERA_CUSTOMDEFINE%\Setting13,      Enable, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting13,      AutoFg, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting13,      AutoCb, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting13,      MinVal, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting13,      MaxVal, 0x00010001, 2147450879
HKR, %CAMERA_CUSTOMDEFINE%\Setting13,      SDelta, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting13,      Defaul, 0x00010001, 07864480
HKR, %CAMERA_CUSTOMDEFINE%\Setting13,      CurVal, 0x00010001, 07864480

; KSPROPERTY_CUSTOMDEFINE_SETTING14
HKR, %CAMERA_CUSTOMDEFINE%\Setting14,      Enable, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting14,      AutoFg, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting14,      AutoCb, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting14,      MinVal, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting14,      MaxVal, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting14,      SDelta, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting14,      Defaul, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting14,      CurVal, 0x00010001, 00000000

; KSPROPERTY_CUSTOMDEFINE_SETTING15
HKR, %CAMERA_CUSTOMDEFINE%\Setting15,      Enable, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting15,      AutoFg, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting15,      AutoCb, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting15,      MinVal, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting15,      MaxVal, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting15,      SDelta, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting15,      Defaul, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting15,      CurVal, 0x00010001, 00000000

; KSPROPERTY_CUSTOMDEFINE_SETTING16
HKR, %CAMERA_CUSTOMDEFINE%\Setting16,      Enable, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting16,      AutoFg, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting16,      AutoCb, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting16,      MinVal, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting16,      MaxVal, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting16,      SDelta, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting16,      Defaul, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting16,      CurVal, 0x00010001, 00000000

; KSPROPERTY_CUSTOMDEFINE_SETTING17
HKR, %CAMERA_CUSTOMDEFINE%\Setting17,      Enable, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting17,      AutoFg, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting17,      AutoCb, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting17,      MinVal, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting17,      MaxVal, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting17,      SDelta, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting17,      Defaul, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting17,      CurVal, 0x00010001, 00000000

; KSPROPERTY_CUSTOMDEFINE_SETTING18
HKR, %CAMERA_CUSTOMDEFINE%\Setting18,      Enable, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting18,      AutoFg, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting18,      AutoCb, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting18,      MinVal, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting18,      MaxVal, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting18,      SDelta, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting18,      Defaul, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting18,      CurVal, 0x00010001, 00000000

; KSPROPERTY_CUSTOMDEFINE_SETTING19
HKR, %CAMERA_CUSTOMDEFINE%\Setting19,      Enable, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting19,      AutoFg, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting19,      AutoCb, 0x00010001, 00000002
HKR, %CAMERA_CUSTOMDEFINE%\Setting19,      MinVal, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting19,      MaxVal, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting19,      SDelta, 0x00010001, 00000001
HKR, %CAMERA_CUSTOMDEFINE%\Setting19,      Defaul, 0x00010001, 00000000
HKR, %CAMERA_CUSTOMDEFINE%\Setting19,      CurVal, 0x00010001, 00000000

;*********************************************
; Default MulFrameRate setting
;*********************************************
; High Speed (1280 * 1024)
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting0, DimenX, 0x00010001, 00001280
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting0, DimenY, 0x00010001, 00001024
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting0, FrSetp, 0x00000001, 01, 00, 0F, 00, 00, 00, 00, 00, 00, 00, 00, 00

; High Speed (1280 * 960)
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting1, DimenX, 0x00010001, 00001280
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting1, DimenY, 0x00010001, 00000960
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting1, FrSetp, 0x00000001, 01, 00, 0F, 00, 00, 00, 00, 00, 00, 00, 00, 00

; High Speed ( 640 * 480)
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting2, DimenX, 0x00010001, 00000640
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting2, DimenY, 0x00010001, 00000480
;HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting2, FrSetp, 0x00000001, 02, 00, 1E, 0F, 00, 00, 00, 00, 00, 00, 00, 00 
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting2, FrSetp, 0x00000001, 01, 00, 1E, 00, 00, 00, 00, 00, 00, 00, 00, 00 

; High Speed ( 352 * 288)
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting3, DimenX, 0x00010001, 00000352
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting3, DimenY, 0x00010001, 00000288
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting3, FrSetp, 0x00000001, 01, 00, 1E, 00, 00, 00, 00, 00, 00, 00, 00, 00 

; High Speed ( 320 * 240)
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting4, DimenX, 0x00010001, 00000320
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting4, DimenY, 0x00010001, 00000240
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting4, FrSetp, 0x00000001, 01, 00, 1E, 00, 00, 00, 00, 00, 00, 00, 00, 00 

; High Speed ( 176 * 144)
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting5, DimenX, 0x00010001, 00000176
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting5, DimenY, 0x00010001, 00000144
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting5, FrSetp, 0x00000001, 01, 00, 1E, 00, 00, 00, 00, 00, 00, 00, 00, 00 

; High Speed ( 160 * 120)
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting6, DimenX, 0x00010001, 00000160
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting6, DimenY, 0x00010001, 00000120
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting6, FrSetp, 0x00000001, 01, 00, 1E, 00, 00, 00, 00, 00, 00, 00, 00, 00 

; High Speed (Reserved)
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting7, DimenX, 0x00010001, 00000000
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting7, DimenY, 0x00010001, 00000000
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting7, FrSetp, 0x00000001, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00

; High Speed (Reserved)
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting8, DimenX, 0x00010001, 00000000
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting8, DimenY, 0x00010001, 00000000
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting8, FrSetp, 0x00000001, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00

; High Speed (Reserved)
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting9, DimenX, 0x00010001, 00000000
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting9, DimenY, 0x00010001, 00000000
HKR, %CAMERA_MULFRAMERATE%\HighSpeed\Setting9, FrSetp, 0x00000001, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00

; Full Speed (1280 * 1024)
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting0, DimenX, 0x00010001, 00001280
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting0, DimenY, 0x00010001, 00001024
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting0, FrSetp, 0x00000001, 01, 00, 0F, 00, 00, 00, 00, 00, 00, 00, 00, 00

; Full Speed (1280 * 960)
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting1, DimenX, 0x00010001, 00001280
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting1, DimenY, 0x00010001, 00000960
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting1, FrSetp, 0x00000001, 01, 00, 0F, 00, 00, 00, 00, 00, 00, 00, 00, 00

; Full Speed ( 640 * 480)
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting2, DimenX, 0x00010001, 00000640
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting2, DimenY, 0x00010001, 00000480
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting2, FrSetp, 0x00000001, 01, 00, 1E, 00, 00, 00, 00, 00, 00, 00, 00, 00

; Full Speed ( 352 * 288)
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting3, DimenX, 0x00010001, 00000352
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting3, DimenY, 0x00010001, 00000288
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting3, FrSetp, 0x00000001, 01, 00, 1E, 00, 00, 00, 00, 00, 00, 00, 00, 00

; Full Speed ( 320 * 240)
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting4, DimenX, 0x00010001, 00000320
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting4, DimenY, 0x00010001, 00000240
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting4, FrSetp, 0x00000001, 01, 00, 1E, 00, 00, 00, 00, 00, 00, 00, 00, 00

; Full Speed ( 176 * 144)
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting5, DimenX, 0x00010001, 00000176
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting5, DimenY, 0x00010001, 00000144
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting5, FrSetp, 0x00000001, 01, 00, 1E, 00, 00, 00, 00, 00, 00, 00, 00, 00

; Full Speed ( 160 * 120)
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting6, DimenX, 0x00010001, 00000160
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting6, DimenY, 0x00010001, 00000120
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting6, FrSetp, 0x00000001, 01, 00, 1E, 00, 00, 00, 00, 00, 00, 00, 00, 00

; Full Speed (Reserved)
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting7, DimenX, 0x00010001, 00000000
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting7, DimenY, 0x00010001, 00000000
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting7, FrSetp, 0x00000001, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00

; Full Speed (Reserved)
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting8, DimenX, 0x00010001, 00000000
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting8, DimenY, 0x00010001, 00000000
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting8, FrSetp, 0x00000001, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00

; Full Speed (Reserved)
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting9, DimenX, 0x00010001, 00000000
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting9, DimenY, 0x00010001, 00000000
HKR, %CAMERA_MULFRAMERATE%\FullSpeed\Setting9, FrSetp, 0x00000001, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00
	
;*********************************************
; Debug environment setting
;*********************************************
HKLM,%CAMERA_DEBUG_REGREPORT%
HKLM,%CAMERA_REGISTER_ADDR%   , GetSingleRegister, 0x00010001, 00000000
HKLM,%CAMERA_REGISTER_ADDR%   , SetSingleRegister, 0x00010001, 00000000
HKLM,%CAMERA_EEPROM_SETTING%  , Result           , 0x00010001, 00000000

[SensorRegSetting]
HKR,%SENSOR_REG_INDEX%,xbSensorType,		0x00010001,	65280	;0xFF00
HKR,%SENSOR_REG_INDEX%,xbSensorCtrl,		0x00010001,	65281	;0xFF01
HKR,%SENSOR_REG_INDEX%,xbPixNumL,		0x00010001,	65282	;0xFF02
HKR,%SENSOR_REG_INDEX%,xbPixNumH,		0x00010001,	65283	;0xFF03
HKR,%SENSOR_REG_INDEX%,xbLineNumL,		0x00010001,	65284	;0xFF04
HKR,%SENSOR_REG_INDEX%,xbLineNumH,		0x00010001,	65285	;0xFF05
HKR,%SENSOR_REG_INDEX%,xbWinSizeMSB1,		0x00010001,	65312	;0xFF20
HKR,%SENSOR_REG_INDEX%,xbWinSizeX1,		0x00010001,	65313	;0xFF21
HKR,%SENSOR_REG_INDEX%,xbWinSizeY1,		0x00010001,	65314	;0xFF22
HKR,%SENSOR_REG_INDEX%,xbWinSizeMSB2,		0x00010001,	65315	;0xFF23
HKR,%SENSOR_REG_INDEX%,xbWinSizeX2,		0x00010001,	65316	;0xFF24
HKR,%SENSOR_REG_INDEX%,xbWinSizeY2,		0x00010001,	65317	;0xFF25
HKR,%SENSOR_REG_INDEX%,xbBlockNum_H,		0x00010001,	65318	;0xFF26
HKR,%SENSOR_REG_INDEX%,xbBlockNum_V,		0x00010001,	65319	;0xFF27
HKR,%SENSOR_REG_INDEX%,xbColorEngineEnable,	0x00010001,	65320	;0xFF28
HKR,%SENSOR_REG_INDEX%,xbOB_Rvalue,		0x00010001,	65323	;0xFF2B
HKR,%SENSOR_REG_INDEX%,xbOB_G0value,		0x00010001,	65324	;0xFF2C
HKR,%SENSOR_REG_INDEX%,xbOB_G1value,		0x00010001,	65325	;0xFF2D
HKR,%SENSOR_REG_INDEX%,xbOB_Bvalue,		0x00010001,	65326	;0xFF2E
HKR,%SENSOR_REG_INDEX%,xbTestMux,		0x00010001,	65327	;0xFF2F
HKR,%SENSOR_REG_INDEX%,xbAWBRGainLSB,		0x00010001,	65330	;0xFF32
HKR,%SENSOR_REG_INDEX%,xbAWBG0GainLSB,		0x00010001,	65331	;0xFF33
HKR,%SENSOR_REG_INDEX%,xbAWBG1GainLSB,		0x00010001,	65332	;0xFF34
HKR,%SENSOR_REG_INDEX%,xbAWBBGainLSB,		0x00010001,	65333	;0xFF35
HKR,%SENSOR_REG_INDEX%,xbDownSampleEn,		0x00010001,	65341	;0xFF3D
HKR,%SENSOR_REG_INDEX%,xbDownSampleIncH,	0x00010001,	65342	;0xFF3E
HKR,%SENSOR_REG_INDEX%,xbDownSampleIncV,	0x00010001,	65343	;0xFF3F
HKR,%SENSOR_REG_INDEX%,xbCODECCtrl,		0x00010001,	65344	;0xFF40
HKR,%SENSOR_REG_INDEX%,xbRGBtoYCbcr,		0x00010001,	65353	;0xFF49
HKR,%SENSOR_REG_INDEX%,xbY_OffSet,		0x00010001,	65354	;0xFF4A
HKR,%SENSOR_REG_INDEX%,xbJpegByteCont,		0x00010001,	65355	;0xFF4B
HKR,%SENSOR_REG_INDEX%,xbYUVGain,		0x00010001,	65356	;0xFF4C
HKR,%SENSOR_REG_INDEX%,xbJPEGCtrl,		0x00010001,	65357	;0xFF4D
HKR,%SENSOR_REG_INDEX%,xbJPEGQFactor,		0x00010001,	65358	;0xFF4E
HKR,%SENSOR_REG_INDEX%,xbMcuClkCtrl,		0x00010001,	65360	;0xFF50
HKR,%SENSOR_REG_INDEX%,xbMcuClkDiv,		0x00010001,	65361	;0xFF51
HKR,%SENSOR_REG_INDEX%,xbSenClkCtrl,		0x00010001,	65362	;0xFF52
HKR,%SENSOR_REG_INDEX%,xbSenClkDiv,		0x00010001,	65363	;0xFF53
HKR,%SENSOR_REG_INDEX%,xbCprClkCtrl,		0x00010001,	65364	;0xFF54
HKR,%SENSOR_REG_INDEX%,xbCprClkDiv,		0x00010001,	65365	;0xFF55
HKR,%SENSOR_REG_INDEX%,xbJpgClkCtrl,		0x00010001,	65366	;0xFF56
HKR,%SENSOR_REG_INDEX%,xbJpgClkDiv,		0x00010001,	65367	;0xFF57
HKR,%SENSOR_REG_INDEX%,xbEPAFCTR,		0x00010001,	65383	;0xFF67
HKR,%SENSOR_REG_INDEX%,xbGpioCtrl0,		0x00010001,	65414	;0xFF86
HKR,%SENSOR_REG_INDEX%,xbGpioaEn,		0x00010001,	65428	;0xFF94
HKR,%SENSOR_REG_INDEX%,xbGpioaDatEn,		0x00010001,	65429	;0xFF95
HKR,%SENSOR_REG_INDEX%,xbGpiobDatH,		0x00010001,	65430	;0xFF96
HKR,%SENSOR_REG_INDEX%,xbGpiobDatL,		0x00010001,	65431	;0xFF97
HKR,%SENSOR_REG_INDEX%,xbGpiobDirH,		0x00010001,	65432	;0xFF98
HKR,%SENSOR_REG_INDEX%,xbGpiobDirL,		0x00010001,	65433	;0xFF99
HKR,%SENSOR_REG_INDEX%,xbGpiobIeH,		0x00010001,	65438	;0xFF9E
HKR,%SENSOR_REG_INDEX%,xbGpiobIeL,		0x00010001,	65439	;0xFF9F
HKR,%SENSOR_REG_INDEX%,xbUVCMode,		0x00010001,	37015	;0x9097
HKR,%SENSOR_REG_INDEX%,xbAP_ON,			0x00010001,	37259	;0x918B

[CamM5607.Sensor]
S30H0330.csr
S30F0330.csr

[CamM5607.DLCode]

[CamM5607.CopyDriversNT]
BisonC07.sys

[CamM5607.System.CopyList]
BisonC07.dll
BisonV07.dll

[CamM5607.TwainIni.CopyList]
M2000T07.ini
M2000T07.src

[CamM5607.TwainDriver.CopyList]
M2000T07.dll
BisonC07.ds

[CamM5607.AP.CopyFiles]
LiveCa07.exe
BisonM07.exe

[CamM5607.Uninstall.CopyList]
BisonR07.dll

[FileCpy.Stisvc]
StillDrv.dll,,,16

[CamM5607.Device.NT.Services]
AddService=Cam5607,0x00000002,CamM5607.ServiceInstall

[CamM5607.ServiceInstall]
DisplayName   = %CamM5607.DeviceDesc%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %10%\System32\Drivers\BisonC07.sys

[CamM5607.Device.NT.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,GLOBAL,CamM5607.VideoCapture

[CamM5607.VideoCapture]
AddReg=CamM5607.VideoCapture.AddReg

[CamM5607.VideoCapture.AddReg]
HKR,,CLSID,,%ProxyVCap.CLSID%
HKR,,FriendlyName,,%CamM5607.DeviceDesc%
HKR,,ExtensionDLL,,%CamM5607.ExtensionDLL%

[Strings]
;----------------
; Non-Localizable
;----------------
ProxyVCap.CLSID = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_CAPTURE = "{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
; note: only register value is case sensitive, key is not.
SERVICE_KERNEL_DRIVER=1
; PnP should use demand start
SERVICE_DEMAND_START=3
SERVICE_ERROR_NORMAL=1
;----------------
; Localizable
;----------------
DISK_NAME              = "BisonCam, Disk"
VENDOR                 = "Bison"
Mfg    	               = "Bison"
CamM5607.DeviceId      = "VID_5986&PID_0200"
CamM5607.DeviceDesc    = "Acer OrbiCam"
CamM5607.ExtensionDLL  = "BisonV07.dll"
CAMERA_VIDEOFORMAT     = "Settings\VideoFormat"
CAMERA_VIDEOPROCAMP    = "Settings\VideoProcAmp"
CAMERA_CAMERACONTRL    = "Settings\CameraContrl"
CAMERA_CUSTOMDEFINE    = "Settings\CustomDefine"
CAMERA_MULFRAMERATE    = "Settings\MulFrameRate"
CAMERA_ENV_REGISTRY    = "Software\WebCam\M3000"
CAMERA_DEBUG_REGREPORT = "Software\WebCam\M3000\Debug\RegReport"
CAMERA_REGISTER_ADDR   = "Software\WebCam\M3000\Debug\RegisterAddr"
CAMERA_EEPROM_SETTING  = "Software\WebCam\M3000\Debug\EEPROM"
SENSOR_REG_INDEX       = "SensorSetting"
InstallShiled.GUID     = "{4BB1DCED-84D3-47F9-B718-5947E904593E}"
CAMERA_FILEPATH_APP    = "Twain_32\BisonC07"