; Copyright (c) Microsoft Corporation.  All rights reserved.

[Version]
Signature="$WINDOWS NT$"
Class=Ramdisk
ClassGuid={9D6D66A6-0B0C-4563-9077-A0E9A7955AE4}
Provider=%MS%
DriverVer=06/21/2006,6.1.7600.16385

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
ramdisk.sys 		= 3426

[DestinationDirs]
DefaultDestDir = 12

[ClassInstall32]
AddReg=RamdiskClassReg

[RamdiskClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-5

[BusCopyfiles]
ramdisk.sys

[VolumeCopyFiles]

[Manufacturer]
%MS% = RamdiskDevice,NTx86

[RamdiskDevice.NTx86]
%RamdiskBusDesc% = BusInstall, Ramdisk, DetectedInternal\Ramdisk, Detected\Ramdisk
%RamdiskVolumeDesc% = VolumeInstall, Ramdisk\RamVolume

[ControlFlags]
ExcludeFromSelect = Ramdisk\Volume

[BusInstall.NT]
CopyFiles = BusCopyfiles

[BusInstall.NT.Services]
AddService = Ramdisk, %SPSVCINST_ASSOCSERVICE%, BusServiceInst

[VolumeInstall.NT]
CopyFiles = VolumeCopyFiles

[VolumeInstall.NT.Services]
AddService = , %SPSVCINST_ASSOCSERVICE% ; null service installation

[BusServiceInst]
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
DisplayName   = %RamdiskServiceDesc%
ServiceBinary = %12%\ramdisk.sys
AddReg        = BusAddReg

[BusAddReg]
HKR, "Debug", "DebugComponents",   %REG_DWORD%, 0x7FFFFFFF
HKR, "Debug", "DebugLevel",        %REG_DWORD%, 0x00000005

[Strings]
;Localizable
MS                 = "Microsoft"
ClassName          = "Ramdisk"
RamdiskBusDesc     = "Windows RAM Disk Controller"
RamdiskDiskDesc    = "Windows RAM Disk Device (disk)"
RamdiskVolumeDesc  = "Windows RAM Disk Device (volume)"
RamdiskServiceDesc = "Windows RAM Disk Driver"

;*******************************************
;Non-localizable, handy macro substitutions
SPSVCINST_ASSOCSERVICE = 0x00000002
SERVICE_KERNEL_DRIVER  = 1
SERVICE_DEMAND_START   = 3
SERVICE_ERROR_NORMAL   = 1
REG_DWORD              = 0x00010001

