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
2.0 KiB

  1. ; dinput.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=dinput.cat
  13. DriverVer=04/21/2000
  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% = dinput, *PNP0BAAD
  23. ;
  24. ; General installation section
  25. ;
  26. [dinput]
  27. ; perform port related actions from keyboard.inf
  28. ;Include=keyboard.inf
  29. ;Needs=STANDARD_Inst
  30. ; Copy the driver over
  31. CopyFiles=dinput.CopyFiles
  32. AddReg = dinput.AddReg
  33. ;
  34. ; File sections
  35. ;
  36. [dinput.CopyFiles]
  37. dinput.sys
  38. ;
  39. ; Reg sections
  40. ;
  41. [dinput.AddReg]
  42. HKR,,"UpperFilters",0x00010008,"dinput"
  43. ;
  44. ; Service Installation
  45. ;
  46. [dinput.Services]
  47. AddService = dinput, , dinput_Service_Inst
  48. ; Install the port driver and mouclass from keyboard.inf
  49. ;Include=keyboard.inf
  50. ;Needs=STANDARD_Inst.Services
  51. [dinput_Service_Inst]
  52. DisplayName = %dinput.SvcDesc%
  53. ServiceType = 1 ; SERVICE_KERNEL_DRIVER
  54. StartType = 3 ; SERVICE_DEMAND_START
  55. ErrorControl = 1 ; SERVICE_ERROR_NORMAL
  56. ;LoadOrderGroup = Keyboard Port
  57. ServiceBinary = %12%\dinput.sys
  58. ;[dinput.HW]
  59. ; Add the device upper filter
  60. ;AddReg = dinput.HW.AddReg
  61. ; run the directives need by the port driver
  62. ;Include=keyboard.inf
  63. ;Needs=STANDARD_Inst.HW
  64. ;
  65. ; Source file information
  66. ;
  67. ; use [SourceDisksNames.x86] for x86 only installs
  68. ; use [SourceDisksNames.alpha] for alpha only installs
  69. [SourceDisksNames]
  70. 1 = %DiskId1%,,,
  71. [SourceDisksFiles]
  72. dinput.sys = 1,,
  73. [Strings]
  74. ;
  75. ; Non-Localizable Strings
  76. ;
  77. REG_SZ = 0x00000000
  78. REG_MULTI_SZ = 0x00010000
  79. REG_EXPAND_SZ = 0x00020000
  80. REG_BINARY = 0x00000001
  81. REG_DWORD = 0x00010001
  82. SERVICEROOT = "System\CurrentControlSet\Services"
  83. ;
  84. ; Localizable Strings
  85. ;
  86. DiskId1 = "DINPUT Kernel-Mode Driver Disk #1"
  87. DDK_Ex = "DINPUT Kernel-Mode Driver"
  88. dinput.SvcDesc="DINPUT Kernel-Mode Driver"