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.

154 lines
3.9 KiB

  1. ;
  2. ; MXPORT.INF
  3. ; Copyright (c) 1999 Moxa Technologies Inc.
  4. ;
  5. ;
  6. ; Version section
  7. ;
  8. [Version]
  9. Signature="$Windows NT$"
  10. Class=MultiPortSerial
  11. ClassGuid={50906CB8-BA12-11D1-BF5D-0000F805F530}
  12. Provider=%MoxaTech%
  13. LayoutFile=layout.inf
  14. DriverVer=08/21/2000,1.0
  15. [ControlFlags]
  16. ExcludeFromSelect = PCI\VEN_1393&DEV_2180,PCI\VEN_1393&DEV_3200,PCI\VEN_1393&DEV_2180&SUBSYS_21801393&REV_02,PCI\VEN_1393&DEV_3200&SUBSYS_32001393&REV_02
  17. ;
  18. ; Manufacturer Section
  19. ;
  20. [Manufacturer]
  21. %MoxaTech%=MoxaMfg
  22. ;
  23. ; Manufacturer Name Section
  24. ;
  25. [MoxaMfg]
  26. %C218TPCI.DevDesc%=C218TPCI,PCI\VEN_1393&DEV_2180,PCI\VEN_1393&DEV_2180&SUBSYS_21801393&REV_02
  27. %C320TPCI.DevDesc%=C320TPCI,PCI\VEN_1393&DEV_3200,PCI\VEN_1393&DEV_3200&SUBSYS_32001393&REV_02
  28. ;
  29. ; Install Section
  30. ;
  31. [C218TPCI]
  32. AddReg = MX_AddRegistry
  33. CopyFiles=INF.Copy,MX.Copy,Driver.copy
  34. [C218TPCI.Services]
  35. AddService = mxport,, MX_Port_Service_Install, MX_Port_EventLog_Install
  36. AddService = mxcard, 0x00000002, MX_Service_Install, MX_EventLog_Install
  37. [C218TPCI.CoInstallers]
  38. CopyFiles=CoInstallers.Copy
  39. AddReg = CoInstaller_AddReg
  40. [C320TPCI]
  41. AddReg = MX_AddRegistry
  42. CopyFiles=INF.Copy,MX.Copy,Driver.copy
  43. [C320TPCI.Services]
  44. AddService = mxport,, MX_Port_Service_Install, MX_Port_EventLog_Install
  45. AddService = mxcard, 0x00000002, MX_Service_Install, MX_EventLog_Install
  46. [C320TPCI.CoInstallers]
  47. CopyFiles=CoInstallers.Copy
  48. AddReg = CoInstaller_AddReg
  49. ;----------------------------------------------------------------------------
  50. ; MX Service installation
  51. ;----------------------------------------------------------------------------
  52. [MX_Service_Install]
  53. DisplayName = %MxServiceDesc%
  54. ServiceType = %SERVICE_KERNEL_DRIVER%
  55. ;;StartType = %SERVICE_AUTO_START%
  56. StartType = %SERVICE_DEMAND_START%
  57. ErrorControl = %SERVICE_ERROR_NORMAL%
  58. ServiceBinary = %12%\mxcard.sys
  59. LoadOrderGroup = Extended base
  60. [MX_Port_Service_Install]
  61. DisplayName = %MxPortServiceDesc%
  62. ServiceType = %SERVICE_KERNEL_DRIVER%
  63. ;;StartType = %SERVICE_AUTO_START%
  64. StartType = %SERVICE_DEMAND_START%
  65. ErrorControl = %SERVICE_ERROR_NORMAL%
  66. ServiceBinary = %12%\mxport.sys
  67. LoadOrderGroup = Extended base
  68. [CoInstaller_AddReg]
  69. HKR,,CoInstallers32,0x00010000,"mxicfg.dll,MxICoInstaller"
  70. ;----------------------------------------------------------------------------
  71. ; Mx Event Log installation
  72. ;----------------------------------------------------------------------------
  73. [MX_EventLog_Install]
  74. AddReg=MX_EventLog_AddReg
  75. [MX_EventLog_AddReg]
  76. HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\mxcard.sys"
  77. HKR,,TypesSupported, %REG_DWORD%,7
  78. ;----------------------------------------------------------------------------
  79. ; Mx Port Event Log installation
  80. ;----------------------------------------------------------------------------
  81. [MX_Port_EventLog_Install]
  82. AddReg=MX_Port_EventLog_AddReg
  83. [MX_Port_EventLog_AddReg]
  84. HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\mxport.sys"
  85. HKR,,TypesSupported, %REG_DWORD%,7
  86. ;----------------------------------------------------------------------------
  87. ; MX Registry installation
  88. ;----------------------------------------------------------------------------
  89. [MX_AddRegistry]
  90. ;root, subkey, valuename, flags, value
  91. HKR,Parameters,,%REG_BINARY%,0
  92. HKR,,EnumPropPages32,,"mxicfg.dll,EnumPropPages"
  93. ;
  94. ; File-List Section
  95. ;
  96. [INF.Copy]
  97. ;mxboard.inf
  98. ;mxport.inf
  99. [Driver.Copy]
  100. mxcard.sys
  101. mxport.sys
  102. [MX.Copy]
  103. mxicfg.dll
  104. mxport.dll
  105. c218tnt.cod
  106. c320tnt.cod
  107. [Coinstallers.Copy]
  108. ;;mxicfg.dll
  109. ;
  110. ; DestinationDirs Section
  111. ;
  112. [DestinationDirs]
  113. MX.Copy=11 ; System diretory
  114. Coinstallers.Copy=11 ; System diretory
  115. Driver.Copy=12 ; System32/Driver
  116. INF.Copy=17 ; INF directory
  117. DefaultDestDir=11 ; System diretory