;------------------------------------------------------------------------
;
;   Copyright and Disclaimer:
;
;       ---------------------------------------------------------------
;       This software is provided "as is" without warranty of any kind,
;       either expressed or implied, including but not limited to the
;       implied warranties of merchantability and/or fitness for a
;       particular purpose.
;
;       Copyright (c) 2008 Genesys Logic, Inc.
;       All Rights Reserved.
;       ---------------------------------------------------------------
;
;   USBGENE.INF  -- This file contains installation information 
;   for Genesys Logic USB2.0 PC-Camera
;
;------------------------------------------------------------------------
[Version]
signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider="Genesys"
DriverVer=07/16/2008, 1.8.7.16
CatalogFile=usbgene.cat

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

[Manufacturer]
"Genesys"=Genesys
;"Genesys"=Genesys,NTamd64

[SourceDisksNames]
1=%DiskName%,,

[SourceDisksFiles]
;UsbCamD2.sys=1
USBGENE.sys=1
MI2020S.SET=1
USBGENE0.sys=1
USBGENE1.sys=1
USBGENE2.sys=1
USBGENE3.sys=1
glwdm.ax=1
glspef.ax=1
twain.ini=1;, .\twain
twainds.ds=1;, .\twain
twainui.dll=1;, .\twain
;GenePccMon.exe=1;, .\AP
;GenesysCAP.dll=1;, .\AP
;Loader.exe=1;, .\AP

[DestinationDirs]
Genesys.USBDCam.Files.Ext=10, System32\Drivers
Genesys.USBDCam.Files.Sys=11
Genesys.USBDCam.Files.Twain=10, twain_32\GLtwain
;Genesys.USBDCam.Files.AP=16422, Genesys Logic PC Camera Device

[Genesys]
;[Genesys.NTamd64]
%USBDCam.DeviceDesc%=Genesys.USBDCam, USB\VID_05E3&PID_0503
%USBDCam.DeviceDesc%=Genesys.USBDCam, USB\VID_05E3&PID_F191
%USBDCam.DeviceDesc%=Genesys.USBDCam, USB\VID_05E3&PID_F192
%USBDCam.DeviceDesc%=Genesys.USBDCam, USB\VID_05E3&PID_0505&MI_00
%USBDCam.DeviceDesc%=Genesys.USBDCam, USB\VID_05E3&PID_0507&MI_00
%USBDCam.DeviceDesc%=Genesys.USBDCam, USB\VID_05E3&PID_F191&MI_00
%USBDCam.DeviceDesc%=Genesys.USBDCam, USB\VID_05E3&PID_F192&MI_00

[Genesys.USBDCam]
Include=ks.inf, kscaptur.inf, ksfilter.inf
Needs=KS.Registration, KSCAPTUR.Registration
AddReg=Genesys.USBDCam.AddReg, Genesys.USBCam.SensorDetect.AddReg
AddReg=Genesys.USBCam.MI2020.InitialSetting.AddReg, Genesys.USBCam.MI2020.PropertySetting.AddReg
CopyFiles=Genesys.USBDCam.Files.Ext, Genesys.USBDCam.Files.Sys, Genesys.USBDCam.Files.Twain;, Genesys.USBDCam.Files.AP
;AddReg=Genesys.USBDCam.AP.AddReg
SubClass=StillImage
;DeviceType= 0 default, 1 scanner, 2 camera, 3 streaming video
DeviceType=3
DeviceSubType=0
Capabilities=0x31
Events=Genesys.Events
DeviceData=Genesys.DeviceData
ICMProfiles="sRGB Color Space Profile.icm" 

[Genesys.USBDCam.NT]
Include=ks.inf, kscaptur.inf, ksfilter.inf, dshowext.inf
Needs=KS.Registration, KSCAPTUR.Registration.NT, DSHOWEXT.Registration
AddReg=Genesys.USBDCam.AddReg, Genesys.USBCam.SensorDetect.AddReg
AddReg=Genesys.USBCam.MI2020.InitialSetting.AddReg, Genesys.USBCam.MI2020.PropertySetting.AddReg
CopyFiles=Genesys.USBDCam.Files.Ext, Genesys.USBDCam.Files.Sys, Genesys.USBDCam.Files.Twain;, Genesys.USBDCam.Files.AP
;AddReg=Genesys.USBDCam.AP.AddReg
SubClass=StillImage
;DeviceType= 0 default, 1 scanner, 2 camera, 3 streaming video
DeviceType=3
DeviceSubType=0
Capabilities=0x31
Events=Genesys.Events
DeviceData=Genesys.DeviceData
ICMProfiles="sRGB Color Space Profile.icm" 

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

[Genesys.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="Genesys Logic USB2.0 PC Camera"
Server=local
UI DLL=sti.dll
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}

[Genesys.USBDCam.AddReg]

HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbgene.sys
HKR,,DontSuspendIfStreamsAreRunning,3,01
HKR,,CreateFileName,,"AUTO"
HKR,,PageOutWhenUnopened,3,00
HKR,,NBSelectiveSuspend,3,00
HKR,,HardwareConfig,1,1
HKR,,USDClass,,"{0527d1d0-88c2-11d2-82c7-00c04f8ec183}"
HKR,,StillPin,0x0010001, 0x00000002
HKR,,SelSuspend,0x0010001, 0x01C9C380
HKR,,ForceHighSpeed,0x0010001, 0x00000000
HKR,,DeadPixelRGB24,0x0010001, 0x00000000
HKR,,DeadPixelYUYV,0x0010001, 0x00000000
HKR,,BlackBodyDarkRGB24,0x0010001, 0x00000000
HKR,,BlackBodyDarkYUYV,0x0010001, 0x00000000
HKR,,InvertImage,0x0010001, 0x00000003
HKR,,InvertFrameNumber,0x0010001, 0x00000002
HKR,,ScriptFrameNumber,0x0010001, 0x00000200
HKR,,PollingShutterKey,0x0010001, 0x00000000
HKR,,InitAlternateSetting,0x0010001, 0x00000000
HKR,,EngineerMode,0x0010001, 0x00000001
HKR,,B012ScriptMode,0x0010001, 0x00000000
HKR,,PowerIrpMode,0x0010001, 0x00000003
HKR,"AutoFocusSetting","Enabled",0x0010001, 0x00000000

; Following key is used to add customized / special effect property page into AMCAP
; ICustomCameraProp
HKCR,CLSID\{03022B43-4DA0-47C3-B77E-7D0C6463ECE7},,,%CustomCameraProp%
HKCR,CLSID\{03022B43-4DA0-47C3-B77E-7D0C6463ECE7}\InprocServer32,,,glwdm.ax
HKCR,CLSID\{03022B43-4DA0-47C3-B77E-7D0C6463ECE7}\InprocServer32,ThreadingModel,,Both
;; This IID is aggregated for the filter given the CLSID of the property set
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{03022B43-4DA0-47C3-B77E-7D0C6463ECE7},,,%CustomCameraProp%
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{03022B43-4DA0-47C3-B77E-7D0C6463ECE7},IID,1,43,2B,02,03, A0,4D ,C3,47, B7,7E,7D,0C,64,63,EC,E7

;; CustomCamera Property Page
HKCR,CLSID\{53CAA1A4-D333-43aa-A868-E796DF48AAD0},,,%PropPage_CustomCameraProp%
HKCR,CLSID\{53CAA1A4-D333-43aa-A868-E796DF48AAD0}\InprocServer32,,,glwdm.ax
HKCR,CLSID\{53CAA1A4-D333-43aa-A868-E796DF48AAD0}\InprocServer32,ThreadingModel,,Both
;; Associate the property set with the above property page
HKLM,System\CurrentControlSet\Control\MediaSets\{03022B43-4DA0-47C3-B77E-7D0C6463ECE7}\PropertyPages\{53CAA1A4-D333-43aa-A868-E796DF48AAD0},,,%PropPage_CustomCameraProp%

; ISPEFCameraProp
HKCR,CLSID\{03022B43-4DA0-47C3-B77E-7D0C6463ECE8},,,%SPEFCameraProp%
HKCR,CLSID\{03022B43-4DA0-47C3-B77E-7D0C6463ECE8}\InprocServer32,,,glspef.ax
HKCR,CLSID\{03022B43-4DA0-47C3-B77E-7D0C6463ECE8}\InprocServer32,ThreadingModel,,Both
;; This IID is aggregated for the filter given the CLSID of the property set
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{03022B43-4DA0-47C3-B77E-7D0C6463ECE8},,,%SPEFCameraProp%
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{03022B43-4DA0-47C3-B77E-7D0C6463ECE8},IID,1,43,2B,02,03, A0,4D ,C3,47, B7,7E,7D,0C,64,63,EC,E8

;; SPEFCamera Property Page
HKCR,CLSID\{53CAA1A4-D333-43aa-A868-E796DF48AAD1},,,%PropPage_SPEFCameraProp%
HKCR,CLSID\{53CAA1A4-D333-43aa-A868-E796DF48AAD1}\InprocServer32,,,glspef.ax
HKCR,CLSID\{53CAA1A4-D333-43aa-A868-E796DF48AAD1}\InprocServer32,ThreadingModel,,Both
;; Associate the property set with the above property page
HKLM,System\CurrentControlSet\Control\MediaSets\{03022B43-4DA0-47C3-B77E-7D0C6463ECE8}\PropertyPages\{53CAA1A4-D333-43aa-A868-E796DF48AAD1},,,%PropPage_SPEFCameraProp%

[Genesys.USBCam.SensorDetect.AddReg]

HKR,"SensorDetect","NumOfSensor",0x0010001, 0x00000001

HKR,"SensorDetect\Sensor00","I2CAddr",0x0010001, 0x0000007A
HKR,"SensorDetect\Sensor00","InitDelay",0x0010001, 0x00000000
HKR,"SensorDetect\Sensor00","ReadDelay",0x0010001, 0x00001388
HKR,"SensorDetect\Sensor00","IDLength",0x0010001, 0x00000000
HKR,"SensorDetect\Sensor00","SensorName",0x0010000, MI2020
HKR,"SensorDetect\Sensor00\00","Address",0x0010001, 0x00000030
HKR,"SensorDetect\Sensor00\00","Data",0x0010001, 0x00000000
HKR,"SensorDetect\Sensor00\01","Address",0x0010001, 0x00000031
HKR,"SensorDetect\Sensor00\01","Data",0x0010001, 0x00000000
HKR,"SensorDetect\Sensor00\02","Address",0x0010001, 0x00000032
HKR,"SensorDetect\Sensor00\02","Data",0x0010001, 0x00000000
HKR,"SensorDetect\Sensor00\03","Address",0x0010001, 0x00000033
HKR,"SensorDetect\Sensor00\03","Data",0x0010001, 0x00000000
HKR,"SensorDetect\Sensor00\04","Address",0x0010001, 0x00000030
HKR,"SensorDetect\Sensor00\04","Data",0x0010001, 0x00000000
HKR,"SensorDetect\Sensor00\05","Address",0x0010001, 0x00000031
HKR,"SensorDetect\Sensor00\05","Data",0x0010001, 0x00000004
HKR,"SensorDetect\Sensor00\06","Address",0x0010001, 0x00000032
HKR,"SensorDetect\Sensor00\06","Data",0x0010001, 0x00000004
HKR,"SensorDetect\Sensor00\07","Address",0x0010001, 0x00000033
HKR,"SensorDetect\Sensor00\07","Data",0x0010001, 0x00000000
HKR,"SensorDetect\Sensor00\InitGL860","NumOfReg",0x0010001, 0x00000002
HKR,"SensorDetect\Sensor00\InitGL860\00","Address",0x0010001, 0x00000000
HKR,"SensorDetect\Sensor00\InitGL860\00","Data",0x0010001, 0x00000040
HKR,"SensorDetect\Sensor00\InitGL860\01","Address",0x0010001, 0x00000006
HKR,"SensorDetect\Sensor00\InitGL860\01","Data",0x0010001, 0x00000063

[Genesys.USBCam.MI2020.InitialSetting.AddReg]

HKR,"MI2020\InitialSetting","Script",0x0010000, %12%\MI2020S.SET
HKR,"MI2020\InitialSetting","SeparateCtrl",0x0010001, 0x00000001

HKR,"MI2020\InitialSetting\FullSpeed\RGB24\160","Enabled",0x0010001, 0x00000002
HKR,"MI2020\InitialSetting\FullSpeed\RGB24\160","AlternateSetting",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\FullSpeed\RGB24\160","ControlMethod",0x0010001, 0x00000101
HKR,"MI2020\InitialSetting\FullSpeed\RGB24\160","FrameRate",0x0010001, 0x0000001E

HKR,"MI2020\InitialSetting\FullSpeed\RGB24\320","Enabled",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\FullSpeed\RGB24\320","AlternateSetting",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\FullSpeed\RGB24\320","ControlMethod",0x0010001, 0x00000103
HKR,"MI2020\InitialSetting\FullSpeed\RGB24\320","FrameRate",0x0010001, 0x0000001E

HKR,"MI2020\InitialSetting\FullSpeed\YUYV\160","Enabled",0x0010001, 0x00000003
HKR,"MI2020\InitialSetting\FullSpeed\YUYV\160","AlternateSetting",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\FullSpeed\YUYV\160","ControlMethod",0x0010001, 0x00000101
HKR,"MI2020\InitialSetting\FullSpeed\YUYV\160","FrameRate",0x0010001, 0x0000001E
                                     
HKR,"MI2020\InitialSetting\FullSpeed\YUYV\320","Enabled",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\FullSpeed\YUYV\320","AlternateSetting",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\FullSpeed\YUYV\320","ControlMethod",0x0010001, 0x00000103
HKR,"MI2020\InitialSetting\FullSpeed\YUYV\320","FrameRate",0x0010001, 0x0000001E

HKR,"MI2020\InitialSetting\FullSpeed\I420\160","Enabled",0x0010001, 0x00000002
HKR,"MI2020\InitialSetting\FullSpeed\I420\160","AlternateSetting",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\FullSpeed\I420\160","ControlMethod",0x0010001, 0x00000101
HKR,"MI2020\InitialSetting\FullSpeed\I420\160","FrameRate",0x0010001, 0x0000001E
                                     
HKR,"MI2020\InitialSetting\FullSpeed\I420\320","Enabled",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\FullSpeed\I420\320","AlternateSetting",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\FullSpeed\I420\320","ControlMethod",0x0010001, 0x00000103
HKR,"MI2020\InitialSetting\FullSpeed\I420\320","FrameRate",0x0010001, 0x0000001E

HKR,"MI2020\InitialSetting\HighSpeed\RGB24\160","Enabled",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\RGB24\160","AlternateSetting",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\RGB24\160","ControlMethod",0x0010001, 0x00000004
HKR,"MI2020\InitialSetting\HighSpeed\RGB24\160","FrameRate",0x0010001, 0x0000001E

HKR,"MI2020\InitialSetting\HighSpeed\RGB24\176","Enabled",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\RGB24\176","AlternateSetting",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\RGB24\176","ControlMethod",0x0010001, 0x00000004
HKR,"MI2020\InitialSetting\HighSpeed\RGB24\176","FrameRate",0x0010001, 0x0000001E

HKR,"MI2020\InitialSetting\HighSpeed\RGB24\320","Enabled",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\RGB24\320","AlternateSetting",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\RGB24\320","ControlMethod",0x0010001, 0x00000002
HKR,"MI2020\InitialSetting\HighSpeed\RGB24\320","FrameRate",0x0010001, 0x0000001E

HKR,"MI2020\InitialSetting\HighSpeed\RGB24\352","Enabled",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\RGB24\352","AlternateSetting",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\RGB24\352","ControlMethod",0x0010001, 0x00000002
HKR,"MI2020\InitialSetting\HighSpeed\RGB24\352","FrameRate",0x0010001, 0x0000001E

HKR,"MI2020\InitialSetting\HighSpeed\RGB24\640","Enabled",0x0010001, 0x00000002
HKR,"MI2020\InitialSetting\HighSpeed\RGB24\640","AlternateSetting",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\RGB24\640","ControlMethod",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\RGB24\640","FrameRate",0x0010001, 0x0000001E

HKR,"MI2020\InitialSetting\HighSpeed\YUYV\160","Enabled",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\YUYV\160","AlternateSetting",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\YUYV\160","ControlMethod",0x0010001, 0x00000104
HKR,"MI2020\InitialSetting\HighSpeed\YUYV\160","FrameRate",0x0010001, 0x0000001E

HKR,"MI2020\InitialSetting\HighSpeed\YUYV\176","Enabled",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\YUYV\176","AlternateSetting",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\YUYV\176","ControlMethod",0x0010001, 0x00000104
HKR,"MI2020\InitialSetting\HighSpeed\YUYV\176","FrameRate",0x0010001, 0x0000001E

HKR,"MI2020\InitialSetting\HighSpeed\YUYV\320","Enabled",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\YUYV\320","AlternateSetting",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\YUYV\320","ControlMethod",0x0010001, 0x00000102
HKR,"MI2020\InitialSetting\HighSpeed\YUYV\320","FrameRate",0x0010001, 0x0000001E

HKR,"MI2020\InitialSetting\HighSpeed\YUYV\352","Enabled",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\YUYV\352","AlternateSetting",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\YUYV\352","ControlMethod",0x0010001, 0x00000102
HKR,"MI2020\InitialSetting\HighSpeed\YUYV\352","FrameRate",0x0010001, 0x0000001E

HKR,"MI2020\InitialSetting\HighSpeed\YUYV\640","Enabled",0x0010001, 0x00000003
HKR,"MI2020\InitialSetting\HighSpeed\YUYV\640","AlternateSetting",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\YUYV\640","ControlMethod",0x0010001, 0x00000101
HKR,"MI2020\InitialSetting\HighSpeed\YUYV\640","FrameRate",0x0010001, 0x0000001E

HKR,"MI2020\InitialSetting\HighSpeed\YUYV\800","Enabled",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\YUYV\800","AlternateSetting",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\YUYV\800","ControlMethod",0x0010001, 0x00000101
HKR,"MI2020\InitialSetting\HighSpeed\YUYV\800","FrameRate",0x0010001, 0x0000001E

HKR,"MI2020\InitialSetting\HighSpeed\YUYV\1280","Enabled",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\YUYV\1280","AlternateSetting",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\YUYV\1280","ControlMethod",0x0010001, 0x00000101
HKR,"MI2020\InitialSetting\HighSpeed\YUYV\1280","FrameRate",0x0010001, 0x0000001E

HKR,"MI2020\InitialSetting\HighSpeed\YUYV\1600","Enabled",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\YUYV\1600","AlternateSetting",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\YUYV\1600","ControlMethod",0x0010001, 0x00000101
HKR,"MI2020\InitialSetting\HighSpeed\YUYV\1600","FrameRate",0x0010001, 0x0000001E

HKR,"MI2020\InitialSetting\HighSpeed\I420\160","Enabled",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\I420\160","AlternateSetting",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\I420\160","ControlMethod",0x0010001, 0x00000104
HKR,"MI2020\InitialSetting\HighSpeed\I420\160","FrameRate",0x0010001, 0x0000001E

HKR,"MI2020\InitialSetting\HighSpeed\I420\176","Enabled",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\I420\176","AlternateSetting",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\I420\176","ControlMethod",0x0010001, 0x00000104
HKR,"MI2020\InitialSetting\HighSpeed\I420\176","FrameRate",0x0010001, 0x0000001E

HKR,"MI2020\InitialSetting\HighSpeed\I420\320","Enabled",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\I420\320","AlternateSetting",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\I420\320","ControlMethod",0x0010001, 0x00000102
HKR,"MI2020\InitialSetting\HighSpeed\I420\320","FrameRate",0x0010001, 0x0000001E

HKR,"MI2020\InitialSetting\HighSpeed\I420\352","Enabled",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\I420\352","AlternateSetting",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\I420\352","ControlMethod",0x0010001, 0x00000102
HKR,"MI2020\InitialSetting\HighSpeed\I420\352","FrameRate",0x0010001, 0x0000001E

HKR,"MI2020\InitialSetting\HighSpeed\I420\640","Enabled",0x0010001, 0x00000002
HKR,"MI2020\InitialSetting\HighSpeed\I420\640","AlternateSetting",0x0010001, 0x00000001
HKR,"MI2020\InitialSetting\HighSpeed\I420\640","ControlMethod",0x0010001, 0x00000101
HKR,"MI2020\InitialSetting\HighSpeed\I420\640","FrameRate",0x0010001, 0x0000001E

[Genesys.USBCam.MI2020.PropertySetting.AddReg]

HKR,"MI2020\PropertySetting","I2CAddr",0x0010001, 0x0000007a
HKR,"MI2020\PropertySetting","RegisterAddrLo",0x0010001, 0x000000f1
HKR,"MI2020\PropertySetting","ISPType",0x0010001, 0x00000003
HKR,"MI2020\PageSetting","Default_AFType",0x0010001, 0x00000000
HKR,"MI2020","AutoFocusEnable",0x0010001, 0x00000000
HKR,"MI2020\PageSetting","Default_MPDriver",0x0010001, 0x00000001
;HKR,"MI2020","Flicker_50HZ",0x0010001, 0x00000001
;HKR,"MI2020\PageSetting","Default_Flicker",0x0010001, 0x00000001
;HKR,"AutoFocusSetting","Enabled",0x0010001, 0x00000001
;HKR,"AutoFocusSetting","Method",0x0010001, 0x00000002

HKR,"MI2020\PropertySetting\Brightness","Enabled",0x0010001, 0x00000001
HKR,"MI2020\PropertySetting\Brightness","DefaultValue",0x0010001, 0x00000046
HKR,"MI2020\PropertySetting\Brightness","CurrentValue",0x0010001, 0x00000046
HKR,"MI2020\PropertySetting\Brightness","AutoEnabled",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\Brightness","CurrentFlag",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\Brightness","ControlMethod",0x0010001, 0x00000003
HKR,"MI2020\PropertySetting\Brightness","LogiMinimum",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\Brightness","LogiMaximum",0x0010001, 0x00000080

HKR,"MI2020\PropertySetting\Contrast","Enabled",0x0010001, 0x00000001
HKR,"MI2020\PropertySetting\Contrast","DefaultValue",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\Contrast","CurrentValue",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\Contrast","AutoEnabled",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\Contrast","CurrentFlag",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\Contrast","ControlMethod",0x0010001, 0x00000003
HKR,"MI2020\PropertySetting\Contrast","LogiMinimum",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\Contrast","LogiMaximum",0x0010001, 0x00000003

HKR,"MI2020\PropertySetting\Saturation","Enabled",0x0010001, 0x00000001
HKR,"MI2020\PropertySetting\Saturation","DefaultValue",0x0010001, 0x0000003C
HKR,"MI2020\PropertySetting\Saturation","CurrentValue",0x0010001, 0x0000003C
HKR,"MI2020\PropertySetting\Saturation","AutoEnabled",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\Saturation","CurrentFlag",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\Saturation","ControlMethod",0x0010001, 0x00000003
HKR,"MI2020\PropertySetting\Saturation","LogiMinimum",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\Saturation","LogiMaximum",0x0010001, 0x00000064

HKR,"MI2020\PropertySetting\Gamma","Enabled",0x0010001, 0x00000001
HKR,"MI2020\PropertySetting\Gamma","DefaultValue",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\Gamma","CurrentValue",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\Gamma","AutoEnabled",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\Gamma","CurrentFlag",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\Gamma","ControlMethod",0x0010001, 0x00000003
HKR,"MI2020\PropertySetting\Gamma","LogiMinimum",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\Gamma","LogiMaximum",0x0010001, 0x00000002

HKR,"MI2020\PropertySetting\WhiteBalance","Enabled",0x0010001, 0x00000001
HKR,"MI2020\PropertySetting\WhiteBalance","DefaultValue",0x0010001, 0x00000032
HKR,"MI2020\PropertySetting\WhiteBalance","CurrentValue",0x0010001, 0x00000032
HKR,"MI2020\PropertySetting\WhiteBalance","AutoEnabled",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\WhiteBalance","CurrentFlag",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\WhiteBalance","ControlMethod",0x0010001, 0x00000003
HKR,"MI2020\PropertySetting\WhiteBalance","LogiMinimum",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\WhiteBalance","LogiMaximum",0x0010001, 0x00000064

HKR,"MI2020\PropertySetting\Hue","Enabled",0x0010001, 0x00000001
HKR,"MI2020\PropertySetting\Hue","DefaultValue",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\Hue","CurrentValue",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\Hue","AutoEnabled",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\Hue","CurrentFlag",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\Hue","ControlMethod",0x0010001, 0x00000003
HKR,"MI2020\PropertySetting\Hue","LogiMinimum",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\Hue","LogiMaximum",0x0010001, 0x000000C8

HKR,"MI2020\PropertySetting\Sharpness","Enabled",0x0010001, 0x00000001
HKR,"MI2020\PropertySetting\Sharpness","DefaultValue",0x0010001, 0x00000014
HKR,"MI2020\PropertySetting\Sharpness","CurrentValue",0x0010001, 0x00000014
HKR,"MI2020\PropertySetting\Sharpness","AutoEnabled",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\Sharpness","CurrentFlag",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\Sharpness","ControlMethod",0x0010001, 0x00000003
HKR,"MI2020\PropertySetting\Sharpness","LogiMinimum",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\Sharpness","LogiMaximum",0x0010001, 0x00000028

HKR,"MI2020\PropertySetting\BackLight","Enabled",0x0010001, 0x00000001
HKR,"MI2020\PropertySetting\BackLight","DefaultValue",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\BackLight","CurrentValue",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\BackLight","AutoEnabled",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\BackLight","CurrentFlag",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\BackLight","ControlMethod",0x0010001, 0x00000003
HKR,"MI2020\PropertySetting\BackLight","LogiMinimum",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\BackLight","LogiMaximum",0x0010001, 0x00000040

HKR,"MI2020\PropertySetting\Gain","Enabled",0x0010001, 0x00000000
HKR,"MI2020\PropertySetting\ColorEnable","Enabled",0x0010001, 0x00000000

[Genesys.USBDCam.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,GLOBAL,Genesys.USBDCam.Interface

[Genesys.USBDCam.NT.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,GLOBAL,Genesys.USBDCam.Interface

[Genesys.USBDCam.Interface]
AddReg=Genesys.USBDCam.Intf.AddReg

[Genesys.USBDCam.Intf.AddReg]
HKR,,CLSID,,%ProxyVCap.CLSID%
HKR,,FriendlyName,,%USBDCam.DeviceDesc%
;HKR,PinFactory\1\Interfaces\{5BB95400-52BB-11d2-BA41-00A0C90D2B05},,,

[Genesys.USBDCam.HW]
AddReg=Genesys.USBDCam.HW.AddReg

[Genesys.USBDCam.NT.HW]
AddReg=Genesys.USBDCam.HW.AddReg

[Genesys.USBDCam.HW.AddReg]
HKR,,FriendlyName,,%USBDCam.DeviceDesc%

;[Genesys.USBDCam.AP.AddReg]
;HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,GenePccMon,,"""%16422%\Genesys Logic PC Camera Device\Loader.exe"""
;HKLM,Software\Microsoft\Windows\CurrentVersion\Run,GenePccMon,,"""%16422%\Genesys Logic PC Camera Device\GenePccMon.exe"""

[Genesys.USBDCam.NT.Services]
AddService = DCamUSBGene,0x00000002,Genesys.USBDCam.ServiceInstall

[Genesys.USBDCam.ServiceInstall]
DisplayName   = %USBDCam.DeviceDesc%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\usbgene.sys

[Genesys.USBDCam.Files.Ext]
;UsbCamD2.sys
USBGENE.sys
MI2020S.SET
USBGENE0.sys
USBGENE1.sys
USBGENE2.sys
USBGENE3.sys

[Genesys.USBDCam.Files.Sys]
glwdm.ax
glspef.ax

[Genesys.USBDCam.Files.Twain]
twain.ini
twainds.ds
twainui.dll

;[Genesys.USBDCam.Files.AP]
;GenePccMon.exe
;GenesysCAP.dll
;Loader.exe

[Strings]
;----------------
; Non-Localizable
;----------------

; note: only register value is case sensitive, key is not.
ProxyVCap.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

;----------------
; Localizable
;----------------
DiskName="Genesys Logic WDM Video Capture Install Disk"
CustomCameraProp="Genesys Logic WDM Video Capture Custom Interface Handler"
SPEFCameraProp="Genesys Logic WDM Video Capture SPEF Interface Handler"
PropPage_CustomCameraProp="Genesys Logic WDM Video Capture Image Property Page"
PropPage_SPEFCameraProp="Genesys Logic WDM Video Capture SPEF Property Page"
USBDCam.DeviceDesc="Genesys Logic USB2.0 PC Camera"
Certification="Genesys Logic PC Camera CA"
