; MsHidUmdf.inf
; Microsoft Windows UMDF HID Miniport INF
; Copyright (c) Microsoft Corporation

; This inf file provides the default sections that must be
; included by external INFs which require the MsHidUmdf driver.
; The Class/ClassGuid and Hardware ID matches for this driver
; package are not relevant for external INFs including this
; driver.  The including driver may be any class and match
; any Hardware ID.
;
; An external INF is expected to include the sections of this
; INF by adding Include/Needs directives for each possible
; [DDInstall.] section to the corresponding [MsHidUmdf.*]
; sections as shown below.
;
; Note that an external INF must have each of these DDInstall
; sections, and reference each of these MsHidUmdf sections regardless
; of whether either INF currently specifies any directives for
; that sections.  This allows future extensibility of the base
; inbox INF sections to apply to existing external drivers.
;
;
; [DDInstall]
; Include=MsHidUmdf.inf
; Needs=MsHidUmdf.NT
; ; also include any existing DDInstall directives
;
; [DDInstall.HW]
; Include=MsHidUmdf.inf
; Needs=MsHidUmdf.NT.HW
; ; also include any existing DDInstall.HW directives
;
; [DDInstall.Services]
; Include=MsHidUmdf.inf
; Needs=MsHidUmdf.NT.Services
; ; also include any existing any DDInstall.Services directives
;
; This INF also allows the usage of the MsHidUmdf service as a filter driver.
; For this usage, follow the above pattern but use one of the below section
; names instead of MsHidUmdf.NT.*, replacing the name in all three sections:
;
; Upper filter: MsHidUmdf_UpperFilter.NT
; Lower filter: MsHidUmdf_LowerFilter.NT
;
; When using the filter sections, the following pattern must also be included:
;
; [DDInstall.Filters]
; Include=MsHidUmdf.inf
; Needs=MsHidUmdf_UpperFilter.NT.Filters
;
; Where MsHidUmdf_UpperFilter.NT.Filters should be used for to install WUDFRD as
; an upper filter, and MsHidUmdf_LowerFilter.NT for a lower filter

[Version]
Signature="$Windows NT$"
Class=System
ClassGuid={4d36e97d-e325-11ce-bfc1-08002be10318}
Provider=%MSFT%
PnpLockdown=1
DriverVer = 06/21/2006,10.0.22621.1

[Manufacturer]
%MSFT%=Microsoft,NTamd64

[Microsoft.NTamd64]
%MsHidUmdf.DeviceDesc%=MsHidUmdf             ; Used by Include/Needs
%MsHidUmdf.DeviceDesc%=MsHidUmdf_UpperFilter ; Used by Include/Needs
%MsHidUmdf.DeviceDesc%=MsHidUmdf_LowerFilter ; Used by Include/Needs

[MsHidUmdf.NT]
; Keep empty section placeholder for Include/Needs

[MsHidUmdf.NT.HW]
; Keep empty section placeholder for Include/Needs

[MsHidUmdf.NT.Services]
AddService=MsHidUmdf,0x1fa,MsHidUmdf_ServiceInstall


[MsHidUmdf_UpperFilter.NT]
; Keep empty section placeholder for Include/Needs

[MsHidUmdf_UpperFilter.NT.HW]
; Keep empty section placeholder for Include/Needs

[MsHidUmdf_UpperFilter.NT.Filters]
AddFilter=MsHidUmdf,,MsHidUmdf_UpperFilterPosition

[MsHidUmdf_UpperFilter.NT.Services]
AddService=MsHidUmdf,0x1f8,MsHidUmdf_ServiceInstall


[MsHidUmdf_LowerFilter.NT]
; Keep empty section placeholder for Include/Needs

[MsHidUmdf_LowerFilter.NT.HW]
; Keep empty section placeholder for Include/Needs

[MsHidUmdf_LowerFilter.NT.Filters]
AddFilter=MsHidUmdf,,MsHidUmdf_LowerFilterPosition

[MsHidUmdf_LowerFilter.NT.Services]
AddService=MsHidUmdf,0x1f8,MsHidUmdf_ServiceInstall


[MsHidUmdf_LowerFilterPosition]
FilterPosition=Lower

[MsHidUmdf_UpperFilterPosition]
FilterPosition=Upper


[MsHidUmdf_ServiceInstall]
DisplayName   = %MsHidUmdf.SvcName%
ServiceType   = 1 ; SERVICE_KERNEL_DRIVER
StartType     = 3 ; SERVICE_DEMAND_START
ErrorControl  = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\MsHidUmdf.sys


[Strings]
; Non-localizable
MSFT="Microsoft"

; Localizable
MsHidUmdf.DeviceDesc="User-mode Driver Framework HID Miniport Device"
MsHidUmdf.SvcName="Pass-through HID to UMDF Filter Driver"
