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.

105 lines
3.1 KiB

  1. ;cyyport.inf
  2. ;Copyright (c) 2000 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 = 03/12/2001,1.0.9.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. ;-----------------------------------------------
  51. ; y_inst.nt section
  52. ;-----------------------------------------------
  53. [y_inst.nt]
  54. CopyFiles = driver_dir
  55. AddReg = y_reg
  56. [y_inst.nt.HW]
  57. AddReg = y_HW_reg
  58. [y_inst.nt.Services]
  59. AddService = cyyport, 0x00000002, y_service_inst, y_eventlog_inst
  60. [y_inst.nt.CoInstallers]
  61. CopyFiles = system_dir
  62. AddReg = y_coinst_reg
  63. ;-----------------------------------------------
  64. [y_reg]
  65. HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
  66. HKR,,EnumAdvancedDialog,,"CyyPorts.dll,CyyportAdvancedDialog"
  67. [y_HW_reg]
  68. HKR,,"UpperFilters",0x00010000,"serenum"
  69. [y_service_inst]
  70. DisplayName = %Y_Service_DispName%
  71. ServiceType = 1 ;SERVICE_KERNEL_DRIVER
  72. StartType = 3 ;SERVICE_DEMAND_START
  73. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  74. ServiceBinary = %12%\cyyport.sys
  75. LoadOrderGroup = ExtendedBase
  76. [y_eventlog_inst]
  77. AddReg = y_eventlog_reg
  78. [y_eventlog_reg]
  79. HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\cyyport.sys"
  80. HKR,, TypesSupported, 0x00010001, 7
  81. [y_coinst_reg]
  82. HKR,,CoInstallers32,0x00010000,"cyyports.dll,CyyportCoInstaller"
  83. [driver_dir]
  84. cyyport.sys
  85. [system_dir]
  86. cyyports.dll