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.

108 lines
2.9 KiB

  1. ;
  2. ; MXPORT.INF
  3. ; Copyright (c) 1999 Moxa Technologies Inc.
  4. ;
  5. [version]
  6. signature="$WINDOWS NT$"
  7. Class=Ports
  8. ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
  9. Provider=%MoxaTech%
  10. LayoutFile=layout.inf
  11. DriverVer=03/02/2000,1.0
  12. ; Manufacturer Section
  13. [Manufacturer]
  14. %MoxaTech%=MoxaMfg
  15. [ControlFlags]
  16. ExcludeFromSelect=*
  17. ; Manufacturer Name Section
  18. [MoxaMfg]
  19. %port0%=MxPort, MxPort000,MxPort
  20. %port1%=MxPort, MxPort001,MxPort
  21. %port2%=MxPort, Mxport002,MxPort
  22. %port3%=MxPort, MxPort003,MxPort
  23. %port4%=MxPort, MxPort004,MxPort
  24. %port5%=MxPort, MxPort005,MxPort
  25. %port6%=MxPort, MxPort006,MxPort
  26. %port7%=MxPort, MxPort007,MxPort
  27. %port8%=MxPort, MxPort008,MxPort
  28. %port9%=MxPort, MxPort009,MxPort
  29. %port10%=MxPort, MxPort010,MxPort
  30. %port11%=MxPort, MxPort011,MxPort
  31. %port12%=MxPort, MxPort012,MxPort
  32. %port13%=MxPort, MxPort013,MxPort
  33. %port14%=MxPort, MxPort014,MxPort
  34. %port15%=MxPort, MxPort015,MxPort
  35. %port16%=MxPort, MxPort016,MxPort
  36. %port17%=MxPort, MxPort017,MxPort
  37. %port18%=MxPort, Mxport018,MxPort
  38. %port19%=MxPort, MxPort019,MxPort
  39. %port20%=MxPort, MxPort020,MxPort
  40. %port21%=MxPort, MxPort021,MxPort
  41. %port22%=MxPort, MxPort022,MxPort
  42. %port23%=MxPort, MxPort023,MxPort
  43. %port24%=MxPort, MxPort024,MxPort
  44. %port25%=MxPort, MxPort025,MxPort
  45. %port26%=MxPort, MxPort026,MxPort
  46. %port27%=MxPort, MxPort027,MxPort
  47. %port28%=MxPort, MxPort028,MxPort
  48. %port29%=MxPort, MxPort029,MxPort
  49. %port30%=MxPort, MxPort030,MxPort
  50. %port31%=MxPort, MxPort031,MxPort
  51. ; Install Sections
  52. [MxPort]
  53. AddReg=MxPort.AddReg
  54. [MxPort.HW]
  55. AddReg=MxPortHW.AddReg
  56. [MxPort.Services]
  57. AddService = Mxport,%SPSVCINST_ASSOCSERVICE%,MxPort.AddService,MxPort.AddEventLog
  58. [MxPort.CoInstallers]
  59. CopyFiles=CoInstallers.Copy
  60. AddReg = Mxport.CoInstallers_AddReg
  61. [MxPort.CoInstallers_AddReg]
  62. HKR,,CoInstallers32,0x00010000,"mxport.dll,MxPortCoInstaller"
  63. [MxPort.AddReg]
  64. HKR,,PortDriver,,mxport.sys
  65. ;;HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
  66. [MxPortHW.AddReg]
  67. HKR,,"UpperFilters",0x00010000,"serenum"
  68. ;****************************************************************************************************
  69. ; Services
  70. ;****************************************************************************************************
  71. [MxPort.AddService]
  72. DisplayName=%MoxaPort.ServiceDesc%
  73. ServiceType=%SERVICE_KERNEL_DRIVER%
  74. StartType=%SERVICE_DEMAND_START%
  75. ErrorControl=%SERVICE_ERROR_NORMAL%
  76. ServiceBinary=%12%\mxport.sys ;12=drivers directory
  77. LoadOrderGroup=Extended base
  78. [MxPort.AddEventLog]
  79. AddReg=MxPort.AddEventLog.AddReg
  80. [MxPort.AddEventLog.AddReg]
  81. HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\mxport.sys"
  82. HKR,,TypesSupported,%REG_DWORD%,7
  83. [Coinstallers.Copy]
  84. ;
  85. ; DestinationDirs Section
  86. ;
  87. [DestinationDirs]
  88. Coinstallers.Copy=11 ; System diretory
  89. DefaultDestDir=11 ; System diretory