; WBMS_X86.INF
; Copyright (C) 2005 Winbond Electronics Corp.
; For W83L528D-A MS Function Used

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

[Manufacturer]
%Winbond%=DeviceList

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

[ControlFlags]
ExcludeFromSelect=PCI\VEN_1050&DEV_8482

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

[DriverCopyFiles]
wbms_x86.sys,,,2

[Copy.ICON]
wbms.ico,,,2

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

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

[ICON.AddReg]
;for Memory Stick ICON
HKR,, DeviceGroup,, "MemoryStick"
HKLM, %DEVICE_GROUP%\MemoryStick, Icons, %REG_MULTI_SZ%, "%%SystemRoot%%\wbms.ico"
;for Label string
HKLM, %DEVICE_GROUP%\MemoryStick, Label, %REG_SZ%, "Winbond MS Drive"
;for Memory Stick ICON
HKR,, DeviceGroup,, "MSPro"
;for Label string
HKLM, %DEVICE_GROUP%\MemoryStick, Label, %REG_SZ%, "Winbond MS Drive"


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

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

[DriverEventLog]
AddReg=DriverAddEventLog.Reg

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

[SourceDisksNames]
1 = %SOURCE_DESC%,,

[SourceDisksFiles]
wbms_x86.sys=1,,,,,
wbms.ico=1,,,,,

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

[Strings]
Winbond="Winbond Electronics Corp."
DESCRIPTION="Winbond PCI Memory Stick Storage (MS/PRO) Device Driver"
SOURCE_DESC="Winbond PCI Memory Stick Controller Source Disk #1"
DEVICE_GROUP="SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\DeviceGroups"

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