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.

153 lines
4.6 KiB

  1. ;cyyport.inf
  2. ;Copyright (c) 2000-2001 Cyclades Corporation
  3. [version]
  4. Signature = "$Windows NT$"
  5. Class = Ports
  6. ClassGUID = {4d36e978-e325-11ce-bfc1-08002be10318}
  7. Provider = %Cyclades%
  8. LayoutFile = layout.inf
  9. DriverVer = 12/12/2001,1.0.25.0
  10. [DestinationDirs]
  11. system_dir = 11 ; %windir%\system32
  12. driver_dir = 12 ; %windir%\system32\drivers
  13. [Manufacturer]
  14. %Cyclades% = Cyclades
  15. [Cyclades]
  16. ; DisplayName Section DeviceID
  17. ; ----------- ------- --------
  18. %CyclomyPort1% = y_inst.nt, Cyclom-Y\Port1
  19. %CyclomyPort2% = y_inst.nt, Cyclom-Y\Port2
  20. %CyclomyPort3% = y_inst.nt, Cyclom-Y\Port3
  21. %CyclomyPort4% = y_inst.nt, Cyclom-Y\Port4
  22. %CyclomyPort5% = y_inst.nt, Cyclom-Y\Port5
  23. %CyclomyPort6% = y_inst.nt, Cyclom-Y\Port6
  24. %CyclomyPort7% = y_inst.nt, Cyclom-Y\Port7
  25. %CyclomyPort8% = y_inst.nt, Cyclom-Y\Port8
  26. %CyclomyPort9% = y_inst.nt, Cyclom-Y\Port9
  27. %CyclomyPort10% = y_inst.nt, Cyclom-Y\Port10
  28. %CyclomyPort11% = y_inst.nt, Cyclom-Y\Port11
  29. %CyclomyPort12% = y_inst.nt, Cyclom-Y\Port12
  30. %CyclomyPort13% = y_inst.nt, Cyclom-Y\Port13
  31. %CyclomyPort14% = y_inst.nt, Cyclom-Y\Port14
  32. %CyclomyPort15% = y_inst.nt, Cyclom-Y\Port15
  33. %CyclomyPort16% = y_inst.nt, Cyclom-Y\Port16
  34. %CyclomyPort17% = y_inst.nt, Cyclom-Y\Port17
  35. %CyclomyPort18% = y_inst.nt, Cyclom-Y\Port18
  36. %CyclomyPort19% = y_inst.nt, Cyclom-Y\Port19
  37. %CyclomyPort20% = y_inst.nt, Cyclom-Y\Port20
  38. %CyclomyPort21% = y_inst.nt, Cyclom-Y\Port21
  39. %CyclomyPort22% = y_inst.nt, Cyclom-Y\Port22
  40. %CyclomyPort23% = y_inst.nt, Cyclom-Y\Port23
  41. %CyclomyPort24% = y_inst.nt, Cyclom-Y\Port24
  42. %CyclomyPort25% = y_inst.nt, Cyclom-Y\Port25
  43. %CyclomyPort26% = y_inst.nt, Cyclom-Y\Port26
  44. %CyclomyPort27% = y_inst.nt, Cyclom-Y\Port27
  45. %CyclomyPort28% = y_inst.nt, Cyclom-Y\Port28
  46. %CyclomyPort29% = y_inst.nt, Cyclom-Y\Port29
  47. %CyclomyPort30% = y_inst.nt, Cyclom-Y\Port30
  48. %CyclomyPort31% = y_inst.nt, Cyclom-Y\Port31
  49. %CyclomyPort32% = y_inst.nt, Cyclom-Y\Port32
  50. [ControlFlags]
  51. ExcludeFromSelect = *
  52. ;-----------------------------------------------
  53. ; y_inst.nt section
  54. ;-----------------------------------------------
  55. [y_inst.nt]
  56. CopyFiles = driver_dir
  57. AddReg = y_reg
  58. [y_inst.nt.HW]
  59. AddReg = y_HW_reg
  60. [y_inst.nt.Services]
  61. AddService = cyyport, 0x00000002, y_service_inst, y_eventlog_inst
  62. [y_inst.nt.CoInstallers]
  63. CopyFiles = system_dir
  64. AddReg = y_coinst_reg
  65. ;-----------------------------------------------
  66. [y_reg]
  67. HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
  68. HKR,,EnumAdvancedDialog,,"CyyPorts.dll,CyyportAdvancedDialog"
  69. [y_HW_reg]
  70. HKR,,"UpperFilters",0x00010000,"serenum"
  71. [y_service_inst]
  72. DisplayName = %Y_Service_DispName%
  73. ServiceType = 1 ;SERVICE_KERNEL_DRIVER
  74. StartType = 3 ;SERVICE_DEMAND_START
  75. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  76. ServiceBinary = %12%\cyyport.sys
  77. LoadOrderGroup = ExtendedBase
  78. [y_eventlog_inst]
  79. AddReg = y_eventlog_reg
  80. [y_eventlog_reg]
  81. HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\cyyport.sys"
  82. HKR,, TypesSupported, 0x00010001, 7
  83. [y_coinst_reg]
  84. HKR,,CoInstallers32,0x00010000,"cyyports.dll,CyyportCoInstaller"
  85. [driver_dir]
  86. cyyport.sys
  87. [system_dir]
  88. cyyports.dll
  89. ;-----------------------------------------------
  90. ; Strings section
  91. ;-----------------------------------------------
  92. [Strings]
  93. Cyclades = "Cyclades Corporation"
  94. CyclomyPort1 = "Cyclom-Y Port 1"
  95. CyclomyPort2 = "Cyclom-Y Port 2"
  96. CyclomyPort3 = "Cyclom-Y Port 3"
  97. CyclomyPort4 = "Cyclom-Y Port 4"
  98. CyclomyPort5 = "Cyclom-Y Port 5"
  99. CyclomyPort6 = "Cyclom-Y Port 6"
  100. CyclomyPort7 = "Cyclom-Y Port 7"
  101. CyclomyPort8 = "Cyclom-Y Port 8"
  102. CyclomyPort9 = "Cyclom-Y Port 9"
  103. CyclomyPort10 = "Cyclom-Y Port 10"
  104. CyclomyPort11 = "Cyclom-Y Port 11"
  105. CyclomyPort12 = "Cyclom-Y Port 12"
  106. CyclomyPort13 = "Cyclom-Y Port 13"
  107. CyclomyPort14 = "Cyclom-Y Port 14"
  108. CyclomyPort15 = "Cyclom-Y Port 15"
  109. CyclomyPort16 = "Cyclom-Y Port 16"
  110. CyclomyPort17 = "Cyclom-Y Port 17"
  111. CyclomyPort18 = "Cyclom-Y Port 18"
  112. CyclomyPort19 = "Cyclom-Y Port 19"
  113. CyclomyPort20 = "Cyclom-Y Port 20"
  114. CyclomyPort21 = "Cyclom-Y Port 21"
  115. CyclomyPort22 = "Cyclom-Y Port 22"
  116. CyclomyPort23 = "Cyclom-Y Port 23"
  117. CyclomyPort24 = "Cyclom-Y Port 24"
  118. CyclomyPort25 = "Cyclom-Y Port 25"
  119. CyclomyPort26 = "Cyclom-Y Port 26"
  120. CyclomyPort27 = "Cyclom-Y Port 27"
  121. CyclomyPort28 = "Cyclom-Y Port 28"
  122. CyclomyPort29 = "Cyclom-Y Port 29"
  123. CyclomyPort30 = "Cyclom-Y Port 30"
  124. CyclomyPort31 = "Cyclom-Y Port 31"
  125. CyclomyPort32 = "Cyclom-Y Port 32"
  126. Y_Service_DispName = "Cyclom-Y Port Driver"