;; RF48S.inf

;--------- Version Section ---------------------------------------------------

[Version]
Signature="$CHICAGO$"

Class="USB"
ClassGuid={3884643A-7071-4cde-B6D6-BB968ED3114F}
Provider=%ProviderName%

;--------- SourceDiskNames and SourceDiskFiles Section -----------------------

[SourceDisksNames]
1="",,0

[SourceDisksFiles]
RF48S.sys = 1

;--------- ClassInstall/ClassInstall32 Section -------------------------------

; 9X Style
[ClassInstall]
Addreg=Class_AddReg

; NT Style
[ClassInstall32]
Addreg=Class_AddReg

[Class_AddReg]
HKR,,,,%DeviceClassName%
HKR,,EnumpropPages32,,"Drivers\RF48S.sys"
HKR,,Icon,,"101"

;--------- DestinationDirs Section -------------------------------------------

[DestinationDirs]
RF48S_Files_Driver = 10,System32\Drivers

;--------- Manufacturer and Models Sections ----------------------------------

[Manufacturer]
%MfgName%=Mfg0

[Mfg0]
%DeviceDesc%=RF48S_DDI, USB\VID_5246&PID_4855;

;---------- DDInstall Sections -----------------------------------------------
; --------- Windows 9X -----------------

[RF48S_DDI]
CopyFiles=RF48S_Files_Driver
AddReg=RF48S_9X_AddReg

[RF48S_9X_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,RF48S.sys
; --------- Windows NT -----------------

[RF48S_DDI.NT]
CopyFiles=RF48S_Files_Driver

[RF48S_DDI.NT.Services]
Addservice = RF48S, 0x00000002, RF48S_AddService

[RF48S_AddService]
DisplayName    = %SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\RF48S.sys

; --------- Files (common) -------------

[RF48S_Files_Driver]
RF48S.sys

;--------- Strings Section ---------------------------------------------------

[Strings]
ProviderName="XinRunFei"
MfgName="XinRunFei"
DeviceDesc="RF48S"
DeviceClassName="USB"
SvcDesc="RF48S"