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.

104 lines
2.5 KiB

  1. ; -- MUXP.INF --
  2. ;
  3. ; Sample MUX INF file
  4. ;
  5. ; Copyright (c) 1993-2001, Microsoft Corporation
  6. [Version]
  7. Signature = "$Windows NT$"
  8. Class = NetTrans
  9. ClassGUID = {4D36E975-E325-11CE-BFC1-08002BE10318}
  10. Provider = %Msft%
  11. DriverVer = 07/25/2000,5.1.2253.1
  12. [Manufacturer]
  13. %Msft% = MSFT
  14. [MSFT]
  15. %MUXP_Desc% = MUXP.ndi, MS_MUXP
  16. ; Note:
  17. ; 1. The NCF_* flags are defined in netcfgx.h
  18. ; 2. NCF_HAS_UI (0x80) is required for custom property pages.
  19. ;
  20. [MUXP.ndi]
  21. AddReg = MUXP.ndi.AddReg
  22. Characteristics = 0x80 ; NCF_HAS_UI
  23. copyfiles = MUXP.CopyFiles.DLL, MUXP.CopyFiles.sys
  24. CopyInf = mux_mp.inf
  25. [SourceDisksNames]
  26. 1=%DiskDescription%,"",,
  27. [SourceDisksFiles]
  28. mux.sys = 1
  29. mux.dll = 1
  30. [DestinationDirs]
  31. DefaultDestDir = 12
  32. MUXP.CopyFiles.DLL = 11 ; %windir%\System32
  33. MUXP.CopyFiles.Sys = 12 ; %windir%\System32\drivers
  34. [MUXP.CopyFiles.Sys]
  35. mux.sys,,,2
  36. [MUXP.CopyFiles.DLL]
  37. mux.dll,,,2
  38. [InfSourcePathInfo]
  39. ; Used by the notify object on Win2k to figure out where the original media is
  40. ; located (so it can use SetupCopyOEMInf to install Net INF located
  41. ; there). This workaround is to avoid copyinf INF file directly
  42. ; by using CopyFiles directive becuase Win2K doesn't support CopyINF directive.
  43. OriginalInfSourcePath = %1%
  44. ;-----------------------------------------------------------------------
  45. ; Install parameters
  46. ;
  47. [MUXP.ndi.AddReg]
  48. HKR, Ndi, ClsID, 0, {ee6cd6fc-a32b-4a26-8a1c-dbc97988ad7a}
  49. HKR, Ndi, ComponentDll, , mux.dll
  50. HKR, Ndi, HelpText, 0, "%MUXP_HELP%"
  51. HKR, Ndi, Service, 0, "MUXP"
  52. HKR, Ndi\Interfaces, UpperRange, 0, "noupper"
  53. HKR, Ndi\Interfaces, LowerRange, 0, "ndis5"
  54. [MUXP.ndi.Services]
  55. AddService = MUXP, , MUXP.AddService, MUXP.AddEventLog
  56. [MUXP.AddService]
  57. DisplayName = %MUXP_Desc%
  58. ServiceType = 1 ;SERVICE_KERNEL_DRIVER
  59. StartType = 3 ;SERVICE_DEMAND_START
  60. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  61. ServiceBinary = %12%\mux.sys
  62. LoadOrderGroup = PNP_TDI
  63. Description = %MUXP_Desc%
  64. [MUXP.AddEventLog]
  65. AddReg = MUXP.AddEventLog.AddReg
  66. [MUXP.AddEventLog.AddReg]
  67. HKR, , EventMessageFile, 0x20000, "%%SystemRoot%%\System32\netevent.dll"
  68. HKR, , TypesSupported, 0x10001, 7
  69. [MUXP.ndi.Remove.Services]
  70. DelService = MUXP
  71. [MUXP.ndi.Remove]
  72. DelFiles = MUXP.CopyFiles.DLL, MUXP.CopyFiles.sys
  73. [Strings]
  74. Msft = "Microsoft"
  75. MUXP_Desc = "Sample Mux-IM Protocol Driver"
  76. MUXP_HELP = "Sample Mux-IM Protocol"
  77. DiskDescription = "Microsoft MUX Sample Driver Disk"