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.

110 lines
3.2 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