[Version]
Signature = "$WINDOWS NT$"
Class = SCSIAdapter
ClassGUID = {4D36E97B-E325-11CE-BFC1-08002BE10318}
Provider = %RANFS%
DriverVer = 02/06/2019,1.0.0.4
CatalogFile = rfdisk.cat

[SourceDisksFiles.x86]
rfdisk.sys = 1, x86

[SourceDisksFiles.amd64]
rfdisk.sys = 1, x64

[DestinationDirs]
DefaultDestDir = 12

[Manufacturer]
%RANFS%=RANFS, NTx86, NTamd64

[RANFS.NTx86]
%PhysicalDiskMounterDeviceDescription% = RFDiskDev, ROOT\RFDisk

[RANFS.NTamd64]
%PhysicalDiskMounterDeviceDescription% = RFDiskDev, ROOT\RFDisk

[RFDiskDev]
CopyFiles = @rfdisk.sys

[RFDiskDev.HW]
AddReg = RFDisk_AddReg

[RFDiskDev.Services]
AddService = rfdisk, %SPSVCINST_ASSOCSERVICE%, RFDisk_PnP_Service_Inst

[RFDisk_AddReg]
HKR, "ScsiPort", "NeedsSystemShutdownNotification", 0x00010001, 1

[SourceDisksNames]
1 = %DiskId1%,,,

[RFDisk_PnP_Service_Inst]
DisplayName    = "RanFS Virtual Disk Driver Miniport"
Description    = "SCSI emulation miniport"
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\rfdisk.sys
LoadOrderGroup = SCSI Miniport
AddReg         = Service_AddReg

[Service_AddReg]
HKR, "Parameters\PnpInterface", "0",    %REG_DWORD%,  0x00000001
HKR, "Parameters\PnpInterface", "1",    %REG_DWORD%,  0x00000001
HKR, "Parameters\PnpInterface", "5",    %REG_DWORD%,  0x00000001
HKR, "Parameters\PnpInterface", "14",   %REG_DWORD%,  0x00000001
HKR, "Parameters\PnpInterface", "15",   %REG_DWORD%,  0x00000001
HKR, "Parameters", "NumberOfBuses",     %REG_DWORD%,  0x00000001
HKR, "Parameters", "ProxyReadTimeOut",  %REG_DWORD%,  0x0000000a
HKR, "Parameters", "DebugLevel",        %REG_DWORD%,  0x00000006

[Strings]
RANFS = "ranfs.com"
SCSIClassName = "SCSI and RAID controllers"
PhysicalDiskMounterDeviceDescription = "RanFS Virtual Disk Driver"
DiskId1 = "RanFS Virtual Disk Driver #1"

SPSVCINST_ASSOCSERVICE = 0x00000002
SERVICE_KERNEL_DRIVER  = 1
SERVICE_BOOT_START     = 0
SERVICE_DEMAND_START   = 3
SERVICE_ERROR_NORMAL   = 1

REG_DWORD              = 0x00010001
REG_BINARY             = 0x00000001
REG_SZ                 = 0x00000000
