;
; SensorsServiceDriver.inf
;

[Version]
Signature	= "$Windows NT$"
Class		= Sensor
ClassGuid	= {5175D334-C371-4806-B3BA-71FD53C9258D}
Provider	= %MSFT%
DriverVer = 04/21/2009,10.0.20348.1
PnpLockdown = 1

; =================== Manufacturer/Models sections =======================

[Manufacturer]
%MSFT%                      = Microsoft,NTamd64

[Microsoft.NTamd64]
%SensorsServiceDriver.DeviceDesc% = SensorsServiceDriver_Install,Sensors\SensorsServiceDriver

; =================== Sensors Service Driver  Device ==================================

[SensorsServiceDriver_Install.NT]
CopyFiles       = UMDriverCopy
AddProperty     = DriverPropertiesSection

[SensorsServiceDriver_Install.NT.hw]


[SensorsServiceDriver_Install.NT.Services]
AddService      = SensorsServiceDriver,0x000001fa,WUDFSensorsServiceDriver_ServiceInstall

[SensorsServiceDriver_Install.NT.CoInstallers]
AddReg          = WUDF_CoInstallers_AddReg

[SensorsServiceDriver_Install.NT.Wdf]
UmdfService             = SensorsServiceDriver,UMDFSensorsServiceDriver_Install
UmdfServiceOrder        = SensorsServiceDriver
UmdfImpersonationLevel  = Impersonation

; =================== UMDF Service Install section ===================

[UMDFSensorsServiceDriver_Install]
UmdfLibraryVersion      = 1.11.0
ServiceBinary           = %12%\UMDF\SensorsServiceDriver.dll
DriverCLSID             = {9BC7AD8E-47DC-4561-BD0C-97DD5FEB9DB8}

[WUDFSensorsServiceDriver_ServiceInstall]
DisplayName     = %WudfSensorsServiceDriverDisplayName%
ServiceType     = 1
StartType       = 3
ErrorControl    = 1
ServiceBinary   = %12%\WUDFRd.sys
LoadOrderGroup  = Base
StartName       = \Driver\WudfRd

[SourceDisksFiles]
SensorsServiceDriver.dll  = 1

[SourceDisksNames]
1 = %MediaDescription%

[WUDF_CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WUDFCoInstaller.dll"

[DestinationDirs]
UMDriverCopy            = 12,UMDF
CoInstallers_CopyFiles  = 11

[UMDriverCopy]
SensorsServiceDriver.dll,,,0x100

; =================== Driver Property section ===================

[DriverPropertiesSection]
DeviceIcon,,,,"%%SystemRoot%%\system32\sensorscpl.dll,-1000"

; =================== Generic ==================================

[Strings]
MSFT                        = "Microsoft"
MediaDescription            = "Sensors Service Driver Installation Media"
ClassName                   = "Sensors Service Driver"
WudfSensorsServiceDriverDisplayName = "UMDF Reflector service for SensorsServiceDriver"
SensorsServiceDriver.DeviceDesc = "Simple Device Orientation Sensor"
