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.

88 lines
2.7 KiB

  1. ;-------------------------------------------------------------------------
  2. ; NET_TDIC.INF -- Tdi Client Sample Driver
  3. ;
  4. ; Copyright (c) 2001, Microsoft Corporation
  5. ;-------------------------------------------------------------------------
  6. [version]
  7. Signature = $Windows NT$
  8. Class = NetService
  9. Provider = %Msft%
  10. ClassGuid = {4D36E974-E325-11CE-BFC1-08002BE10318}
  11. DriverVer = 04/27/2001, 2.05.01.001
  12. [Manufacturer]
  13. %Msft%=MSFT
  14. [MSFT]
  15. %TdiClient_Desc%=TdiClient.ndi, MS_TDICLI
  16. ;-------------------------------------------------------------------------
  17. ; Installation Section
  18. ;-------------------------------------------------------------------------
  19. [TdiClient.ndi]
  20. Characteristics=0x28 ; NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
  21. CopyFiles=TdiClient.copyfiles.sys, TdiClient.copyfiles.tst
  22. AddReg = TdiClient.AddReg
  23. ;-------------------------------------------------------------------------
  24. ; Ndi installation support
  25. ;-------------------------------------------------------------------------
  26. [TdiClient.AddReg]
  27. HKR,Ndi,Service,,"TdiSample"
  28. HKR,Ndi,HelpText,,%TdiClient_HelpText%
  29. HKR,Ndi\Interfaces, UpperRange, 0, "noupper"
  30. HKR,Ndi\Interfaces, LowerRange, 0, "netbios, ipx, tdi"
  31. ;-------------------------------------------------------------------------
  32. ; Service installation support
  33. ;-------------------------------------------------------------------------
  34. [TdiClient.ndi.Services]
  35. AddService=TdiSample,,TdiClient.Service.Add
  36. [TdiClient.Service.Add]
  37. DisplayName = %TdiClient_Desc%
  38. ServiceType = 1 ;SERVICE_KERNEL_DRIVER
  39. StartType = 3 ;SERVICE_MANUAL_START
  40. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  41. ServiceBinary = %12%\tdisample.sys
  42. Description = %TdiClient_Desc%
  43. ;-------------------------------------------------------------------------
  44. ; Declare Destination Directories for file copy/deletion
  45. ;-------------------------------------------------------------------------
  46. [SourceDisksNames]
  47. 1=%DiskDescription%,"",,
  48. [SourceDisksFiles]
  49. tdisamp.exe=1
  50. tdisample.sys=1
  51. [DestinationDirs]
  52. TdiClient.copyfiles.Sys = 12 ; %windir%\system32\drivers
  53. TdiClient.copyfiles.tst = 11 ; %windir%\system32
  54. ;-------------------------------------------------------------------------
  55. ; Files to Copy/Delete - Referenced by Install and Remove sections above
  56. ;-------------------------------------------------------------------------
  57. [TdiClient.copyfiles.sys]
  58. TdiSample.sys,,,2
  59. [TdiClient.copyfiles.tst]
  60. TdiSamp.exe,,,2
  61. [Strings]
  62. Msft = "Microsoft"
  63. TdiClient_Desc = "Tdi Client Sample Driver"
  64. TdiClient_HelpText = "A driver to illustrate components of a Tdi client"
  65. DiskDescription = "Microsoft Tdiclient Sample Driver Disk"