;; SWind.inf
; This file is the install file of SWind.sys which is the windows device driver of SWind USB
;--------- Version Section ---------------------------------------------------

[Version]
Signature="$Windows 95$"
Provider=%ProviderName%
DriverVer=11/30/2000,5.12.01.3120

Class=%DeviceClassName%
ClassGUID={ff646f80-8def-11d2-9449-00105a075f6c}

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

; These sections identify source disks and files for installation.  They are
; shown here as an example, but commented out.

[SourceDisksNames]
1 = "SWind USBµç»°Â¼ÒôºÐ°²×°ÅÌ",,

[SourceDisksFiles]
SWind.sys = 1,,

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

; Not necessary if using a standard class

; 9X Style
[ClassInstall]
Addreg=Class_AddReg

; NT Style
[ClassInstall32]
Addreg=Class_AddReg

[Class_AddReg]
HKR,,Icon,,"-6"
HKR,,,,%DeviceClassName%
;HKLM,System\CurrentControlSet\Control\Class\SWindUSB,Icon,,"-6"

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

[DestinationDirs]
SWind_Files_Driver = 10,System32\Drivers

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

[Manufacturer]
%MfgName%=Mfg0

[Mfg0]
%DeviceDesc%=SWind_DDI, USB\VID_0471&PID_1810

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

; Experimentation has shown that DDInstall root names greater than 19 characters
; cause problems in Windows 98

[SWind_DDI]
CopyFiles=SWind_Files_Driver
AddReg=SWind_9X_AddReg

[SWind_9X_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,SWind.sys
HKR, "Parameters", "BreakOnEntry", 0x00010001, 0
HKR, "Parameters", "InitValue", 0x00010001, 0x0000
HKR, "Parameters", "EnableSurpriseRemove", 0x00010001, 0x0000

; --------- Windows NT -----------------

[SWind_DDI.NT]
CopyFiles=SWind_Files_Driver
AddReg=SWind_NT_AddReg

[SWind_DDI.NT.Services]
Addservice = SWind, 0x00000002, SWind_AddService

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

[SWind_NT_AddReg]
HKLM, "System\CurrentControlSet\Services\SWind\Parameters",\
	"BreakOnEntry", 0x00010001, 0
HKLM, "System\CurrentControlSet\Services\SWind\Parameters",\
	"InitValue", 0x00010001, 0x0000
HKLM, "System\CurrentControlSet\Services\SWind\Parameters",\
	"EnableSurpriseRemove", 0x00010001, 0x0000
HKLM, "System\CurrentControlSet\Control\Class\{FF646F80-8DEF-11D2-9449-00105A075F6C}",\
        "Icon",,"-6"


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

[SWind_Files_Driver]
SWind.sys

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

[Strings]
ProviderName="Co.,Ltd."
MfgName="Co.,Ltd."
DeviceDesc="SWind"
DeviceClassName="SWindUSB"
SvcDesc="SWind"
