;/*++
;
;Copyright (c) 2010-2011 Intel Corporation
;
;Module Name:
;
;    ov2722.inf
;
;Abstract:
;    INF file for installing OV2722 camera sensor (ACPI\INT33FB) driver
;
;Installation Notes:
;    Using Devcon: Type "devcon update ov2722.inf ACPI\INT33FB" to install
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%INTEL%
DriverVer=09/09/2013,603.9600.1948.23756

CatalogFile=ov2722.cat
PnpLockdown=1

[DestinationDirs]
DefaultDestDir = 12
CopyDLLs=11

;*****************************************
; Sensor Device  Install Section
;*****************************************

[Manufacturer]
%Ov2722%=Standard,NTx86

; For XP and later
[Standard.NTx86]
%ov2722.DeviceDesc%=Ov2722_Device, ACPI\INT33FB


[Ov2722_Device.NT]
CopyFiles=Ov2722_Device.NT.Copy
CopyFiles=CopyDLLs
Reboot

[Ov2722_Device.NT.Copy]
ov2722.sys

[CopyDLLs]
OV2722_13P2SF206.cpf

;-------------- Service installation

[Ov2722_Device.NT.Services]
AddService = ov2722, %SPSVCINST_ASSOCSERVICE%, ov2722_Service_Inst

[ov2722_Service_Inst]
DisplayName    = %ov2722.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\ov2722.sys
Dependencies   = SpbCx,inteli2c
AddReg         = Ov2722_Device.AddReg

[Ov2722_Device.AddReg]
;Use same security checks on relative opens
HKR,,DeviceCharacteristics,0x10001,0x0100
;Grant access just to built-in administrators, local system, and usermode drivers
HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)(A;;GA;;;S-1-5-84-0-0-0-0-0)(D;;GA;;;WD)"

[SourceDisksNames]
1 = %DiskId1%,,,""

[SourceDisksFiles]
ov2722.sys = 1
OV2722_13P2SF206.cpf = 1


[Strings]
SPSVCINST_ASSOCSERVICE = 0x00000002
INTEL = "Intel Corporation"
Ov2722 = "Camera Sensor OV2722"
DiskId1 = "Camera OV2722 Installation Disk #1"
ov2722.DeviceDesc = "Camera Sensor OV2722"
ov2722.SVCDESC = "Camera Sensor OV2722"

