⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 inf.htm

📁 USB 过滤驱动程序
💻 HTM
字号:
<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>

<body>

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

</body>

</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -