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.

125 lines
3.8 KiB

  1. ; NETIrDA.INF -- IrDA transport
  2. ;
  3. ; Copyright (c) Microsoft Corporation. All rights reserved.
  4. [version]
  5. Signature = "$Windows NT$"
  6. Class = NetTrans
  7. ClassGUID = {4d36e975-e325-11ce-bfc1-08002be10318}
  8. Provider = %Msft%
  9. LayoutFile = layout.inf
  10. [ControlFlags]
  11. ;-----------------------------------------------------
  12. ExcludeFromSelect = MS_IrDA
  13. [Manufacturer]
  14. ;-----------------------------------------------------
  15. %Msft% = Msft
  16. [Msft]
  17. ;-----------------------------------------------------
  18. %IrDA.DisplayName% = IrDA.Install, MS_IrDA
  19. [IrDA.Install]
  20. ;-----------------------------------------------------
  21. Characteristics = 0x0028 ; NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
  22. AddReg = IrDA.Reg
  23. CopyFiles = Irda.CopyFiles.Drivers, Irda.CopyFiles.Apps, Irda.CopyFiles.Media
  24. [IrDA.Reg]
  25. ;-----------------------------------------------------
  26. HKR, Ndi, HelpText, 0, %IrDA.HelpText%
  27. HKR, Ndi, RequiredAll, 0, "MS_IrdaMiniport"
  28. HKR, Ndi, Service, 0, "IrDA"
  29. HKR, Ndi, CoServices, %REG_MULTI_SZ%, "IrDA", "Irmon"
  30. HKR, Ndi\Interfaces, UpperRange, 0, "noupper"
  31. HKR, Ndi\Interfaces, LowerRange, 0, "ndisirda"
  32. [IrDA.Install.Services]
  33. ;-----------------------------------------------------
  34. AddService = irda, 0, IrDA.AddService
  35. AddService = Irmon, 0, Irmon.AddService
  36. [IrDA.AddService]
  37. ;-----------------------------------------------------
  38. DisplayName = %IrDA.DisplayName%
  39. ServiceType = 1 ;%SERVICE_KERNEL_DRIVER%
  40. StartType = 2 ;%SERVICE_AUTO_START%
  41. ErrorControl = 1 ;%SERVICE_ERROR_NORMAL%
  42. ServiceBinary = %12%\irda.sys
  43. LoadOrderGroup = "PNP_TDI"
  44. AddReg = IrDA.RegParams
  45. Description = %IrDA.DisplayName%
  46. [IrDA.RegParams]
  47. ;-----------------------------------------------------
  48. HKR, Parameters, WindowSize, %FLG_ADDREG_TYPE_DWORD%, 15
  49. ; The maximum receive window is limited to 4 because of
  50. ; the IrDA protocols window of 7 which prevents the protocol
  51. ; from detecting invalid frames if there is large delays
  52. ; in the receive path. Limiting this to 4 has negligible
  53. ; impact on throughput.
  54. ; 15 = bit 0 - 3.
  55. [IrDA.Install.Winsock]
  56. ;-----------------------------------------------------
  57. AddSock = IrDA.AddWinsockHelper
  58. [IrDA.AddWinsockHelper]
  59. ;-----------------------------------------------------
  60. TransportService = irda
  61. HelperDllName = "%SystemRoot%\System32\wshirda.dll"
  62. MaxSockAddrLength = 0x32
  63. MinSockAddrLength = 0x8
  64. [Irmon.AddService]
  65. ;-----------------------------------------------------
  66. DisplayName = %Irmon.DisplayName%
  67. ServiceType = 0x20 ;SERVICE_WIN32_SHARE_PROCESS
  68. StartType = 2 ;SERVICE_AUTO_START
  69. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  70. ServiceBinary = %11%\svchost.exe -k netsvcs
  71. LoadOrderGroup = TDI
  72. Dependencies = irda, RpcSs, TermService
  73. AddReg = Irmon.Reg
  74. Description = %Irmon.Description%
  75. [Irmon.Reg]
  76. ;-----------------------------------------------------
  77. HKR, Parameters, ServiceDll, 0x00020000, "%%SystemRoot%%\System32\irmon.dll"
  78. HKR, Parameters, TrayEnabled,%FLG_ADDREG_TYPE_DWORD%, 1
  79. [IrDA.Install.Remove.Services]
  80. ;-----------------------------------------------------
  81. DelService=irda
  82. DelService=Irmon
  83. [IrDA.Install.Remove.Winsock]
  84. ;-----------------------------------------------------
  85. DelSock = IrDA.DelWinsockHelper
  86. [IrDA.DelWinsockHelper]
  87. ;-----------------------------------------------------
  88. TransportService = irda
  89. [DestinationDirs]
  90. Irda.CopyFiles.Drivers = 12
  91. Irda.CopyFiles.Apps = 11
  92. Irda.CopyFiles.Media = 10, media
  93. [Irda.CopyFiles.Drivers]
  94. irda.sys
  95. rasirda.sys
  96. [Irda.CopyFiles.Apps]
  97. irftp.exe
  98. irmon.dll
  99. irprops.cpl
  100. wshirda.dll
  101. [Irda.CopyFiles.Media]
  102. Ir_begin.wav
  103. ir_end.wav
  104. ir_inter.wav