Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

117 lines
3.4 KiB

  1. <html>
  2. <head>
  3. <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
  4. <meta name="ProgId" content="FrontPage.Editor.Document">
  5. <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  6. <title>New Page 1</title>
  7. </head>
  8. <body>
  9. <p>;<br>
  10. ; INF.TXT<br>
  11. ;<br>
  12. ; This file is part of the WMIFILT sample filter driver in the<br>
  13. ; Windows 2000 DDK. It is not a complete INF file.<br>
  14. ; It lists the sections of your INF file that you need to<br>
  15. ; change in order to have a filter driver loaded for your device.<br>
  16. ;<br>
  17. <br>
  18. <br>
  19. [Manufacturer]<br>
  20. &quot;ThisVendor&quot;=THIS_VENDOR<br>
  21. <br>
  22. [THIS_VENDOR]<br>
  23. ;<br>
  24. ; Generic HID Interface (HidUsb as service)<br>
  25. ;<br>
  26. &quot;My device description&quot; = My_Install_Section, INSERT_PNP_ID_HERE<br>
  27. <br>
  28. <br>
  29. <br>
  30. [My_Install_Section.NT]<br>
  31. ;<br>
  32. ; This section name's prefix matches 'My_Install_Section' above.<br>
  33. ; The appended &quot;.NT&quot; indicates Windows NT -specific processing.<br>
  34. ;<br>
  35. Copyfiles = MyCopyFiles<br>
  36. AddReg = MyAddReg<br>
  37. <br>
  38. <br>
  39. [My_Install_Section.NT.HW]<br>
  40. ;<br>
  41. ; Because of the &quot;.HW&quot; suffix,<br>
  42. ; the 'AddReg' entries in this section apply to the device's<br>
  43. ; hardware key (rather than the software key, as usual).<br>
  44. ;<br>
  45. AddReg = My_HW_AddReg<br>
  46. <br>
  47. <br>
  48. [MyCopyFiles]<br>
  49. ; mydriver.sys<br>
  50. wmifilt.sys<br>
  51. <br>
  52. <br>
  53. [MyAddReg]<br>
  54. ;<br>
  55. ; Insert regular (software-branch) registry entries here<br>
  56. ;<br>
  57. <br>
  58. ;<br>
  59. ; Include the list of classes that you wish to show up as property <br>
  60. ; pages within the device manager. The list should be a comma separated<br>
  61. ; list of WMI class names that are specifed in the MOF for the driver<br>
  62. ;<br>
  63. HKR,,&quot;WmiConfigClasses&quot;,0x00000000,&quot;Vendor_SampleClass4,Vendor_SampleClass6&quot;<br>
  64. <br>
  65. ;<br>
  66. ; Specify that wmiprop.dll should be a device co installer<br>
  67. ;<br>
  68. HKLM,System\CurrentControlSet\Control\CoDeviceInstallers,{&lt;***Your Class Guid
  69. Goes Here***},0x00010008,&quot;WmiProp.dll,WmiPropCoInstaller&quot;<br>
  70. <br>
  71. <br>
  72. [My_Install_Section.NT.Services]<br>
  73. ;<br>
  74. ; The inf should already include a service entry for the device class.<br>
  75. ; It'll look something like the line below. Keep that line in the inf.<br>
  76. ;<br>
  77. ; AddService = MyDriver,2,My_Service<br>
  78. <br>
  79. ; This is the filter service we're adding.<br>
  80. AddService = FilterService,,Filter_Service_Inst<br>
  81. <br>
  82. <br>
  83. <br>
  84. [My_HW_AddReg]<br>
  85. ;<br>
  86. ; This HW-branch AddReg section adds values to the hardware-branch<br>
  87. ; registry key of the device (under HKLM\System\CurrentControlSet\Enum).<br>
  88. ;<br>
  89. ; &quot;LowerFilters&quot; and &quot;UpperFilters&quot; are special values that indicate<br>
  90. ; to the kernel that one or more filter drivers should be loaded along<br>
  91. ; with the driver for this device.<br>
  92. ;<br>
  93. ; You may also include other values here. These values can be read<br>
  94. ; by the driver. The 'SampleFilterParam' value is read by the filter.sys<br>
  95. ; sample driver as an example.<br>
  96. ;<br>
  97. HKR,,&quot;LowerFilters&quot;,0x00010000,&quot;FilterService&quot;<br>
  98. ; or HKR,,&quot;UpperFilters&quot;,0x00010000,&quot;FilterService&quot;<br>
  99. HKR,,&quot;SampleFilterParam&quot;,0x00010001,512<br>
  100. <br>
  101. <br>
  102. [Filter_Service_Inst]<br>
  103. DisplayName = &quot;Filter Service&quot;<br>
  104. ServiceType = 1 ;%SERVICE_KERNEL_DRIVER%<br>
  105. StartType = 3 ;%SERVICE_DEMAND_START%<br>
  106. ErrorControl = 0 ;%SERVICE_ERROR_IGNORE%<br>
  107. ServiceBinary = %12%\wmifilt.sys<br>
  108. LoadOrderGroup = extended base<br>
  109. <br>
  110. &nbsp;</p>
  111. </body>
  112. </html>