;
; 5U875UVC.INF - 5U875 UVC driver
;
; Copyright (c) 2009 Ricoh Co.,Ltd.  All rights reserved.
;

[Version]
;LayoutFile=Layout.inf
signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Ricoh%
CatalogFile.NT=5U875UVC.cat
DriverVer=07/08/2009,1.27.500.0

[ControlFlags]
ExcludeFromSelect=*

[Manufacturer]
%Ricoh%=Ricoh,NTx86,NTamd64

[Ricoh.NTx86]
%5U875UVC.DeviceDesc%=5U875UVC.Device,USB\VID_17EF&PID_4807&MI_00
%5U875UVC.DeviceDesc%=5U875UVC.Device,USB\VID_17EF&PID_480C&MI_00

[Ricoh.NTamd64]
%5U875UVC.DeviceDesc%=5U875UVC.Device,USB\VID_17EF&PID_4807&MI_00
%5U875UVC.DeviceDesc%=5U875UVC.Device,USB\VID_17EF&PID_480C&MI_00

[SourceDisksNames]
1=%InstDisk%

[SourceDisksFiles.x86]
5U875x86.sys=1,,
5U875x86.ax=1,,
5U875x86.dll=1,,

[SourceDisksFiles.amd64]
5U875x64.sys=1,,
5U875x64.dll=1,,
5U875x86.ax=1,,
5U875x64.ax=1,,

[DestinationDirs]
5U875UVC.drivers32 = 12
5U875UVC.drivers64 = 12
5U875UVC.System32 = 11
5U875UVC.System64 = 11
5U875UVC.SysWoW32 = 10,SysWOW64

[5U875UVC.drivers32]
5U875.sys,5U875x86.sys

[5U875UVC.drivers64]
5U875.sys,5U875x64.sys

[5U875UVC.System32]
5U875.ax,5U875x86.ax

[5U875UVC.System64]
5U875.ax,5U875x64.ax

[5U875UVC.SysWoW32]
5U875.ax,5U875x86.ax

[5U875UVC.Device.NTx86]
Include=    ks.inf, kscaptur.inf, dshowext.inf
Needs=      KS.Registration,KSCAPTUR.Registration.NT, DSHOWEXT.Registration
AddReg=     5U875UVC.AddReg, 5U875UVC.Setting, 5U875UVC.WIA.AddReg, 5U875UVC.NTx86.AddExt
CopyFiles = 5U875UVC.drivers32,5U875UVC.System32
;WIA
SubClass=StillImage
DeviceType=3
DeviceSubType=0x1
Capabilities=0x00000031
DeviceData=5U875UVC.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"

[5U875UVC.Device.NTamd64]
Include=    ks.inf, kscaptur.inf, dshowext.inf
Needs=      KS.Registration,KSCAPTUR.Registration.NT, DSHOWEXT.Registration
AddReg=     5U875UVC.AddReg, 5U875UVC.Setting, 5U875UVC.WIA.AddReg, 5U875UVC.NTx64.AddExt
CopyFiles = 5U875UVC.drivers64,5U875UVC.System64,5U875UVC.SysWoW32
;WIA
SubClass=StillImage
DeviceType=3
DeviceSubType=0x1
Capabilities=0x00000031
DeviceData=5U875UVC.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"

[5U875UVC.Device.NTx86.CoInstallers]
AddReg          = Coinst.AddReg
CopyFiles       = Coinst.CopyFilesx86

[5U875UVC.Device.NTamd64.CoInstallers]
AddReg          = Coinst.AddReg
CopyFiles       = Coinst.CopyFilesx64

[Coinst.AddReg]
HKR,,CoInstallers32,0x10000,"5U875.dll,CoInstProc"
; FriendlyName for FS
HKR,,FriendlyName,0x10000,%5U875UVC.DeviceDesc%

[Coinst.CopyFilesx86]
5U875.dll,5U875x86.dll,,0x00000004

[Coinst.CopyFilesx64]
5U875.dll,5U875x64.dll,,0x00000004

[5U875UVC.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,5U875.sys
HKR,,PageOutWhenUnopened,3,00
HKR,,PowerDownWhenUnopened,3,00

[5U875UVC.NTx86.AddExt]
; Interface Handler
HKCR,CLSID\{45404DE5-1211-4F22-8CA5-C67D4741B261},,,%InterfaceHandler%
HKCR,CLSID\{45404DE5-1211-4F22-8CA5-C67D4741B261}\InprocServer32,,,%5U875UVC.ExtensionDLL%
HKCR,CLSID\{45404DE5-1211-4F22-8CA5-C67D4741B261}\InprocServer32,ThreadingModel,,Both
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{45404DE5-1211-4F22-8CA5-C67D4741B261},,,%InterfaceHandler%
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{45404DE5-1211-4F22-8CA5-C67D4741B261},IID,1,e5,4d,40,45,11,12,22,4f,8c,a5,c6,7d,47,41,b2,61
; Setting page
HKCR,CLSID\{8B750830-F21B-4401-97EA-1357148EB0F5},,,%ImagePropPage%
HKCR,CLSID\{8B750830-F21B-4401-97EA-1357148EB0F5}\InprocServer32,,,%5U875UVC.ExtensionDLL%
HKCR,CLSID\{8B750830-F21B-4401-97EA-1357148EB0F5}\InprocServer32,ThreadingModel,,Both
HKLM,System\CurrentControlSet\Control\MediaSets\{45404DE5-1211-4F22-8CA5-C67D4741B261}\PropertyPages\{8B750830-F21B-4401-97EA-1357148EB0F5},,,%ImagePropPage%
; Zoom Page
HKCR,CLSID\{8B750831-F21B-4401-97EA-1357148EB0F5},,,%ZoomPropPage%
HKCR,CLSID\{8B750831-F21B-4401-97EA-1357148EB0F5}\InprocServer32,,,%5U875UVC.ExtensionDLL%
HKCR,CLSID\{8B750831-F21B-4401-97EA-1357148EB0F5}\InprocServer32,ThreadingModel,,Both
HKLM,System\CurrentControlSet\Control\MediaSets\{45404DE5-1211-4F22-8CA5-C67D4741B261}\PropertyPages\{8B750831-F21B-4401-97EA-1357148EB0F5},,,%ZoomPropPage%

[5U875UVC.NTx64.AddExt]
; Interface Handler
HKCR,CLSID\{45404DE5-1211-4F22-8CA5-C67D4741B261},,,%InterfaceHandler%
HKCR,CLSID\{45404DE5-1211-4F22-8CA5-C67D4741B261}\InprocServer32,,,%5U875UVC.ExtensionDLL%
HKCR,CLSID\{45404DE5-1211-4F22-8CA5-C67D4741B261}\InprocServer32,ThreadingModel,,Both
HKCR,Wow6432Node\CLSID\{45404DE5-1211-4F22-8CA5-C67D4741B261},,,%InterfaceHandler%
HKCR,Wow6432Node\CLSID\{45404DE5-1211-4F22-8CA5-C67D4741B261}\InprocServer32,,,%5U875UVC.ExtensionDLL%
HKCR,Wow6432Node\CLSID\{45404DE5-1211-4F22-8CA5-C67D4741B261}\InprocServer32,ThreadingModel,,Both
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{45404DE5-1211-4F22-8CA5-C67D4741B261},,,%InterfaceHandler%
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{45404DE5-1211-4F22-8CA5-C67D4741B261},IID,1,e5,4d,40,45,11,12,22,4f,8c,a5,c6,7d,47,41,b2,61
; Setting page
HKCR,CLSID\{8B750830-F21B-4401-97EA-1357148EB0F5},,,%ImagePropPage%
HKCR,CLSID\{8B750830-F21B-4401-97EA-1357148EB0F5}\InprocServer32,,,%5U875UVC.ExtensionDLL%
HKCR,CLSID\{8B750830-F21B-4401-97EA-1357148EB0F5}\InprocServer32,ThreadingModel,,Both
HKCR,Wow6432Node\CLSID\{8B750830-F21B-4401-97EA-1357148EB0F5},,,%ImagePropPage%
HKCR,Wow6432Node\CLSID\{8B750830-F21B-4401-97EA-1357148EB0F5}\InprocServer32,,,%5U875UVC.ExtensionDLL%
HKCR,Wow6432Node\CLSID\{8B750830-F21B-4401-97EA-1357148EB0F5}\InprocServer32,ThreadingModel,,Both
HKLM,System\CurrentControlSet\Control\MediaSets\{45404DE5-1211-4F22-8CA5-C67D4741B261}\PropertyPages\{8B750830-F21B-4401-97EA-1357148EB0F5},,,%ImagePropPage%
; Zoom Page
HKCR,CLSID\{8B750831-F21B-4401-97EA-1357148EB0F5},,,%ZoomPropPage%
HKCR,CLSID\{8B750831-F21B-4401-97EA-1357148EB0F5}\InprocServer32,,,%5U875UVC.ExtensionDLL%
HKCR,CLSID\{8B750831-F21B-4401-97EA-1357148EB0F5}\InprocServer32,ThreadingModel,,Both
HKCR,Wow6432Node\CLSID\{8B750831-F21B-4401-97EA-1357148EB0F5},,,%ZoomPropPage%
HKCR,Wow6432Node\CLSID\{8B750831-F21B-4401-97EA-1357148EB0F5}\InprocServer32,,,%5U875UVC.ExtensionDLL%
HKCR,Wow6432Node\CLSID\{8B750831-F21B-4401-97EA-1357148EB0F5}\InprocServer32,ThreadingModel,,Both
HKLM,System\CurrentControlSet\Control\MediaSets\{45404DE5-1211-4F22-8CA5-C67D4741B261}\PropertyPages\{8B750831-F21B-4401-97EA-1357148EB0F5},,,%ZoomPropPage%

[5U875UVC.Setting]
; SRB timeout
;HKR,Settings,SrbTimeout,0x00010001,5		; [sec] default value = 5 (0=disable)

; Selective Suspend
HKR,Settings,SelectiveSuspendTime,0x00010001,2	; [sec] default value = 25 (0=disable)

; Direction of camera device installation (for SMBIOS is none)
; *** The angle is direction of the installation of the camera device seen from the user. ***
;	Front side : user <) -><- (] camera
;HKR,Settings,DeviceDirection,0x00010001,0	;   0[degree]	default
;HKR,Settings,DeviceDirection,0x00010001,1	;  90[degree]
;HKR,Settings,DeviceDirection,0x00010001,2	; 180[degree]
;HKR,Settings,DeviceDirection,0x00010001,3	; 270[degree]
;	Back side  : user <) ->[) -> camera
HKR,Settings,DeviceDirection,0x00010001,4	;   0[degree]
;HKR,Settings,DeviceDirection,0x00010001,5	;  90[degree]
;HKR,Settings,DeviceDirection,0x00010001,6	; 180[degree]
;HKR,Settings,DeviceDirection,0x00010001,7	; 270[degree]

; The number is denominator for frame created when image direction is 90[deg] or 270[deg]
HKR,Settings,FrameDenominator,0x00010001,2	;	default value = 4

; Initial value
HKR,Settings,Brightness,0x00010001,63
HKR,Settings,Contrast,0x00010001,63
HKR,Settings,Saturation,0x00010001,63
HKR,Settings,Sharpness,0x00010001,7
HKR,Settings,WhiteBalance,0x00010001,1
HKR,Settings,Hue,0x00010001,0
HKR,Settings,Gamma,0x00010001,100
HKR,Settings,ColorEnable,0x00010001,1
HKR,Settings,WBRedEx,0x00010001,127
HKR,Settings,WBGreenEx,0x00010001,127
HKR,Settings,WBBlueEx,0x00010001,127
HKR,Settings,AWBEx,0x00010001,1
HKR,Settings,ExposureEx,0x00010001,254
HKR,Settings,AECEx,0x00010001,1
HKR,Settings,GainEx,0x00010001,63
HKR,Settings,AGCEx,0x00010001,1
HKR,Settings,PowerLineFrequency,0x00010001,1
HKR,Settings,PowerLineEx,0x00010001,3
HKR,Settings,SceneEx,0x00010001,0
HKR,Settings,FlipEx,0x00010001,0
HKR,Settings,MirrorEx,0x00010001,0
HKR,Settings,PrivacyEx,0x00010001,0
HKR,Settings,NightModeEx,0x00010001,1
HKR,Settings,Backlight_Compensation,0x00010001,0
HKR,Settings,ZoomFuncEx,0x00010001,0
HKR,Settings,ZoomEx,0x00010001,0
HKR,Settings,PanEx,0x00010001,0
HKR,Settings,TiltEx,0x00010001,0

; Default value
HKR,Settings,BrightnessDef,0x00010001,63
HKR,Settings,ContrastDef,0x00010001,63
HKR,Settings,SaturationDef,0x00010001,63
HKR,Settings,SharpnessDef,0x00010001,7
HKR,Settings,WhiteBalanceDef,0x00010001,1
HKR,Settings,HueDef,0x00010001,0
HKR,Settings,GammaDef,0x00010001,100
HKR,Settings,ColorEnableDef,0x00010001,1
HKR,Settings,WBRedExDef,0x00010001,127
HKR,Settings,WBGreenExDef,0x00010001,127
HKR,Settings,WBBlueExDef,0x00010001,127
HKR,Settings,AWBExDef,0x00010001,1
HKR,Settings,ExposureExDef,0x00010001,254
HKR,Settings,AECExDef,0x00010001,1
HKR,Settings,GainExDef,0x00010001,63
HKR,Settings,AGCExDef,0x00010001,1
HKR,Settings,PowerLineFrequencyDef,0x00010001,1
HKR,Settings,PowerLineExDef,0x00010001,3
HKR,Settings,SceneExDef,0x00010001,0
HKR,Settings,FlipExDef,0x00010001,0
HKR,Settings,MirrorExDef,0x00010001,0
HKR,Settings,PrivacyExDef,0x00010001,0
HKR,Settings,NightModeExDef,0x00010001,1
HKR,Settings,Backlight_CompensationDef,0x00010001,0
HKR,Settings,ZoomFuncExDef,0x00010001,0
HKR,Settings,ZoomExDef,0x00010001,0
HKR,Settings,PanExDef,0x00010001,0
HKR,Settings,TiltExDef,0x00010001,0

; Ctrl value : 1=Enable
HKR,Settings,BrightnessEnb,0x00010001,1
HKR,Settings,ContrastEnb,0x00010001,1
HKR,Settings,SaturationEnb,0x00010001,1
HKR,Settings,SharpnessEnb,0x00010001,1
HKR,Settings,WhiteBalanceEnb,0x00010001,0
HKR,Settings,HueEnb,0x00010001,1
HKR,Settings,GammaEnb,0x00010001,1
HKR,Settings,ColorEnableEnb,0x00010001,1
HKR,Settings,WBRedExEnb,0x00010001,1
HKR,Settings,WBGreenExEnb,0x00010001,0
HKR,Settings,WBBlueExEnb,0x00010001,1
HKR,Settings,AWBExEnb,0x00010001,1
HKR,Settings,ExposureExEnb,0x00010001,1
HKR,Settings,AECExEnb,0x00010001,1
HKR,Settings,GainExEnb,0x00010001,0
HKR,Settings,AGCExEnb,0x00010001,0
HKR,Settings,PowerLineFrequencyEnb,0x00010001,0
HKR,Settings,PowerLineExEnb,0x00010001,1
HKR,Settings,SceneExEnb,0x00010001,0
HKR,Settings,FlipExEnb,0x00010001,1
HKR,Settings,MirrorExEnb,0x00010001,1
HKR,Settings,PrivacyExEnb,0x00010001,1
HKR,Settings,NightModeExEnb,0x00010001,1
HKR,Settings,Backlight_CompensationEnb,0x00010001,0
HKR,Settings,ZoomExEnb,0x00010001,1
HKR,Settings,PanExEnb,0x00010001,1
HKR,Settings,TiltExEnb,0x00010001,1
; ZoomFuncExEnb : 0=disable 1=SensorZoom 2=DigitalZoom
HKR,Settings,ZoomFuncExEnb,0x00010001,1
; ZoomFuncEx[Width]x[Height] : 0=disable 1=enable
HKR,Settings,ZoomFuncEx320x240,0x00010001,1
HKR,Settings,ZoomFuncEx640x480,0x00010001,1
HKR,Settings,ZoomFuncEx800x600,0x00010001,1
;HKR,Settings,ZoomFuncEx1024x600,0x00010001,0
;HKR,Settings,ZoomFuncEx1024x768,0x00010001,0
;HKR,Settings,ZoomFuncEx1280x800,0x00010001,0
;HKR,Settings,ZoomFuncEx1280x1024,0x00010001,0

; WIA
[5U875UVC.WIA.AddReg]
HKR,,HardwareConfig,1,1
HKR,,USDClass,,"{0527d1d0-88c2-11d2-82c7-00c04f8ec183}"

[5U875UVC.DeviceData]
Server=local
UI DLL=sti.dll
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}

[5U875UVC.Device.NTx86.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,GLOBAL,5U875UVC.Device.Interface

[5U875UVC.Device.NTamd64.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,GLOBAL,5U875UVC.Device.Interface

[5U875UVC.Device.Interface]
AddReg=5U875UVC.Device.Intf.AddReg
         
[5U875UVC.Device.Intf.AddReg]
HKR,,CLSID,,%ProxyVCap.CLSID%
HKR,,FriendlyName,,%5U875UVC.CaptureDesc%
HKR,,ExtensionDLL,,%5U875UVC.ExtensionDLL%
HKR,PinFactory\1\Interfaces\{D3ABC7E0-9A61-11d0-A40D-00A0C9223196},,,
; VideoProcAmp -> Setting
HKR,PageAliases,"{71F96464-78F3-11d0-A18C-00A0C9118956}",1,30,08,75,8b,1b,f2,01,44,97,ea,13,57,14,8e,b0,f5
; CameraControl -> Zoom
HKR,PageAliases,"{71F96465-78F3-11d0-A18C-00A0C9118956}",1,31,08,75,8b,1b,f2,01,44,97,ea,13,57,14,8e,b0,f5

[5U875UVC.Device.NTx86.Services]
AddService = 5U875UVC,0x00000002,5U875UVC.Device.ServiceInstall

[5U875UVC.Device.NTamd64.Services]
AddService = 5U875UVC,0x00000002,5U875UVC.Device.ServiceInstall

[5U875UVC.Device.ServiceInstall]
DisplayName   = %5U875UVC.DeviceDesc%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\5U875.sys

[Strings]
;----------------
; Non-Localizable
;----------------
ProxyVCap.CLSID             ="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_CAPTURE          ="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
SERVICE_KERNEL_DRIVER       =1
SERVICE_DEMAND_START        =3
SERVICE_ERROR_NORMAL        =1
RunOnce                     ="Software\Microsoft\Windows\CurrentVersion\RunOnce"
5U875UVC.ExtensionDLL       ="5U875.ax"
;----------------
; Localizable
;----------------
Ricoh                       ="Ricoh"
InstDisk                    ="5U875 Install Disk"
5U875UVC.DeviceDesc         ="Integrated Camera"
5U875UVC.CaptureDesc        ="Integrated Camera"
InterfaceHandler            = "5U875 Custom property Interface Handler"
ImagePropPage               = "5U875 Image property page"
ZoomPropPage                = "5U875 Zoom property page"
