
; Trident.inf
;
; Installation inf for the Trident series of graphics adapters.
;

[Version]
Signature="$CHICAGO$"
Provider=%trident%
ClassGUID={4D36E968-E325-11CE-BFC1-08002BE10318}
Class=Display

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

;
; Driver information
;

[Manufacturer]
%trident% = trident.Mfg

[trident.Mfg]
Trident Video Accelerator = tgiul40


;
; General installation section
;

[tgiul40]
CopyFiles=tgiul40.Miniport, tgiul40.Display

;
; File sections
;

[tgiul40.Miniport]
tgiulnt.sys

[tgiul40.Display]
tgiul40.dll

;
; Service Installation
;

[tgiul40.Services]
AddService = tgiul40, 0x00000002, tgiul40_Service_Inst, tgiul40_EventLog_Inst

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

[tgiul40_EventLog_Inst]
AddReg = tgiul40_EventLog_AddReg

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


;
; Software Installation
;

[tgiul40.SoftwareSettings]
AddReg = tgiul40_SoftwareDeviceSettings

[tgiul40_SoftwareDeviceSettings]
HKR,, InstalledDisplayDrivers,     %REG_MULTI_SZ%, vga, tgiul40
HKR,, VgaCompatible,               %REG_DWORD%,    1
HKR,, VgaCompatible,                %REG_DWORD%,    1
HKR,, EnableDualVideos,             %REG_DWORD%,    1
HKR,, HardwareInformation.LastMode, %REG_DWORD%,    0
HKLM, "SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Services\tgiul40\Device0", DefaultSettings.XResolution, %REG_DWORD%, 640
HKLM, "SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Services\tgiul40\Device0", DefaultSettings.YResolution, %REG_DWORD%, 480
HKLM, "SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Services\tgiul40\Device0", DefaultSettings.VRefresh, %REG_DWORD%,    60
HKLM, "SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Services\tgiul40\Device0", DefaultSettings.BitsPerPel, %REG_DWORD%,  8


;
; Source file information
;

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

[SourceDisksFiles]
tgiul40.dll  = 1
; vga.dll  = 1       ; always shipped and preinstalled by NT itself - no need to copy
tgiulnt.sys  = 1



[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="Trident Installation DISK (VIDEO)"
trident="Trident"
