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

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

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

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
hidi2c.sys  = 3426

[DestinationDirs]
hidi2c_Device.CopyFiles = 12

[ControlFlags]
ExcludeFromSelect = *

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

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

[Microsoft.NTamd64...1]
%hidi2c.DeviceDesc%=hidi2c_Device, ACPI\PNP0C50

[hidi2c_Device.NT]
CopyFiles=hidi2c_Device.CopyFiles

[hidi2c_Device.CopyFiles]
hidi2c.sys,,,0x100

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

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

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

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

[hidi2c_Device.NT.Services]
AddService = hidi2c,0x00000002, hidi2c_Service_Inst, hidi2c_EventLog_Inst

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

[hidi2c_EventLog_Inst]
AddReg=hidi2c_EventLog_Inst.AddReg

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

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

[Strings]
;Localizable
MSFT="Microsoft"
DiskName = "HIDI2C"
hidi2c.DeviceDesc = "I2C HID Device"
hidi2c.SVCDESC = "Microsoft I2C 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 
