90 lines
2.1 KiB
Plaintext
90 lines
2.1 KiB
Plaintext
|
;
|
||
|
; INF.TXT
|
||
|
;
|
||
|
; This file is part of the WMIFILT sample filter driver in the
|
||
|
; Windows 2000 DDK. It is not a complete INF file.
|
||
|
; It lists the sections of your INF file that you need to
|
||
|
; change in order to have a filter driver loaded for your device.
|
||
|
;
|
||
|
|
||
|
|
||
|
[Manufacturer]
|
||
|
"ThisVendor"=THIS_VENDOR
|
||
|
|
||
|
[THIS_VENDOR]
|
||
|
;
|
||
|
; Generic HID Interface (HidUsb as service)
|
||
|
;
|
||
|
"My device description" = My_Install_Section, INSERT_PNP_ID_HERE
|
||
|
|
||
|
|
||
|
|
||
|
[My_Install_Section.NT]
|
||
|
;
|
||
|
; This section name's prefix matches 'My_Install_Section' above.
|
||
|
; The appended ".NT" indicates Windows NT -specific processing.
|
||
|
;
|
||
|
Copyfiles = MyCopyFiles
|
||
|
AddReg = MyAddReg
|
||
|
|
||
|
|
||
|
[My_Install_Section.NT.HW]
|
||
|
;
|
||
|
; Because of the ".HW" suffix,
|
||
|
; the 'AddReg' entries in this section apply to the device's
|
||
|
; hardware key (rather than the software key, as usual).
|
||
|
;
|
||
|
AddReg = My_HW_AddReg
|
||
|
|
||
|
|
||
|
[MyCopyFiles]
|
||
|
; mydriver.sys
|
||
|
wmifilt.sys
|
||
|
|
||
|
|
||
|
[MyAddReg]
|
||
|
;
|
||
|
; Insert regular (software-branch) registry entries here
|
||
|
;
|
||
|
|
||
|
|
||
|
[My_Install_Section.NT.Services]
|
||
|
;
|
||
|
; The inf should already include a service entry for the device class.
|
||
|
; It'll look something like the line below. Keep that line in the inf.
|
||
|
;
|
||
|
; AddService = MyDriver,2,My_Service
|
||
|
|
||
|
; This is the filter service we're adding.
|
||
|
AddService = FilterService,,Filter_Service_Inst
|
||
|
|
||
|
|
||
|
|
||
|
[My_HW_AddReg]
|
||
|
;
|
||
|
; This HW-branch AddReg section adds values to the hardware-branch
|
||
|
; registry key of the device (under HKLM\System\CurrentControlSet\Enum).
|
||
|
;
|
||
|
; "LowerFilters" and "UpperFilters" are special values that indicate
|
||
|
; to the kernel that one or more filter drivers should be loaded along
|
||
|
; with the driver for this device.
|
||
|
;
|
||
|
; You may also include other values here. These values can be read
|
||
|
; by the driver. The 'SampleFilterParam' value is read by the filter.sys
|
||
|
; sample driver as an example.
|
||
|
;
|
||
|
HKR,,"LowerFilters",0x00010000,"FilterService"
|
||
|
; or HKR,,"UpperFilters",0x00010000,"FilterService"
|
||
|
HKR,,"SampleFilterParam",0x00010001,512
|
||
|
|
||
|
|
||
|
[Filter_Service_Inst]
|
||
|
DisplayName = "Filter Service"
|
||
|
ServiceType = 1 ;%SERVICE_KERNEL_DRIVER%
|
||
|
StartType = 3 ;%SERVICE_DEMAND_START%
|
||
|
ErrorControl = 0 ;%SERVICE_ERROR_IGNORE%
|
||
|
ServiceBinary = %12%\wmifilt.sys
|
||
|
LoadOrderGroup = extended base
|
||
|
|
||
|
|