;
; 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
;
;
; Include the list of classes that you wish to show up as property
; pages within the device manager. The list should be a comma separated
; list of WMI class names that are specifed in the MOF for the driver
;
HKR,,"WmiConfigClasses",0x00000000,"Vendor_SampleClass4,Vendor_SampleClass6"
;
; Specify that wmiprop.dll should be a device co installer
;
HKLM,System\CurrentControlSet\Control\CoDeviceInstallers,{<***Your Class Guid
Goes Here***},0x00010008,"WmiProp.dll,WmiPropCoInstaller"
[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