; WBSX_X86.INF
; Copyright (C) 2005 Winbond Electronics Corp.
; For W83L528D-A ver.G Use

[Version]
Signature=$WINDOWS NT$
Class=HDC
ClassGuid={4D36E96A-E325-11CE-BFC1-08002BE10318}
Provider=%Winbond%
DriverVer=11/10/2005,3.0.2005.1110
CatalogFile=wbsx_x86.cat

[Manufacturer]
%Winbond%=DeviceList

[DeviceList]
%DESCRIPTION%=DriverInstall,PCI\VEN_1050&DEV_8483

[ControlFlags]
ExcludeFromSelect=PCI\VEN_1050&DEV_8483

[DriverInstall.NT]
CopyFiles=DriverCopyFiles, Copy.ICON

[DriverCopyFiles]
wbsx_x86.sys,,,2

[Copy.ICON]
wbsm.ico,,,2
wbxd.ico,,,2

[DriverAddReg]
HKR, "Parameters", "DebugLevel",        %REG_DWORD%, 0x00000000
HKR, "Parameters", "UseDMA",            %REG_DWORD%, 0x00000001
HKR, "Parameters", "WakeupEnable",      %REG_DWORD%, 0x00000000
HKR, "Parameters", "SupportPME",        %REG_DWORD%, 0x00000001

[DriverInstall.NT.HW]
AddReg = ICON.AddReg

[ICON.AddReg]
; for Smart Media ICON
HKR,, DeviceGroup,, "SmartMedia"
HKLM, %DEVICE_GROUP%\SmartMedia, Icons, %REG_MULTI_SZ%, "%%SystemRoot%%\wbsm.ico"
; for Label string
HKLM, %DEVICE_GROUP%\SmartMedia, Label, %REG_SZ%, "Winbond SM Drive"
; for Smart Media ICON
HKR,, DeviceGroup,, "xDPicture"
HKLM, %DEVICE_GROUP%\xDPicture, Icons, %REG_MULTI_SZ%, "%%SystemRoot%%\wbxd.ico"
; for Label string
HKLM, %DEVICE_GROUP%\xDPicture, Label, %REG_SZ%, "Winbond xD Drive"

[DriverInstall.NT.Services]
AddService=wbsx_x86, 0x00000002, DriverService, DriverEventLog

[DriverService]
DisplayName    = "Winbond PCI xD/SM Storage Device Driver"
ServiceType    = 1
StartType      = 3
ErrorControl   = 1
ServiceBinary  = %10%\System32\Drivers\wbsx_x86.SYS
LoadOrderGroup = Primary disk
AddReg         = DriverAddReg

[DriverEventLog]
AddReg=DriverAddEventLog.Reg

[DriverAddEventLog.Reg]
HKR,,EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\Drivers\wbsx_x86.sys"
HKR,,TypesSupported,0x00010001, 7

[SourceDisksNames]
1 = %SOURCE_DESC%,,

[SourceDisksFiles]
wbsx_x86.sys=1,,,,,
wbsm.ico=1,,,,,
wbxd.ico=1,,,,,

[DestinationDirs]
DefaultDestDir=10,System32\Drivers
Copy.ICON=10

[Strings]
Winbond="Winbond Electronics Corp."
DESCRIPTION="Winbond PCI xD/SM Storage Device Driver"
SOURCE_DESC="Winbond PCI xD/SM Controller Source Disk #1"
DEVICE_GROUP="SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\DeviceGroups"

REG_MULTI_SZ    = 0x00010000
REG_DWORD       = 0x00010001
REG_SZ          = 0x00000000
