;
; SensorsHIDDriverSample.inf
;
; Copyright (c) Microsoft Corporation.  All rights reserved.
; Copyright (c) Kionix Inc. All right reserved.

[Version]
Signature   = "$Windows NT$"
Class       = Sensor
ClassGuid   = {5175D334-C371-4806-B3BA-71FD53C9258D}
Provider    = %INF_Provider%
DriverVer=08/28/2012,16.9.14.754
CatalogFile = SensorsHIDDriverSample.cat

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

[Manufacturer]
%INF_Provider%                        = Kionix,NTamd64

[Kionix.NTamd64]
%SensorsHIDDriverSample.Collection.DeviceDesc%=SensorsHIDDriverSample_Install, HID\VID_04B5&PID_0680
%SensorsHIDDriverSample.Collection.DeviceDesc%=SensorsHIDDriverSample_Install, HID\VID_04B5&PID_0680&MI_00

; =================== SensorsHIDDriverSample Device ==================================

[SensorsHIDDriverSample_Install.NT]
CopyFiles       = UMDriverCopy
AddProperty     = DriverPropertiesSection

[SensorsHIDDriverSample_Install.NT.hw]


[SensorsHIDDriverSample_Install.NT.Services]
AddService      = WUDFRd,0x000001fa,WUDFRD_ServiceInstall

[SensorsHIDDriverSample_Install.NT.CoInstallers]
AddReg          = WUDF_CoInstallers_AddReg
CopyFiles       = WUDF_CoInstallers_CopyFiles

[SensorsHIDDriverSample_Install.NT.Wdf]
UmdfService             = SensorsHIDDriverSample,UMDFSensorsHIDDriverSample_Install
UmdfServiceOrder        = SensorsHIDDriverSample
UmdfImpersonationLevel  = Impersonation

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

[UMDFSensorsHIDDriverSample_Install]
UmdfLibraryVersion=1.9.0
ServiceBinary = %12%\UMDF\SensorsHIDDriverSample.dll
DriverCLSID   = {a65a2b1f-b99b-40f4-9fc3-7e76ffb21bcf}

[WUDFRD_ServiceInstall]
DisplayName     = %WudfRdDisplayName%
ServiceType     = 1
StartType       = 3
ErrorControl    = 1
ServiceBinary   = %12%\WUDFRd.sys
LoadOrderGroup  = Base

[SourceDisksFiles]
SensorsHIDDriverSample.dll  = 1
WudfUpdate_01009.dll = 1

[SourceDisksNames]
1 = %MediaDescription%

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

[WUDF_CoInstallers_CopyFiles]
WudfUpdate_01009.dll

[DestinationDirs]
UMDriverCopy            = 12,UMDF    ; copy to drivers\UMDF
WUDF_CoInstallers_CopyFiles  = 11

[UMDriverCopy]
SensorsHIDDriverSample.dll,,,0x0      ; 0x100 means the driver is protected

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

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

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

[Strings]
;Localizable strings for Sensors HID Driver Sample
INF_Provider                = "Kionix Inc."
MediaDescription            = "Kionix HID Sensor Driver Installation Media"
ClassName                   = "HID Sensor Class Device"
WudfRdDisplayName           = "Windows Driver Foundation - User-mode Driver Framework Reflector"

SensorsHIDDriverSample.Collection.DeviceDesc = "Kionix Sensor HUB"

;Non-localizable for Sensors HID Driver Sample
