Leaked source code of windows server 2003
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
4.7 KiB

  1. [Version]
  2. Signature="$WINDOWS NT$"
  3. Class=HIDClass
  4. ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
  5. Provider=%VENDOR%
  6. LayoutFile=layout.inf
  7. [DestinationDirs]
  8. LwJoy.CopyFilesDLL.NT = 11 ;%SystemRoot%\system32
  9. LwJoy.CopyFilesSYS.NT = 12 ;%SystemRoot%\system32\drivers
  10. [ControlFlags]
  11. ExcludeFromSelect = GamePort\VID_046d&PID_C020
  12. ExcludeFromSelect = GamePort\VID_046d&PID_C021
  13. ExcludeFromSelect = GamePort\VID_046d&PID_C022
  14. ExcludeFromSelect = GamePort\VID_046d&PID_C023
  15. ExcludeFromSelect = GamePort\VID_046d&PID_C024
  16. ExcludeFromSelect = GamePort\VID_046d&PID_C025
  17. ExcludeFromSelect = GamePort\VID_046d&PID_C026
  18. ExcludeFromSelect = GamePort\VID_046d&PID_C027
  19. ExcludeFromSelect = GamePort\VID_046d&PID_C028
  20. ExcludeFromSelect = GamePort\VID_046d&PID_C029
  21. [Manufacturer]
  22. %VENDOR%=Standard
  23. [Standard]
  24. ; These are the game port devices
  25. %WgmExtrmDgtlSvcDesc.Name%= LwJoy.WgmDig,, GamePort\WingManDigitalDevice
  26. %WgmExtrmDgtl.Name%= LwJoy.WgmDig,, GamePort\VID_046d&PID_C020
  27. %CyberManIIDgtl.Name%= LwJoy.WgmDig,, GamePort\VID_046d&PID_C021
  28. %ThndrPadDgtl.Name%= LwJoy.WgmDig,, GamePort\VID_046d&PID_C022
  29. %WgmIntrCptr.Name%= LwJoy.WgmDig,, GamePort\VID_046d&PID_C023
  30. %WgmGamePad.Name%= LwJoy.WgmDig,, GamePort\VID_046d&PID_C024
  31. %WgmFormula.Name%= LwJoy.WgmDig,, GamePort\VID_046d&PID_C025
  32. %WgmGpBlk.Name%= LwJoy.WgmDig,, GamePort\VID_046d&PID_C026
  33. %WgmGpExt.Name%= LwJoy.WgmDig,, GamePort\VID_046d&PID_C027
  34. %WgmFormulaY.Name%= LwJoy.WgmDig,, GamePort\VID_046d&PID_C028
  35. %WgmExtrmDgtl3D.Name%= LwJoy.WgmDig,, GamePort\VID_046d&PID_C029
  36. ;------------- NT INSTALL ---------------------------------------------
  37. [LwJoy.WgmDig.NT]
  38. CopyFiles = LwJoy.CopyFilesSYS.NT, LwJoy.CopyFilesDLL.NT
  39. AddReg = LwJoy.WgmDig.AddReg
  40. ;-------------COPY FILE ---------------------------------------------
  41. [LwJoy.CopyFilesSYS.NT]
  42. ; driver files to copy
  43. LwAdiHid.sys
  44. hidparse.sys
  45. hidclass.sys
  46. [LwJoy.CopyFilesDLL.NT]
  47. ; dll files to copy
  48. hid.dll
  49. [LwJoy.WgmDig.NT.Services]
  50. AddService = LwAdiHid,0x00000002,WgmDig_Service_Inst
  51. [WgmDig_Service_Inst]
  52. DisplayName = %WgmExtrmDgtlSvcDesc.Name%
  53. ServiceType = 1 ; SERVICE_KERNEL_DRIVER
  54. StartType = 3 ; SERVICE_DEMAND_START
  55. ErrorControl = 0 ; SERVICE_ERROR_IGNORE
  56. ServiceBinary = %12%\LwAdiHid.sys
  57. LoadOrderGroup = Extended Base
  58. ;-------------ADD REG ---------------------------------------------
  59. ; --- bus
  60. [LwJoy.WgmDig.AddReg]
  61. HKLM,%WgmOem.WgmExtrmDgtlSvcDesc%,OEMName,,%WgmExtrmDgtlSvcDesc.Name%
  62. HKLM,%WgmOem.WgmExtrmDgtlSvcDesc%\,OEMData, 1, 00, 00, 00, 00, 00, 00, 00, 00
  63. HKLM,%WgmOem.WgmExtrmDgtlSvcDesc%\,OEMHardwareID,,"GamePort\WingManDigitalDevice"
  64. HKLM,%WgmOem.WgmExtrmDgtl%,OEMName,,%WgmExtrmDgtl.Name%
  65. HKLM,%WgmOem.WgmExtrmDgtl%\,OEMData, 1, 03, 00, 00, 10, 06, 00, 00, 00
  66. HKLM,%WgmOem.WgmExtrmDgtl%\,OEMHardwareID,,"GamePort\VID_046d&PID_C020"
  67. HKLM,%WgmOem.CyberManIIDgtl%,OEMName,,%CyberManIIDgtl.Name%
  68. HKLM,%WgmOem.CyberManIIDgtl%\,OEMData, 1, 01, 00, 88, 11, 08, 00, 00, 00
  69. HKLM,%WgmOem.CyberManIIDgtl%\,OEMHardwareID,,"GamePort\VID_046d&PID_C021"
  70. HKLM,%WgmOem.ThndrPadDgtl%,OEMName,,%ThndrPadDgtl.Name%
  71. HKLM,%WgmOem.ThndrPadDgtl%\,OEMData, 1, 00, 00, 00, 10, 08, 00, 00, 00
  72. HKLM,%WgmOem.ThndrPadDgtl%\,OEMHardwareID,,"GamePort\VID_046d&PID_C022"
  73. HKLM,%WgmOem.WgmIntrCptr%,OEMName,,%WgmIntrCptr.Name%
  74. HKLM,%WgmOem.WgmIntrCptr%\,OEMData, 1, 03, 00, 00, 10, 09, 00, 00, 00
  75. HKLM,%WgmOem.WgmIntrCptr%\,OEMHardwareID,,"GamePort\VID_046d&PID_C023"
  76. HKLM,%WgmOem.WgmGamePad%,OEMName,,%WgmGamePad.Name%
  77. HKLM,%WgmOem.WgmGamePad%\,OEMData, 1, 00, 00, 00, 10, 0b, 00, 00, 00
  78. HKLM,%WgmOem.WgmGamePad%\,OEMHardwareID,,"GamePort\VID_046d&PID_C024"
  79. HKLM,%WgmOem.WgmFormula%,OEMName,,%WgmFormula.Name%
  80. HKLM,%WgmOem.WgmFormula%\,OEMData, 1, 41, 00, 00, 10, 06, 00, 00, 00
  81. HKLM,%WgmOem.WgmFormula%\,OEMHardwareID,,"GamePort\VID_046d&PID_C025"
  82. HKLM,%WgmOem.WgmGpBlk%,OEMName,,%WgmGpBlk.Name%
  83. HKLM,%WgmOem.WgmGpBlk%\,OEMData, 1, 02, 00, 00, 10, 0b, 00, 00, 00
  84. HKLM,%WgmOem.WgmGpBlk%\,OEMHardwareID,,"GamePort\VID_046d&PID_C026"
  85. HKLM,%WgmOem.WgmGpExt%,OEMName,,%WgmGpExt.Name%
  86. HKLM,%WgmOem.WgmGpExt%\,OEMData, 1, 02, 00, 00, 10, 0b, 00, 00, 00
  87. HKLM,%WgmOem.WgmGpExt%\,OEMHardwareID,,"GamePort\VID_046d&PID_C027"
  88. HKLM,%WgmOem.WgmFormulaY%,OEMName,,%WgmFormulaY.Name%
  89. HKLM,%WgmOem.WgmFormulaY%\,OEMData, 1, 41, 00, 00, 10, 06, 00, 00, 00
  90. HKLM,%WgmOem.WgmFormulaY%\,OEMHardwareID,,"GamePort\VID_046d&PID_C028"
  91. HKLM,%WgmOem.WgmExtrmDgtl3D%,OEMName,,%WgmExtrmDgtl3D.Name%
  92. HKLM,%WgmOem.WgmExtrmDgtl3D%\,OEMData, 1, 04, 00, 00, 10, 07, 00, 00, 00
  93. HKLM,%WgmOem.WgmExtrmDgtl3D%\,OEMHardwareID,,"GamePort\VID_046d&PID_C029"
  94. ;------------- STRING ---------------------------------------------