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.

75 lines
2.3 KiB

  1. ;-------------------------------------------------------------------------
  2. ; NDISPROT.INF -- Sample NDIS Protocol Driver
  3. ;
  4. ; Copyright (c) 2003, Microsoft Corporation
  5. ;-------------------------------------------------------------------------
  6. [version]
  7. Signature = "$Windows NT$"
  8. Class = NetTrans
  9. ClassGUID = {4d36e975-e325-11ce-bfc1-08002be10318}
  10. Provider = %Msft%
  11. LayoutFile = layout.inf
  12. [Manufacturer]
  13. %Msft%=MSFT
  14. [MSFT]
  15. %NDISPROT_Desc%=Install, MS_NDISPROT
  16. ;-------------------------------------------------------------------------
  17. ; Installation Section
  18. ;-------------------------------------------------------------------------
  19. [Install]
  20. AddReg=Inst_Ndi
  21. Characteristics=0x0 ;
  22. CopyFiles=CpyFiles_Sys
  23. ;-------------------------------------------------------------------------
  24. ; Ndi installation support
  25. ;-------------------------------------------------------------------------
  26. [Inst_Ndi]
  27. HKR,Ndi,Service,,"Ndisprot"
  28. HKR,Ndi,HelpText,,%NDISPROT_HelpText%
  29. HKR, Ndi\Interfaces, UpperRange,, noupper
  30. HKR,"Ndi\Interfaces","LowerRange",,"ndis5,ndis4,ndis5_prot"
  31. ;-------------------------------------------------------------------------
  32. ; Service installation support
  33. ;-------------------------------------------------------------------------
  34. [Install.Services]
  35. AddService=Ndisprot,,NDISPROT_Service_Inst
  36. [NDISPROT_Service_Inst]
  37. DisplayName = %NDISPROT_Desc%
  38. ServiceType = 1 ;SERVICE_KERNEL_DRIVER
  39. StartType = 3 ;SERVICE_MANUAL_START
  40. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  41. ServiceBinary = %12%\ndisprot.sys
  42. LoadOrderGroup = NDIS
  43. Description = %NDISPROT_Desc%
  44. [Install.Remove.Services]
  45. DelService=Ndisprot,0x200
  46. ;-------------------------------------------------------------------------
  47. ; Declare Destination Directories for file copy/deletion
  48. ;-------------------------------------------------------------------------
  49. [DestinationDirs]
  50. CpyFiles_Sys = 12 ; DIRID_DRIVERS
  51. ;-------------------------------------------------------------------------
  52. ; Files to Copy/Delete - Referenced by Install and Remove sections above
  53. ;-------------------------------------------------------------------------
  54. [CpyFiles_Sys]
  55. Ndisprot.sys,,,2
  56. [Strings]
  57. Msft = "Microsoft"
  58. NDISPROT_Desc = Sample NDIS Protocol Driver"
  59. NDISPROT_HelpText = "A driver to support user-mode I/O on NDIS devices"