;Copyright 1998, Silicon Integrated Systems Corporation
; SiS620n4.inf
;
; Installation inf for the Silicon Integrated Systems SiS graphics adapter.
;

[Version]
Signature="$CHICAGO$"
Provider=%SiS%
ClassGUID={4D36E968-E325-11CE-BFC1-08002BE10318}
Class=Display
DriverVer=11/09/1999,4.00.1381.1070

[DestinationDirs]
DefaultDestDir   = 11
SiSV.Driver    = 12  ; drivers
SiSV.Miniport  = 12  ; drivers
SiSV.Display   = 11  ; system32

;
; Driver information
;

[Manufacturer]
%SiS%   = SiS.Mfg

[SiS.Mfg]
%SiS% = SiSV


;
; General installation section
;

[SiSV]
CopyFiles=SiSV.Miniport, SiSV.Driver, SiSV.Display
DelReg=SiSV.Util.Delreg           ;Delete the old key 
AddReg=SiSV.Util.Addreg




;
; File sections
;

[SiSV.Miniport]
SiS620p4.sys

[SiSV.Driver]
SiSLCD.sys

[SiSV.Display]
SiS620v4.dll
SiSLCD.dll

;
; Service Installation
;

[SiSV.Services]
AddService = SiSV, 0x00000002, SiSV_Service_Inst, SiSV_EventLog_Inst
AddService = SiSLCD, 0x00000002, SiSLCD_Service_Inst, SiSLCD_EventLog_Inst

[SiSV_Service_Inst]
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 1                  ; SERVICE_SYSTEM_START
ErrorControl   = 0                  ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Video
ServiceBinary  = %12%\SiS620p4.sys

[SiSV_EventLog_Inst]
AddReg = SiSV_EventLog_AddReg

[SiSV_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\drivers\SiS620p4.sys"
HKR,,TypesSupported,0x00010001,7

[SiSLCD_Service_Inst]
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 1                  ; SERVICE_SYSTEM_START
ErrorControl   = 0                  ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Port
ServiceBinary  = %12%\SiSLCD.sys

[SiSLCD_EventLog_Inst]
AddReg = SiSLCD_EventLog_AddReg

[SiSLCD_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\drivers\SiSLCD.sys"
HKR,,TypesSupported,0x00010001,7

HKCR,"CLSID\{08EC1ED1-9628-11d2-A200-0080C84D4178}\InProcServer32",,,sislcd.dll
HKCR,"CLSID\{08EC1ED1-9628-11d2-A200-0080C84D4178}\InProcServer32",ThreadingModel,,Apartment
HKLM,"Software\Microsoft\Windows\CurrentVersion\Controls Folder\Display\shellex\PropertySheetHandlers\SiS LCD Property",,,"{08EC1ED1-9628-11d2-A200-0080C84D4178}"


;
; Software Installation
;

[SiSV.SoftwareSettings]
AddReg = SiSV_SoftwareDeviceSettings

[SiSV_SoftwareDeviceSettings]
HKR,, InstalledDisplayDrivers,     %REG_MULTI_SZ%, SiS620v4
HKR,, VgaCompatible,               %REG_DWORD%,    1


;
; Source file information
;

[SourceDisksNames.x86]
1 = %DiskId%,,,""

[SourceDisksFiles]
SiS620p4.sys  = 1
SiS620v4.dll = 1
SiSLCD.sys = 1
SiSLCD.dll = 1

[SiSV.Util.Addreg]
HKLM,%SERVICEROOT%"\Silicon Integrated System Corp.\2D","OEMSetup",,"0"
HKLM,%SERVICEROOT%"\Silicon Integrated System Corp.\2D",  "BI01",,"60,70,72,75,85,100,120,160,200"
HKLM,%SERVICEROOT%"\Silicon Integrated System Corp.\2D",  "BI03",,"60,70,72,75,85,100,120,160,200"
HKLM,%SERVICEROOT%"\Silicon Integrated System Corp.\2D",  "BI05",,"60,70,72,75,85,100,120,160,200"
HKLM,%SERVICEROOT%"\Silicon Integrated System Corp.\2D",  "BI11",,"56,60,70,72,75,85,100,120,160"
HKLM,%SERVICEROOT%"\Silicon Integrated System Corp.\2D",  "BI13",,"56,60,70,72,75,85,100,120,160"
HKLM,%SERVICEROOT%"\Silicon Integrated System Corp.\2D",  "BI15",,"56,60,70,72,75,85,100,120,160"
HKLM,%SERVICEROOT%"\Silicon Integrated System Corp.\2D",  "BI21",,"43,60,70,75,85,100,120"
HKLM,%SERVICEROOT%"\Silicon Integrated System Corp.\2D",  "BI23",,"43,60,70,75,85,100,120"
HKLM,%SERVICEROOT%"\Silicon Integrated System Corp.\2D",  "BI25",,"43,60,70,75,85,100,120"
HKLM,%SERVICEROOT%"\Silicon Integrated System Corp.\2D",  "BI31",,"43,60,75,85"
HKLM,%SERVICEROOT%"\Silicon Integrated System Corp.\2D",  "BI33",,"43,60,75,85"
HKLM,%SERVICEROOT%"\Silicon Integrated System Corp.\2D",  "BI35",,"43,60,75,85"
HKLM,%SERVICEROOT%"\Silicon Integrated System Corp.\2D",  "BI41",,"60,65,70,75,85"
HKLM,%SERVICEROOT%"\Silicon Integrated System Corp.\2D",  "BI43",,"60,65,70,75,85"
HKLM,%SERVICEROOT%"\Silicon Integrated System Corp.\2D",  "BI45",,"60,65,70,75,85"

HKLM,%SERVICEROOT%"\Silicon Integrated System Corp.\SiS LCD",  "XMaxOffset", %REG_DWORD%, 40
HKLM,%SERVICEROOT%"\Silicon Integrated System Corp.\SiS LCD",  "YMaxOffset", %REG_DWORD%, 45

HKLM,%SERVICEROOT%"\Silicon Integrated System Corp.\SiS LCD",  "LCDSwitch", %REG_DWORD%, 1

[SiSV.Util.Delreg]
HKLM,%SERVICEROOT%"\Silicon Integrated System Corp.\SiS LCD"



[Strings]

;
; Non-Localizable Strings
;

;REG_SZ         = 0x00000000
REG_MULTI_SZ   = 0x00010000
;REG_EXPAND_SZ  = 0x00020000
;REG_BINARY     = 0x00000001
REG_DWORD      = 0x00010001
SERVICEROOT    = "System\CurrentControlSet\Services"

;
; Localizable Strings
;

DiskId       = "Silicon Integrated Systems Installation DISK (VIDEO)"
;GraphAdap    = "Graphics Adapter"
SiS      = "SiS 620"
