;
;Copyright (c) Microsoft Corporation.  All rights reserved.
;
;Module Name:
;    FusionV2.INF
;
;Abstract:
;    INF file for installing the Sensors 2.0 Fusion Driver
;
;Installation Notes: 
;    Using Devcon: Type "devcon install FusionV2.inf umdf2\FusionV2" to install
;
[Version]
Signature   = "$WINDOWS NT$"
Class       = Sensor
ClassGuid   = {5175D334-C371-4806-B3BA-71FD53C9258D}
Provider    = %MSFT%
;CatalogFile = FusionV2.cat
DriverVer = 06/21/2006,10.0.20348.1
PnpLockdown = 1

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

[SourceDisksFiles]
FusionV2.dll    = 1,,

[Manufacturer]
%MSFT% = Fusion_Device, NTamd64

;*******************************
; Fusion Install Section
;*******************************

[Fusion_Device.NTamd64]
; DisplayName       Section          DeviceId
; -----------       -------          --------
%Fusion_DevDesc% = Fusion_Inst, umdf2\FusionV2

[Fusion_Inst.NT]
CopyFiles = FusionDriverCopy

[Fusion_Inst.NT.HW]
AddReg=Sensor_Inst_SecurityAddReg

[Sensor_Inst_SecurityAddReg]
; empty - updated by spkg process on Phone

[FusionDriverCopy]
FusionV2.dll

[DestinationDirs]
;12 == Windows\System32\Drivers
DefaultDestDir = 12,UMDF
FusionDriverCopy = 12,UMDF

;-------------- Service installation
[Fusion_Inst.NT.Services]
AddService = WUDFRd,0x000001fa,WUDFRD_ServiceInstall

[Fusion_Inst.NT.CoInstallers]
AddReg = CoInstallers_AddReg

[WUDFRD_ServiceInstall]
DisplayName   = %WudfRdDisplayName%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\WUDFRd.sys

;-------------- WDF specific section

[Fusion_Inst.NT.Wdf]
UmdfService              = FusionV2, FusionV2_Install
UmdfServiceOrder         = FusionV2
UmdfDirectHardwareAccess = AllowDirectHardwareAccess
UmdfFileObjectPolicy     = AllowNullAndUnknownFileObjects
UmdfFsContextUsePolicy   = CannotUseFsContexts
UmdfImpersonationLevel   = Impersonation

[FusionV2_Install]
UmdfLibraryVersion       = 2.15.0
ServiceBinary            = %12%\UMDF\FusionV2.dll
UmdfExtensions           = SensorsCx0102

[CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WudfCoinstaller.dll"

[Strings]
;Localizable Strings
MediaDescription         = "Windows Sensor Fusion V2 Driver"
MSFT                     = "Microsoft"
Fusion_DevDesc           = "Fusion Sensor V2"
WudfRdDisplayName        = "Windows Driver Foundation - User-mode Driver Framework Reflector"

;Non-Localizable Strings
SERVICE_KERNEL_DRIVER    = 1
SERVICE_DEMAND_START     = 3
SERVICE_ERROR_NORMAL     = 1
