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

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%INTEL%
DriverVer=06/15/2013,6.2.9200.34330
CatalogFile=ov9726_398417AA.cat
PnpLockdown=1

[DestinationDirs]
DefaultDestDir = 12
CopyDLLs=11

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

[Manufacturer]
%Ov9726%=Standard,NTx86

; For XP and later
[Standard.NTx86]
%ov9726.DeviceDesc%=Ov9726_Device, ACPI\VEN_INT&DEV_33FA&SUBSYS_398417AA


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

[Ov9726_Device.NT.Copy]
ov9726.sys

[CopyDLLs]

Preview_UserParameter_OV9726_12P2SF177.prm
Primary_UserParameter_OV9726_12P2SF177.prm
Video_UserParameter_OV9726_12P2SF177.prm
PRMLibraryOV9726_12P2SF177.dll



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

[Ov9726_Device.NT.Services]
AddService = ov9726, %SPSVCINST_ASSOCSERVICE%, ov9726_Service_Inst

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

[Ov9726_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]
ov9726.sys  = 1
Preview_UserParameter_OV9726_12P2SF177.prm = 1
Primary_UserParameter_OV9726_12P2SF177.prm = 1
Video_UserParameter_OV9726_12P2SF177.prm = 1
PRMLibraryOV9726_12P2SF177.dll = 1



[Strings]
SPSVCINST_ASSOCSERVICE = 0x00000002
INTEL = "Intel Corporation"
Ov9726 = "Camera Sensor OV9726"
DiskId1 = "Camera OV9726 Installation Disk #1"
ov9726.DeviceDesc = "Camera Sensor OV9726"
ov9726.SVCDESC = "Camera Sensor OV9726"

