; This INF file is used to install the pitch and catch filters for the device drivers under test

[Version]
signature = "$Windows NT$"

; Distribution Media information

[SourceDisksNames]

; Identify the individual installation media

1 = %SWBTS.Media%


[SourceDisksFiles]

; Identify the files on the individual installation media

Catcher.sys = 1
Pitcher.sys = 1


[DestinationDirs]

; Identify destination directory on the target OS.

DefaultDestDir = 12	; DIRID_DRIVERS
 
[DefaultInstall.NT]

; Installion for NT derived systems

CopyFiles = SWBTS_CopyFiles
AddReg = SWBTS_AddReg

[SWBTS_CopyFiles]

; Specify the file names of the filter drivers

Pitcher.sys
Catcher.sys
 
[SWBTS_AddReg]

; Register the Pitch and Catch filters for all Disk class devices

HKLM, System\CurrentControlSet\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}, LowerFilters, 0x00010008, Catcher
HKLM, System\CurrentControlSet\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}, UpperFilters, 0x00010008, Pitcher


[DefaultInstall.NT.Services]

; Register the drivers as services on NT-based operating systems.

AddService = Pitcher,,Pitcher_Service_Install
AddService = Catcher,,Catcher_Service_Install


[Pitcher_Service_Install]
DisplayName    = %Pitcher.SvcDesc%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\Pitcher.sys

[Catcher_Service_Install]
DisplayName    = %Catcher.SvcDesc%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\Catcher.sys


[clasfilt_EventLog_Inst]
AddReg = clasfilt_EventLog_AddReg


[clasfilt_EventLog_AddReg]
;Change clasfilt.sys to the name of your driver file.
HKR,,EventMessageFile, %REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\clasfilt.sys"
HKR,,TypesSupported, %REG_DWORD%, 7


[Strings]
;
; Service descriptions for the test suite pitch and catch filters.
;
Pitcher.SvcDesc	= "NIST SWB Test Suite Pitcher"
Catcher.SvcDsc = "NIST SWB Test Suite Catcher"
SWBTS.MediaDesc 	= "SWB Test Suite Installation Disc"


; Useful constants
SERVICE_KERNEL_DRIVER = 1
SERVICE_DEMAND_START  = 3
SERVICE_ERROR_IGNORE  = 0
REG_EXPAND_SZ         = 0x00020000
REG_DWORD             = 0x00010001
