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.

114 lines
2.0 KiB

  1. ; kbfiltr.inf
  2. ;
  3. ; Installation inf for the Device that needs filtering adapter.
  4. ;
  5. ; (c) Copyright 1999 Microsoft
  6. ;
  7. [Version]
  8. Signature="$Windows NT$"
  9. Provider=%DDK_Ex%
  10. ClassGUID={4D36E96B-E325-11CE-BFC1-08002BE10318}
  11. Class=Keyboard
  12. CatalogFile=kbfiltr.cat
  13. DriverVer=07/20/1999
  14. [DestinationDirs]
  15. DefaultDestDir = 12
  16. ;
  17. ; Driver information
  18. ;
  19. [Manufacturer]
  20. %DDK_Ex% = DDK_Ex.Mfg
  21. [DDK_Ex.Mfg]
  22. %DDK_Ex% = kbfiltr, *PNP0BAAD
  23. ;
  24. ; General installation section
  25. ;
  26. [kbfiltr]
  27. ; perform port related actions from keyboard.inf
  28. Include=keyboard.inf
  29. Needs=STANDARD_Inst
  30. ; Copy the driver over
  31. CopyFiles=kbfiltr.CopyFiles
  32. ;
  33. ; File sections
  34. ;
  35. [kbfiltr.CopyFiles]
  36. kbfiltr.sys
  37. ;
  38. ; Service Installation
  39. ;
  40. [kbfiltr.Services]
  41. AddService = kbfiltr, , kbfiltr_Service_Inst
  42. ; Install the port driver and mouclass from keyboard.inf
  43. Include=keyboard.inf
  44. Needs=STANDARD_Inst.Services
  45. [kbfiltr_Service_Inst]
  46. DisplayName = %kbfiltr.SvcDesc%
  47. ServiceType = 1 ; SERVICE_KERNEL_DRIVER
  48. StartType = 3 ; SERVICE_DEMAND_START
  49. ErrorControl = 0 ; SERVICE_ERROR_IGNORE
  50. LoadOrderGroup = Keyboard Port
  51. ServiceBinary = %12%\kbfiltr.sys
  52. [kbfiltr.HW]
  53. ; Add the device upper filter
  54. AddReg = kbfiltr.HW.AddReg
  55. ; run the directives need by the port driver
  56. Include=keyboard.inf
  57. Needs=STANDARD_Inst.HW
  58. [kbfiltr.HW.AddReg]
  59. HKR,,"UpperFilters",0x00010000,"kbfiltr"
  60. ;
  61. ; Source file information
  62. ;
  63. ; use [SourceDisksNames.x86] for x86 only installs
  64. ; use [SourceDisksNames.alpha] for alpha only installs
  65. [SourceDisksNames]
  66. 1 = %DiskId1%,,,
  67. [SourceDisksFiles]
  68. kbfiltr.sys = 1,,
  69. [Strings]
  70. ;
  71. ; Non-Localizable Strings
  72. ;
  73. REG_SZ = 0x00000000
  74. REG_MULTI_SZ = 0x00010000
  75. REG_EXPAND_SZ = 0x00020000
  76. REG_BINARY = 0x00000001
  77. REG_DWORD = 0x00010001
  78. SERVICEROOT = "System\CurrentControlSet\Services"
  79. ;
  80. ; Localizable Strings
  81. ;
  82. DiskId1 = "DDK Example Installation Disk #1 (Keyboard)"
  83. DDK_Ex = "DDK Example Device that needs filtering"
  84. kbfiltr.SvcDesc="Keyboard Filter Example"