; Copyright (c) Realtek Semiconductor Corp. All rights reserved.

[Version]
Signature="$Windows NT$"
Class=MTD
ClassGuid = {4d36e970-e325-11ce-bfc1-08002be10318}
Provider=%RTS%
CatalogFile = RtsPer64.cat
DriverVer=04/17/2020,10.0.18363.21333

[SourceDisksFiles]
RtsPer.sys = 99
RsCRIcon.dll = 99

[SourceDisksNames.x86]
99 = %DiskDesc%

[SourceDisksNames.amd64]
99 = %DiskDesc%

[SourceDisksNames.ia64]
99 = %DiskDesc%

[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]
%VENDOR%=Vendor, NTamd64

[Vendor.NTamd64]
%Rts5227CR%=RTS5227.Inst, PCI\VEN_10EC&DEV_5227&CC_FF00
%Rts5227CR%=RTS522A.Inst, PCI\VEN_10EC&DEV_522A&CC_FF00
%Rts5227CR%=RTS5249.Inst, PCI\VEN_10EC&DEV_5249&CC_FF00
%Rts5227CR%=RTS524A.Inst, PCI\VEN_10EC&DEV_524A&CC_FF00
%Rts5227CR%=RTS5250.Inst, PCI\VEN_10EC&DEV_5250
%Rts5227CR%=RTS525A.Inst, PCI\VEN_10EC&DEV_525A&CC_FF00
%Rts5227CR%=RTL8411B.Inst, PCI\VEN_10EC&DEV_5287&CC_FF00
%Rts5227CR%=RTS5260.Inst, PCI\VEN_10EC&DEV_5260&CC_FF00
%Rts5227CR%=RTS5261.Inst, PCI\VEN_10EC&DEV_5261&CC_FF00
%Rts5227CR%=RTS5228.Inst, PCI\VEN_10EC&DEV_5228&CC_FF00
%Rts5227CR%=RTS5227.Inst, PCI\VEN_10EC&DEV_5227&SUBSYS_604517AA
%Rts5227CR%=RTS5227.Inst, PCI\VEN_10EC&DEV_5227&SUBSYS_606517AA
%Rts5227CR%=RTS5227.Inst, PCI\VEN_10EC&DEV_5227&SUBSYS_606617AA
%Rts5227CR%=RTS5227.Inst, PCI\VEN_10EC&DEV_5227&SUBSYS_606717AA
%Rts5227CR%=RTS5227.Inst, PCI\VEN_10EC&DEV_5227&SUBSYS_606817AA
%Rts5227CR%=RTS5227.Inst, PCI\VEN_10EC&DEV_5227&SUBSYS_606A17AA
%Rts5227CR%=RTS5227.Inst, PCI\VEN_10EC&DEV_5227&SUBSYS_606B17AA
%Rts5227CR%=RTS5227.Inst, PCI\VEN_10EC&DEV_5227&SUBSYS_606C17AA
%Rts5227CR%=RTS5227.Inst, PCI\VEN_10EC&DEV_5227&SUBSYS_607317AA
%Rts5227CR%=RTS5227.Inst, PCI\VEN_10EC&DEV_5227&SUBSYS_608317AA
%Rts5227CR%=RTS5227.Inst, PCI\VEN_10EC&DEV_5227&SUBSYS_608417AA
%Rts5227CR%=RTS522A.Inst, PCI\VEN_10EC&DEV_522A&SUBSYS_608717AA
%Rts5227CR%=RTS522A.Inst, PCI\VEN_10EC&DEV_522A&SUBSYS_609617AA
%Rts5227CR%=RTS522A.Inst, PCI\VEN_10EC&DEV_522A&SUBSYS_609F17AA
%Rts5227CR%=RTS522A.Inst, PCI\VEN_10EC&DEV_522A&SUBSYS_60A017AA
%Rts5227CR%=RTS522A.Inst, PCI\VEN_10EC&DEV_522A&SUBSYS_60B817AA
%Rts5227CR%=RTS522A.Inst, PCI\VEN_10EC&DEV_522A&SUBSYS_60BE17AA
%Rts5227CR%=RTS522A.Inst, PCI\VEN_10EC&DEV_522A&SUBSYS_60BF17AA
%Rts5227CR%=RTS522A.Inst, PCI\VEN_10EC&DEV_522A&SUBSYS_60C317AA
%Rts5227CR%=RTS522A.Inst, PCI\VEN_10EC&DEV_522A&SUBSYS_60D117AA
%Rts5227CR%=RTS522A.Inst, PCI\VEN_10EC&DEV_522A&SUBSYS_60E117AA
%Rts5227CR%=RTS522A.Inst, PCI\VEN_10EC&DEV_522A&SUBSYS_60E317AA
%Rts5227CR%=RTS522A.Inst, PCI\VEN_10EC&DEV_522A&SUBSYS_60E917AA
%Rts5227CR%=RTS522A.Inst, PCI\VEN_10EC&DEV_522A&SUBSYS_60F517AA
%Rts5227CR%=RTS522ANPX.Inst, PCI\VEN_10EC&DEV_522A&SUBSYS_610F17AA
%Rts5227CR%=RTS522ANPX.Inst, PCI\VEN_10EC&DEV_522A&SUBSYS_611517AA
%Rts5227CR%=RTS522ANPX.Inst, PCI\VEN_10EC&DEV_522A&SUBSYS_611917AA
%Rts5227CR%=RTS5249.Inst, PCI\VEN_10EC&DEV_5249&SUBSYS_604517AA
%Rts5227CR%=RTS5249.Inst, PCI\VEN_10EC&DEV_5249&SUBSYS_606117AA
%Rts5227CR%=RTS5249.Inst, PCI\VEN_10EC&DEV_5249&SUBSYS_607617AA
%Rts5227CR%=RTS524A.Inst, PCI\VEN_10EC&DEV_524A&SUBSYS_609817AA
%Rts5227CR%=RTS524A.Inst, PCI\VEN_10EC&DEV_524A&SUBSYS_609B17AA
%Rts5227CR%=RTS524A.Inst, PCI\VEN_10EC&DEV_524A&SUBSYS_60AD17AA
%Rts5227CR%=RTS524A.Inst, PCI\VEN_10EC&DEV_524A&SUBSYS_60BC17AA
%Rts5227CR%=RTS524A.Inst, PCI\VEN_10EC&DEV_524A&SUBSYS_60DA17AA
%Rts5227CR%=RTS524A.Inst, PCI\VEN_10EC&DEV_524A&SUBSYS_60E517AA
%Rts5227CR%=RTS524A.Inst, PCI\VEN_10EC&DEV_524A&SUBSYS_60F717AA
%Rts5227CR%=RTS524A.Inst, PCI\VEN_10EC&DEV_524A&SUBSYS_610217AA
%Rts5227CR%=RTS524ANPX.Inst, PCI\VEN_10EC&DEV_524A&SUBSYS_610317AA
%Rts5227CR%=RTS524A.Inst, PCI\VEN_10EC&DEV_524A&SUBSYS_612217AA
%Rts5227CR%=RTS5250.Inst, PCI\VEN_10EC&DEV_5250&SUBSYS_607317AA
%Rts5227CR%=RTS5250.Inst, PCI\VEN_10EC&DEV_5250&SUBSYS_607B17AA
%Rts5227CR%=RTS525A.Inst, PCI\VEN_10EC&DEV_525A&SUBSYS_608717AA
%Rts5227CR%=RTS525A.Inst, PCI\VEN_10EC&DEV_525A&SUBSYS_608F17AA
%Rts5227CR%=RTS525A.Inst, PCI\VEN_10EC&DEV_525A&SUBSYS_60A017AA
%Rts5227CR%=RTS525A.Inst, PCI\VEN_10EC&DEV_525A&SUBSYS_60A917AA
%Rts5227CR%=RTS525A.Inst, PCI\VEN_10EC&DEV_525A&SUBSYS_60BA17AA
%Rts5227CR%=RTS525A.Inst, PCI\VEN_10EC&DEV_525A&SUBSYS_60C717AA
%Rts5227CR%=RTS525A.Inst, PCI\VEN_10EC&DEV_525A&SUBSYS_60D717AA
%Rts5227CR%=RTS525A.Inst, PCI\VEN_10EC&DEV_525A&SUBSYS_60E317AA
%Rts5227CR%=RTS525A.Inst, PCI\VEN_10EC&DEV_525A&SUBSYS_60F317AA
%Rts5227CR%=RTS525A.Inst, PCI\VEN_10EC&DEV_525A&SUBSYS_60FC17AA


[MsiEnable_addreg]
;HKR, "Interrupt Management\MessageSignaledInterruptProperties", MessageNumberLimit, 0x00010001, 1
HKR, "Interrupt Management",,0x00000010
HKR, "Interrupt Management\MessageSignaledInterruptProperties",,0x00000010
HKR, "Interrupt Management\MessageSignaledInterruptProperties", "MSISupported", 0x00010001, 1
HKR, "e5b3b5ac-9725-4f78-963f-03dfb1d828c7", "D3ColdSupported", 0x00010001, 1

[CopyFilesSYS]
RtsPer.sys

[CopyFilesDLL]
RsCRIcon.dll

[CopyFilesDLL64]
RsCRIcon.dll

[RTS5227.Inst.NTx86]
CopyFiles = CopyFilesSYS

[RTS5227.Inst.NTia64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS5227.Inst.ntamd64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS5227.Inst.NTx86.HW]
AddReg=MsiEnable_addreg

[RTS5227.Inst.NTamd64.HW]
AddReg=MsiEnable_addreg

[RTS5227.Inst.NTx86.Services]
AddService = RTSPER, 0x00000002, RTS5227_Service_Inst

[RTS5227.Inst.NTia64.Services]
AddService = RTSPER, 0x00000002, RTS5227_Service_Inst

[RTS5227.Inst.ntamd64.Services]
AddService = RTSPER, 0x00000002, RTS5227_Service_Inst

[RTS5227_Service_Inst]
DisplayName    = %Rts5227PER%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\RtsPer.sys
AddReg         = RTS5227.AddReg

[RTS5227.AddReg]
HKR,"RTS5227","MSIEnable",0x10001,1
HKR,"RTS5227","FirstLoad",0x10001,1
HKR,"RTS5227","NonRemovable",0x10001,1
HKR,"RTS5227","SupportPoFx",0x10001,1

[RTS5227NPX.Inst.NTx86]
CopyFiles = CopyFilesSYS

[RTS5227NPX.Inst.NTia64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS5227NPX.Inst.ntamd64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS5227NPX.Inst.NTx86.HW]
AddReg=MsiEnable_addreg

[RTS5227NPX.Inst.NTamd64.HW]
AddReg=MsiEnable_addreg

[RTS5227NPX.Inst.NTx86.Services]
AddService = RTSPER, 0x00000002, RTS5227NPX_Service_Inst

[RTS5227NPX.Inst.NTia64.Services]
AddService = RTSPER, 0x00000002, RTS5227NPX_Service_Inst

[RTS5227NPX.Inst.ntamd64.Services]
AddService = RTSPER, 0x00000002, RTS5227NPX_Service_Inst

[RTS5227NPX_Service_Inst]
DisplayName    = %Rts5227PER%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\RtsPer.sys
AddReg         = RTS5227NPX.AddReg

[RTS5227NPX.AddReg]
HKR,"RTS5227","MSIEnable",0x10001,1
HKR,"RTS5227","FirstLoad",0x10001,1
HKR,"RTS5227","NonRemovable",0x10001,1

[RTS5249.Inst.NTx86]
CopyFiles = CopyFilesSYS

[RTS5249.Inst.NTia64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS5249.Inst.ntamd64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS5249.Inst.NTx86.HW]
AddReg=MsiEnable_addreg

[RTS5249.Inst.NTamd64.HW]
AddReg=MsiEnable_addreg

[RTS5249.Inst.NTx86.Services]
AddService = RTSPER, 0x00000002, RTS5249_Service_Inst

[RTS5249.Inst.NTia64.Services]
AddService = RTSPER, 0x00000002, RTS5249_Service_Inst

[RTS5249.Inst.ntamd64.Services]
AddService = RTSPER, 0x00000002, RTS5249_Service_Inst

[RTS5249_Service_Inst]
DisplayName    = %Rts5227PER%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\RtsPer.sys
AddReg         = RTS5249.AddReg

[RTS5249.AddReg]
HKR,"RTS5249","MSIEnable",0x10001,1
HKR,"RTS5249","FirstLoad",0x10001,1
HKR,"RTS5249","NonRemovable",0x10001,1
HKR,"RTS5249","SupportPoFx",0x10001,1

[RTS5249NPX.Inst.NTx86]
CopyFiles = CopyFilesSYS

[RTS5249NPX.Inst.NTia64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS5249NPX.Inst.ntamd64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS5249NPX.Inst.NTx86.HW]
AddReg=MsiEnable_addreg

[RTS5249NPX.Inst.NTamd64.HW]
AddReg=MsiEnable_addreg

[RTS5249NPX.Inst.NTx86.Services]
AddService = RTSPER, 0x00000002, RTS5249NPX_Service_Inst

[RTS5249NPX.Inst.NTia64.Services]
AddService = RTSPER, 0x00000002, RTS5249NPX_Service_Inst

[RTS5249NPX.Inst.ntamd64.Services]
AddService = RTSPER, 0x00000002, RTS5249NPX_Service_Inst

[RTS5249NPX_Service_Inst]
DisplayName    = %Rts5227PER%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\RtsPer.sys
AddReg         = RTS5249NPX.AddReg

[RTS5249NPX.AddReg]
HKR,"RTS5249","MSIEnable",0x10001,1
HKR,"RTS5249","FirstLoad",0x10001,1
HKR,"RTS5249","NonRemovable",0x10001,1

[RTS5250.Inst.NTx86]
CopyFiles = CopyFilesSYS

[RTS5250.Inst.NTia64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS5250.Inst.ntamd64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS5250.Inst.NTx86.HW]    	;MSI
AddReg=MsiEnable_addreg

[RTS5250.Inst.NTamd64.HW]    	;MSI
AddReg=MsiEnable_addreg

[RTS5250.Inst.NTx86.Services]
AddService = RTSPER, 0x00000002, RTS5250_Service_Inst

[RTS5250.Inst.NTia64.Services]
AddService = RTSPER, 0x00000002, RTS5250_Service_Inst

[RTS5250.Inst.ntamd64.Services]
AddService = RTSPER, 0x00000002, RTS5250_Service_Inst

[RTS5250_Service_Inst]
DisplayName    = %Rts5227PER%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\RtsPer.sys
AddReg         = RTS5250.AddReg

[RTS5250.AddReg]
HKR,"RTS5250","MSIEnable",0x10001,1
HKR,"RTS5250","FirstLoad",0x10001,1
HKR,"RTS5250","NonRemovable",0x10001,1
HKR,"RTS5250","SupportPoFx",0x10001,1

[RTS5250NPX.Inst.NTx86]
CopyFiles = CopyFilesSYS

[RTS5250NPX.Inst.NTia64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS5250NPX.Inst.ntamd64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS5250NPX.Inst.NTx86.HW]    	;MSI
AddReg=MsiEnable_addreg

[RTS5250NPX.Inst.NTamd64.HW]    	;MSI
AddReg=MsiEnable_addreg

[RTS5250NPX.Inst.NTx86.Services]
AddService = RTSPER, 0x00000002, RTS5250NPX_Service_Inst

[RTS5250NPX.Inst.NTia64.Services]
AddService = RTSPER, 0x00000002, RTS5250NPX_Service_Inst

[RTS5250NPX.Inst.ntamd64.Services]
AddService = RTSPER, 0x00000002, RTS5250NPX_Service_Inst

[RTS5250NPX_Service_Inst]
DisplayName    = %Rts5227PER%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\RtsPer.sys
AddReg         = RTS5250NPX.AddReg

[RTS5250NPX.AddReg]
HKR,"RTS5250","MSIEnable",0x10001,1
HKR,"RTS5250","FirstLoad",0x10001,1
HKR,"RTS5250","NonRemovable",0x10001,1

[RTL8411B.Inst.NTx86]
CopyFiles = CopyFilesSYS

[RTL8411B.Inst.NTia64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTL8411B.Inst.ntamd64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTL8411B.Inst.NTx86.HW]
AddReg=MsiEnable_addreg

[RTL8411B.Inst.NTamd64.HW]
AddReg=MsiEnable_addreg

[RTL8411B.Inst.NTx86.Services]
AddService = RTSPER, 0x00000002, RTL8411B_Service_Inst

[RTL8411B.Inst.NTia64.Services]
AddService = RTSPER, 0x00000002, RTL8411B_Service_Inst

[RTL8411B.Inst.ntamd64.Services]
AddService = RTSPER, 0x00000002, RTL8411B_Service_Inst

[RTL8411B_Service_Inst]
DisplayName    = %Rts5227PER%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\RtsPer.sys
AddReg         = RTL8411B.AddReg

[RTL8411B.AddReg]
HKR,"RTL8411B","MSIEnable",0x10001,1
HKR,"RTL8411B","FirstLoad",0x10001,1
HKR,"RTL8411B","NonRemovable",0x10001,1

[RTS522A.Inst.NTx86]
CopyFiles = CopyFilesSYS

[RTS522A.Inst.NTia64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS522A.Inst.ntamd64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS522A.Inst.NTx86.HW]
AddReg=MsiEnable_addreg

[RTS522A.Inst.NTamd64.HW]
AddReg=MsiEnable_addreg

[RTS522A.Inst.NTx86.Services]
AddService = RTSPER, 0x00000002, RTS522A_Service_Inst

[RTS522A.Inst.NTia64.Services]
AddService = RTSPER, 0x00000002, RTS522A_Service_Inst

[RTS522A.Inst.ntamd64.Services]
AddService = RTSPER, 0x00000002, RTS522A_Service_Inst

[RTS522A_Service_Inst]
DisplayName    = %Rts5227PER%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\RtsPer.sys
AddReg         = RTS522A.AddReg

[RTS522A.AddReg]
HKR,"RTS522A","MSIEnable",0x10001,1
HKR,"RTS522A","FirstLoad",0x10001,1
HKR,"RTS522A","NonRemovable",0x10001,1
HKR,"RTS522A","SupportPoFx",0x10001,1

[RTS522ANPX.Inst.NTx86]
CopyFiles = CopyFilesSYS

[RTS522ANPX.Inst.NTia64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS522ANPX.Inst.ntamd64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS522ANPX.Inst.NTx86.HW]
AddReg=MsiEnable_addreg

[RTS522ANPX.Inst.NTamd64.HW]
AddReg=MsiEnable_addreg

[RTS522ANPX.Inst.NTx86.Services]
AddService = RTSPER, 0x00000002, RTS522ANPX_Service_Inst

[RTS522ANPX.Inst.NTia64.Services]
AddService = RTSPER, 0x00000002, RTS522ANPX_Service_Inst

[RTS522ANPX.Inst.ntamd64.Services]
AddService = RTSPER, 0x00000002, RTS522ANPX_Service_Inst

[RTS522ANPX_Service_Inst]
DisplayName    = %Rts5227PER%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\RtsPer.sys
AddReg         = RTS522ANPX.AddReg

[RTS522ANPX.AddReg]
HKR,"RTS522A","MSIEnable",0x10001,1
HKR,"RTS522A","FirstLoad",0x10001,1
HKR,"RTS522A","NonRemovable",0x10001,1

[RTS524A.Inst.NTx86]
CopyFiles = CopyFilesSYS

[RTS524A.Inst.NTia64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS524A.Inst.ntamd64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS524A.Inst.NTx86.HW]
AddReg=MsiEnable_addreg

[RTS524A.Inst.NTamd64.HW]
AddReg=MsiEnable_addreg

[RTS524A.Inst.NTx86.Services]
AddService = RTSPER, 0x00000002, RTS524A_Service_Inst

[RTS524A.Inst.NTia64.Services]
AddService = RTSPER, 0x00000002, RTS524A_Service_Inst

[RTS524A.Inst.ntamd64.Services]
AddService = RTSPER, 0x00000002, RTS524A_Service_Inst

[RTS524A_Service_Inst]
DisplayName    = %Rts5227PER%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\RtsPer.sys
AddReg         = RTS524A.AddReg

[RTS524A.AddReg]
HKR,"RTS524A","MSIEnable",0x10001,1
HKR,"RTS524A","FirstLoad",0x10001,1
HKR,"RTS524A","NonRemovable",0x10001,1
HKR,"RTS524A","SupportPoFx",0x10001,1

[RTS524ANPX.Inst.NTx86]
CopyFiles = CopyFilesSYS

[RTS524ANPX.Inst.NTia64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS524ANPX.Inst.ntamd64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS524ANPX.Inst.NTx86.HW]
AddReg=MsiEnable_addreg

[RTS524ANPX.Inst.NTamd64.HW]
AddReg=MsiEnable_addreg

[RTS524ANPX.Inst.NTx86.Services]
AddService = RTSPER, 0x00000002, RTS524ANPX_Service_Inst

[RTS524ANPX.Inst.NTia64.Services]
AddService = RTSPER, 0x00000002, RTS524ANPX_Service_Inst

[RTS524ANPX.Inst.ntamd64.Services]
AddService = RTSPER, 0x00000002, RTS524ANPX_Service_Inst

[RTS524ANPX_Service_Inst]
DisplayName    = %Rts5227PER%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\RtsPer.sys
AddReg         = RTS524ANPX.AddReg

[RTS524ANPX.AddReg]
HKR,"RTS524A","MSIEnable",0x10001,1
HKR,"RTS524A","FirstLoad",0x10001,1
HKR,"RTS524A","NonRemovable",0x10001,1

[RTS525A.Inst.NTx86]
CopyFiles = CopyFilesSYS

[RTS525A.Inst.NTia64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS525A.Inst.ntamd64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS525A.Inst.NTx86.HW]
AddReg=MsiEnable_addreg

[RTS525A.Inst.NTamd64.HW]
AddReg=MsiEnable_addreg

[RTS525A.Inst.NTx86.Services]
AddService = RTSPER, 0x00000002, RTS525A_Service_Inst

[RTS525A.Inst.NTia64.Services]
AddService = RTSPER, 0x00000002, RTS525A_Service_Inst

[RTS525A.Inst.ntamd64.Services]
AddService = RTSPER, 0x00000002, RTS525A_Service_Inst

[RTS525A_Service_Inst]
DisplayName    = %Rts5227PER%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\RtsPer.sys
AddReg         = RTS525A.AddReg

[RTS525A.AddReg]
HKR,"RTS525A","MSIEnable",0x10001,1
HKR,"RTS525A","FirstLoad",0x10001,1
HKR,"RTS525A","NonRemovable",0x10001,1
HKR,"RTS525A","SupportPoFx",0x10001,1

[RTS525ANPX.Inst.NTx86]
CopyFiles = CopyFilesSYS

[RTS525ANPX.Inst.NTia64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS525ANPX.Inst.ntamd64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS525ANPX.Inst.NTx86.HW]
AddReg=MsiEnable_addreg

[RTS525ANPX.Inst.NTamd64.HW]
AddReg=MsiEnable_addreg

[RTS525ANPX.Inst.NTx86.Services]
AddService = RTSPER, 0x00000002, RTS525ANPX_Service_Inst

[RTS525ANPX.Inst.NTia64.Services]
AddService = RTSPER, 0x00000002, RTS525ANPX_Service_Inst

[RTS525ANPX.Inst.ntamd64.Services]
AddService = RTSPER, 0x00000002, RTS525ANPX_Service_Inst

[RTS525ANPX_Service_Inst]
DisplayName    = %Rts5227PER%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\RtsPer.sys
AddReg         = RTS525ANPX.AddReg

[RTS525ANPX.AddReg]
HKR,"RTS525A","MSIEnable",0x10001,1
HKR,"RTS525A","FirstLoad",0x10001,1
HKR,"RTS525A","NonRemovable",0x10001,1

[RTS5260.Inst.NTx86]
CopyFiles = CopyFilesSYS

[RTS5260.Inst.NTia64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS5260.Inst.ntamd64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS5260.Inst.NTx86.HW]
AddReg=MsiEnable_addreg

[RTS5260.Inst.NTamd64.HW]
AddReg=MsiEnable_addreg

[RTS5260.Inst.NTx86.Services]
AddService = RTSPER, 0x00000002, RTS5260_Service_Inst

[RTS5260.Inst.NTia64.Services]
AddService = RTSPER, 0x00000002, RTS5260_Service_Inst

[RTS5260.Inst.ntamd64.Services]
AddService = RTSPER, 0x00000002, RTS5260_Service_Inst

[RTS5260_Service_Inst]
DisplayName    = %Rts5227PER%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\RtsPer.sys
AddReg         = RTS5260.AddReg

[RTS5260.AddReg]
HKR,"RTS5260","MSIEnable",0x10001,1
HKR,"RTS5260","FirstLoad",0x10001,1
HKR,"RTS5260","NonRemovable",0x10001,1
HKR,"RTS5260","SupportPoFx",0x10001,1

[RTS5260NPX.Inst.NTx86]
CopyFiles = CopyFilesSYS

[RTS5260NPX.Inst.NTia64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS5260NPX.Inst.ntamd64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS5260NPX.Inst.NTx86.HW]
AddReg=MsiEnable_addreg

[RTS5260NPX.Inst.NTamd64.HW]
AddReg=MsiEnable_addreg

[RTS5260NPX.Inst.NTx86.Services]
AddService = RTSPER, 0x00000002, RTS5260NPX_Service_Inst

[RTS5260NPX.Inst.NTia64.Services]
AddService = RTSPER, 0x00000002, RTS5260NPX_Service_Inst

[RTS5260NPX.Inst.ntamd64.Services]
AddService = RTSPER, 0x00000002, RTS5260NPX_Service_Inst

[RTS5260NPX_Service_Inst]
DisplayName    = %Rts5227PER%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\RtsPer.sys
AddReg         = RTS5260NPX.AddReg

[RTS5260NPX.AddReg]
HKR,"RTS5260","MSIEnable",0x10001,1
HKR,"RTS5260","FirstLoad",0x10001,1
HKR,"RTS5260","NonRemovable",0x10001,1

[RTS5261.Inst.NTx86]
CopyFiles = CopyFilesSYS

[RTS5261.Inst.NTia64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS5261.Inst.ntamd64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS5261.Inst.NTx86.HW]
AddReg=MsiEnable_addreg

[RTS5261.Inst.NTamd64.HW]
AddReg=MsiEnable_addreg

[RTS5261.Inst.NTx86.Services]
AddService = RTSPER, 0x00000002, RTS5261_Service_Inst

[RTS5261.Inst.NTia64.Services]
AddService = RTSPER, 0x00000002, RTS5261_Service_Inst

[RTS5261.Inst.ntamd64.Services]
AddService = RTSPER, 0x00000002, RTS5261_Service_Inst

[RTS5261_Service_Inst]
DisplayName    = %Rts5227PER%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\RtsPer.sys
AddReg         = RTS5261.AddReg

[RTS5261.AddReg]
HKR,"RTS5261","MSIEnable",0x10001,1
HKR,"RTS5261","FirstLoad",0x10001,1
HKR,"RTS5261","NonRemovable",0x10001,1
HKR,"RTS5261","SupportPoFx",0x10001,1

[RTS5261NPX.Inst.NTx86]
CopyFiles = CopyFilesSYS

[RTS5261NPX.Inst.NTia64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS5261NPX.Inst.ntamd64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS5261NPX.Inst.NTx86.HW]
AddReg=MsiEnable_addreg

[RTS5261NPX.Inst.NTamd64.HW]
AddReg=MsiEnable_addreg

[RTS5261NPX.Inst.NTx86.Services]
AddService = RTSPER, 0x00000002, RTS5261NPX_Service_Inst

[RTS5261NPX.Inst.NTia64.Services]
AddService = RTSPER, 0x00000002, RTS5261NPX_Service_Inst

[RTS5261NPX.Inst.ntamd64.Services]
AddService = RTSPER, 0x00000002, RTS5261NPX_Service_Inst

[RTS5261NPX_Service_Inst]
DisplayName    = %Rts5227PER%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\RtsPer.sys
AddReg         = RTS5261NPX.AddReg

[RTS5261NPX.AddReg]
HKR,"RTS5261","MSIEnable",0x10001,1
HKR,"RTS5261","FirstLoad",0x10001,1
HKR,"RTS5261","NonRemovable",0x10001,1

[RTS5228.Inst.NTx86]
CopyFiles = CopyFilesSYS

[RTS5228.Inst.NTia64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS5228.Inst.ntamd64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS5228.Inst.NTx86.HW]
AddReg=MsiEnable_addreg

[RTS5228.Inst.NTamd64.HW]
AddReg=MsiEnable_addreg

[RTS5228.Inst.NTx86.Services]
AddService = RTSPER, 0x00000002, RTS5228_Service_Inst

[RTS5228.Inst.NTia64.Services]
AddService = RTSPER, 0x00000002, RTS5228_Service_Inst

[RTS5228.Inst.ntamd64.Services]
AddService = RTSPER, 0x00000002, RTS5228_Service_Inst

[RTS5228_Service_Inst]
DisplayName    = %Rts5227PER%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\RtsPer.sys
AddReg         = RTS5228.AddReg

[RTS5228.AddReg]
HKR,"RTS5228","MSIEnable",0x10001,1
HKR,"RTS5228","FirstLoad",0x10001,1
HKR,"RTS5228","NonRemovable",0x10001,1
HKR,"RTS5228","SupportPoFx",0x10001,1

[RTS5228NPX.Inst.NTx86]
CopyFiles = CopyFilesSYS

[RTS5228NPX.Inst.NTia64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS5228NPX.Inst.ntamd64]
CopyFiles = CopyFilesSYS, CopyFilesDLL64

[RTS5228NPX.Inst.NTx86.HW]
AddReg=MsiEnable_addreg

[RTS5228NPX.Inst.NTamd64.HW]
AddReg=MsiEnable_addreg

[RTS5228NPX.Inst.NTx86.Services]
AddService = RTSPER, 0x00000002, RTS5228NPX_Service_Inst

[RTS5228NPX.Inst.NTia64.Services]
AddService = RTSPER, 0x00000002, RTS5228NPX_Service_Inst

[RTS5228NPX.Inst.ntamd64.Services]
AddService = RTSPER, 0x00000002, RTS5228NPX_Service_Inst

[RTS5228NPX_Service_Inst]
DisplayName    = %Rts5227PER%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\RtsPer.sys
AddReg         = RTS5228NPX.AddReg

[RTS5228NPX.AddReg]
HKR,"RTS5228","MSIEnable",0x10001,1
HKR,"RTS5228","FirstLoad",0x10001,1
HKR,"RTS5228","NonRemovable",0x10001,1

[Strings]
;Localizable Strings needed for HBA naming in Windows UI
;*******************************************
;Non-Localizable strings
RTS = "Realtek Semiconductor Corp."
VENDOR         = "Realtek Semiconductor Corp."
Rts5227CR      = "Realtek PCIE CardReader"
Rts5227PER      = "Realtek PCIE Card Reader - PER"
DiskDesc = "Realtek PCIE Card Reader Source Disk"
DriverVersion = "10.0.18363.21333"
SERVICE_ASSOCSERVICE = 0x00000002
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

