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.

55 lines
1.3 KiB

  1. ; iscsiprt.inf - Install iScsiPort driver
  2. ;
  3. [Version]
  4. Signature="$Windows NT$"
  5. Class="iScsiPort"
  6. ClassGuid={9117BDDB-06BE-4755-B166-EF810CD8F563}
  7. Provider=%MSFT%
  8. [Manufacturer]
  9. %MSFT%=Microsoft
  10. [Microsoft]
  11. %iScsiPort%=iScsiPort_Install_Control, Root\iScsiPort
  12. [ClassInstall32]
  13. AddReg=iScsiPort_RegistryAdd
  14. [iScsiPort_RegistryAdd]
  15. HKR,,,,%IScsiPort_ClassName%
  16. [iScsiPort_Install_Control]
  17. CopyFiles=iScsiPort_DriverCopy
  18. [iScsiPort_Install_Control.Services]
  19. AddService=iScsiPrt,2,iScsiPort_DriverInstallSection
  20. [DestinationDirs]
  21. iScsiPort_DriverCopy=12 ; copy to system32\drivers
  22. [iScsiPort_DriverCopy]
  23. iscsiprt.sys
  24. [iScsiPort_DriverInstallSection]
  25. DisplayName=%iScsiPortName%
  26. ServiceType = 1 ;SERVICE_KERNEL_DRIVER
  27. StartType = 3 ;SERVICE_DEMAND_START
  28. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  29. ServiceBinary = %12%\iscsiprt.sys
  30. AddReg=Targets_AddReg
  31. [Targets_AddReg]
  32. HKR,"Targets","TargetCount",%REG_DWORD%,1
  33. HKR,"Targets\TargetInfo1","TargetAddress",%REG_DWORD%,0x3064acc0
  34. HKR,"Targets\TargetInfo1","TargetName",%REG_SZ%,"disk1"
  35. ; =================== Generic ==================================
  36. [Strings]
  37. MSFT="Microsoft"
  38. iScsiPort="iScsiPort"
  39. IScsiPort_ClassName="iScsiPort"
  40. iScsiPortName="iScsiPort Driver"
  41. REG_DWORD=0x00010001
  42. REG_SZ=0x00000000