;/*++
;
;Copyright (c) Microsoft Corporation.  All rights reserved.
;
;Module Name:
;    hidspi.inf
;
;Abstract:
;    INF file for installing the HIDSPI miniport driver (kernel mode)
;
;--*/

;*****************************************
; Class section
;*****************************************

[Version]
Signature="$WINDOWS NT$"
Class=HIDClass
ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider=%MSFT%
DriverVer = 06/21/2006,10.0.20348.1

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
hidspi.sys  = 3426

[DestinationDirs]
DefaultDestDir = 12

[ControlFlags]
ExcludeFromSelect = *

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

[Manufacturer]
%MSFT%=Microsoft,NTamd64...1

[Microsoft.NTamd64...1]
%hidspi.DeviceDesc%=hidspi_Device, ACPI\PNP0C51

[hidspi_Device.NT]
CopyFiles=hidspi_Device.CopyFiles

[hidspi_Device.CopyFiles]
hidspi.sys,,,0x100

[hidspi_Device.NT.HW]
AddReg = hidspi_Device.Filter.AddReg, hidspi_Device.Configuration.AddReg
Include=pci.inf
Needs=PciD3ColdSupported.HW

[hidspi_Device.Filter.AddReg]
HKR,,"UpperFilters",0x00010000,"mshidkmdf"

[hidspi_Device.Configuration.AddReg]
HKR,,"EnhancedPowerManagementEnabled",0x00010001,1
HKR,,"DeviceResetNotificationEnabled",0x00010001,1
HKR,,"LegacyTouchScaling",0x00010001,0

;*****************************************
; Service installation section
;*****************************************

[hidspi_Device.NT.Services]
AddService = hidspi,0x00000002, hidspi_Service_Inst, hidspi_EventLog_Inst

[hidspi_Service_Inst]
DisplayName    = %hidspi.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\hidspi.sys
LoadOrderGroup = Extended Base

[hidspi_EventLog_Inst]
AddReg=hidspi_EventLog_Inst.AddReg

[hidspi_EventLog_Inst.AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\Drivers\hidspi.sys"
HKR,,TypesSupported,0x00010001,7

;*****************************************
; Strings section
;*****************************************

[Strings]
;Localizable
MSFT="Microsoft"
DiskName = "hidspi"
hidspi.DeviceDesc = "SPI HID Device"
hidspi.SVCDESC = "Microsoft SPI HID Miniport Driver"

;Non-Localizable
SERVICE_KERNEL_DRIVER  = 0x1 
SERVICE_ERROR_IGNORE   = 0x0 
SERVICE_ERROR_NORMAL   = 0x1 
SERVICE_ERROR_SEVERE   = 0x2 
SERVICE_ERROR_CRITICAL = 0x3 
