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.

85 lines
1.8 KiB

  1. ; -- NETNB.INX --
  2. ;
  3. ; NetBIOS subcomponent
  4. ;
  5. ; This component is only installed by the Client For Microsoft Networks
  6. ; component.
  7. ;
  8. ; Copyright (c) Microsoft Corporation. All rights reserved.
  9. [version]
  10. signature="$Windows NT$"
  11. ; NetService
  12. ClassGUID={4D36E974-E325-11CE-BFC1-08002BE10318}
  13. Provider=%Msft%
  14. LayoutFile=layout.inf
  15. [Manufacturer]
  16. %Msft%=MSFT
  17. [ControlFlags]
  18. ExcludeFromSelect = MS_NETBIOS
  19. [MSFT]
  20. %NetBIOS_Desc% = NetBIOS.ndi, MS_NETBIOS
  21. ;
  22. ; NetBIOS Install
  23. ;
  24. [NetBIOS.ndi]
  25. AddReg = NetBIOS.ndi.AddReg
  26. Characteristics = 0x28 ; NCF_NOT_USER_REMOVABLE | NCF_HIDDEN
  27. ;
  28. ; Services Sections
  29. ;
  30. [NetBIOS.ndi.Services]
  31. AddService = NetBIOS, , NetBIOS_Service_Inst, NetBIOS_Evt
  32. ;
  33. ; Remove services
  34. ;
  35. [NetBIOS.ndi.Remove.Services]
  36. DelService = NetBIOS
  37. ;
  38. ; Service Install Sections
  39. ;
  40. [NetBIOS_Service_Inst]
  41. DisplayName = %NetBIOS_Desc%
  42. ServiceType = 2 ;SERVICE_FILE_SYSTEM_DRIVER
  43. StartType = 1 ;SERVICE_SYSTEM_START
  44. ErrorControl = 1
  45. ServiceBinary = %12%\netbios.sys
  46. LoadOrderGroup = NetBIOSGroup
  47. AddReg = NetBIOS.Install.AddReg
  48. Description = %NetBIOS_Desc%
  49. [NetBIOS.Install.AddReg]
  50. HKR,"Parameters",, 0x0010 ; no values. This is required for NetBIOS to start
  51. [NetBIOS.ndi.AddReg]
  52. ;
  53. ; NDI install registry keys
  54. ;
  55. HKR,"Ndi", "Service", 0, "NetBIOS"
  56. HKR,"Ndi", "CoServices", 0x10000, "NetBIOS"
  57. HKR,"Ndi\Interfaces", "UpperRange", 0, "winnet5"
  58. HKR,"Ndi\Interfaces", "LowerRange", 0, "netbios"
  59. ;
  60. ; Event log registry stuff
  61. ;
  62. [NetBIOS_Evt]
  63. AddReg = NetBIOS_Evt_AddReg
  64. [NetBIOS_Evt_AddReg]
  65. HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\iologmsg.dll"
  66. HKR,, TypesSupported, 0x00010001, 0x00000007