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.

57 lines
1.3 KiB

  1. ; Copyright (c) Microsoft Corporation. All rights reserved.
  2. [Version]
  3. Signature="$WINDOWS NT$"
  4. Class=Ramdisk
  5. ClassGuid={9D6D66A6-0B0C-4563-9077-A0E9A7955AE4}
  6. Provider=%MS%
  7. LayoutFile=layout.inf
  8. [DestinationDirs]
  9. DefaultDestDir = 12
  10. [ClassInstall32]
  11. AddReg=RamdiskClassReg
  12. [RamdiskClassReg]
  13. HKR,,,0,%ClassName%
  14. HKR,,Icon,,-5
  15. [BusCopyfiles]
  16. ramdisk.sys
  17. [VolumeCopyFiles]
  18. [Manufacturer]
  19. %MS% = RamdiskDevice
  20. [RamdiskDevice]
  21. %RamdiskBusDesc% = BusInstall, Ramdisk, DetectedInternal\Ramdisk, Detected\Ramdisk
  22. %RamdiskVolumeDesc% = VolumeInstall, Ramdisk\RamVolume
  23. [ControlFlags]
  24. ExcludeFromSelect = Ramdisk\Volume
  25. [BusInstall.NT]
  26. CopyFiles = BusCopyfiles
  27. [BusInstall.NT.Services]
  28. AddService = Ramdisk, %SPSVCINST_ASSOCSERVICE%, BusServiceInst
  29. [VolumeInstall.NT]
  30. CopyFiles = VolumeCopyFiles
  31. [VolumeInstall.NT.Services]
  32. AddService = , %SPSVCINST_ASSOCSERVICE% ; null service installation
  33. [BusServiceInst]
  34. ServiceType = %SERVICE_KERNEL_DRIVER%
  35. StartType = %SERVICE_DEMAND_START%
  36. ErrorControl = %SERVICE_ERROR_NORMAL%
  37. DisplayName = %RamdiskServiceDesc%
  38. ServiceBinary = %12%\ramdisk.sys
  39. AddReg = BusAddReg
  40. [BusAddReg]
  41. HKR, "Debug", "DebugComponents", %REG_DWORD%, 0x7FFFFFFF
  42. HKR, "Debug", "DebugLevel", %REG_DWORD%, 0x00000005