[Version]
Signature="$Windows NT$"
Class=MTD
ClassGuid = {4d36e970-e325-11ce-bfc1-08002be10318}
Provider=%Rts%
CatalogFile     = RtsBaStor.cat
DriverVer=06/13/2012,6.1.8400.27023

[SourceDisksFiles]
;RtsBaStor.dll = 99
RtsBaStor.sys = 99
RtsBaStorIcon.dll = 99

[SourceDisksNames.x86]
99 = %DISK_NAME%

[SourceDisksNames.amd64]
99 = %DISK_NAME%

[SourceDisksNames.ia64]
99 = %DISK_NAME%

[DestinationDirs]
CopyFilesSYS = 12     ; should it be 10 to take care of 98 stuff??????
CopyFilesDLL = 11     ; %SystemRoot%\system or system32 - 98 or Win2000
CopyFilesDLL64 = 10,SysWOW64

[Manufacturer]
; For Win2K
%VENDOR%=Vendor, NTx86

[Vendor]
; For XP and later
%Rts5288CR%    = Rts5208.Inst, PCI\VEN_10EC&DEV_5289&CC_FF00
%Rts5288CR%    = Rts5208.Inst, PCI\VEN_10EC&DEV_5286&CC_FF00
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_06781025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_06791025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_067A1025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_067B1025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_067F1025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_06801025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_069B1025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_1886103C
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_1887103C
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_1888103C
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_1894103C
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_1895103C
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_1896103C
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_1897103C
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_18A4103C
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_18A5103C
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_18A6103C
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_18A7103C
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_15511558
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_27031558
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_25121558
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_069D1025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_069E1025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_07181025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_07191025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_07011025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_07021025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_069C1025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_07211025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_18DE103C
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_07311025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_07321025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_07241025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_072A1025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_07531025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_07541025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_24001558
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_05501558

[Vendor.NTx86]
%Rts5288CR%    = Rts5208.Inst, PCI\VEN_10EC&DEV_5289&CC_FF00
%Rts5288CR%    = Rts5208.Inst, PCI\VEN_10EC&DEV_5286&CC_FF00
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_06781025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_06791025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_067A1025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_067B1025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_067F1025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_06801025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_069B1025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_1886103C
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_1887103C
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_1888103C
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_1894103C
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_1895103C
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_1896103C
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_1897103C
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_18A4103C
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_18A5103C
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_18A6103C
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_18A7103C
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_15511558
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_27031558
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_25121558
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_069D1025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_069E1025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_07181025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_07191025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_07011025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_07021025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_069C1025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_07211025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_18DE103C
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_07311025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_07321025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_07241025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_072A1025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_07531025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_07541025
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_24001558
%Rts5288CR%=Rts5208.Inst, PCI\VEN_10EC&DEV_5289&SUBSYS_05501558

[Rts5208.Inst.NTx86]
CopyFiles = CopyFilesSYS

[Rts5208.Inst.NTx86.CoInstallers]
CopyFiles=CopyFilesDLL
AddReg=Rts.NTx86.CoInstallers_AddReg

[Rts.NTx86.CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,","

[Rts5208.Inst.NTia64]
CopyFiles = CopyFilesSYS

[Rts5208.Inst.NTia64.CoInstallers]
CopyFiles=CopyFilesDLL64
AddReg=Rts.NTia64.CoInstallers_AddReg

[Rts.NTia64.CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,","

[Rts5208.Inst.ntamd64]
CopyFiles = CopyFilesSYS

[Rts5208.Inst.ntamd64.CoInstallers]
CopyFiles=CopyFilesDLL64
AddReg=Rts.ntamd64.CoInstallers_AddReg

[Rts.ntamd64.CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,","

[Rts5208.Inst.NTx86.HW]
AddReg=RtsPStor.InterruptConfig

[Rts5208.Inst.NTamd64.HW]
AddReg=RtsPStor.InterruptConfig

[RtsPStor.InterruptConfig]
;HKR, "Interrupt Management\MessageSignaledInterruptProperties", MessageNumberLimit, 0x00010001, 1
;[NecXhcd.Params]
;[McciXhcd.HwParams]
HKR, "Interrupt Management",,0x00000010
HKR, "Interrupt Management\MessageSignaledInterruptProperties",,0x00000010
HKR, "Interrupt Management\MessageSignaledInterruptProperties", "MSISupported", 0x00010001, 1

[Rts5208.Inst.NTx86.Services]
AddService = RSBASTOR,0x00000002,Rts5208_Service_Inst

[Rts5208.Inst.NTia64.Services]
AddService = RSBASTOR,0x00000002,Rts5208_Service_Inst

[Rts5208.Inst.ntamd64.Services]
AddService = RSBASTOR,0x00000002,Rts5208_Service_Inst

[CopyFilesSYS]
RtsBaStor.sys

[CopyFilesDLL]
; RtsBaStor.dll
RtsBaStorIcon.dll

[CopyFilesDLL64]
RtsBaStorIcon.dll

[DefaultInstall.NTx86]
CopyFiles = CopyFilesSYS, CopyFilesDLL

[DefaultInstall.ntamd64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[DefaultInstall.NTia64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[DefaultInstall.Services]
AddService = RSBASTOR,0x00000002,Rts5208_Service_Inst

[Rts5208_Service_Inst]
DisplayName    = %Rts5208%
ServiceType    = %SERVICE_KERNEL_DRIVER% 
StartType      = %SERVICE_DEMAND_START% 
ErrorControl   = %SERVICE_ERROR_IGNORE% 
ServiceBinary  = %12%\RtsBaStor.sys 
AddReg         = RSBASTOR.AddReg

[RSBASTOR.AddReg]
;================================================================
HKR,"Parameters","DebugLevel",0x10001,5
HKR,"Parameters","FirstLoad",0x10001,1

[Strings]
;  *******Localizable Strings******* 
;  *******Non Localizable Strings******* 
Rts            = "Realtek Semiconduct Corp." 
VENDOR         = "Realtek Semiconduct Corp." 
Rts5208CR      = "Realtek PCIE CardReader"
Rts5288CR      = "Realtek PCIE CardReader"
Rts5208      = "Realtek PCIE CardReader Driver - BA" 
DISK_NAME      = "Realtek PCIE CardReader Source Disk"
SERVICE_BOOT_START     = 0x0 
SERVICE_SYSTEM_START   = 0x1 
SERVICE_AUTO_START     = 0x2 
SERVICE_DEMAND_START   = 0x3 
SERVICE_DISABLED       = 0x4 
SERVICE_KERNEL_DRIVER  = 0x1 
SERVICE_ERROR_IGNORE   = 0x0 
SERVICE_ERROR_NORMAL   = 0x1 
SERVICE_ERROR_SEVERE   = 0x2 
SERVICE_ERROR_CRITICAL = 0x3 
REG_EXPAND_SZ          = 0x00020000 
REG_DWORD              = 0x00010001 
REG_MULTI_SZ           = 0x00010000
REG_BINARY             = 0x00000001
REG_SZ                 = 0x00000000

