; Display.inf (for SUR)
;
; List of supported displays, manufacturers
;

[Version]
Signature="$CHICAGO$"
Provider=%MS%
ClassGUID={4D36E968-E325-11CE-BFC1-08002BE10318}
Class=Display
DriverVer=06/21/2006,6.1.7600.16385

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
vgapnp.sys 		= 3426

[DestinationDirs]
DefaultDestDir        = 11
vga.Miniport          = 12
vga.Display           = 11


;
; The Manufacturer section lists all of the manufacturers that we will
; display in the Dialog box
;
; Put generic manufacturers at the front so that setup finds those device
; descriptions first (in case of multiple matches)
;

[Manufacturer]
%Std%           = Std.Mfg,NTx86

;
; Model sections. Each section here corresponds with an entry listed in the
; [Manufacturer] section, above. The models will be displayed in the order
; that they appear in the INF file.
;
; Each model lists a variation of its own name as a compatible ID. This
; is done primarily as an optimization during upgrade.
;


[ControlFlags]
;ExcludeFromSelect=PCI\CC_0300
;ExcludeFromSelect=PCI\CC_0301
;ExcludeFromSelect=PCI\CC_0380
ExcludeFromSelect=LEGACY_UPGRADE_ID
ExcludeFromSelect=*

[Std.Mfg.NTx86]
%stdVga%                                    = vga,PCI\CC_0300
%stdVga%                                    = vga,PCI\CC_0301

;=PCIVID,,PCI\CC_0380;
%SystemUpgradeDevice% = LEGACY_UPGRADE, LEGACY_UPGRADE_ID

; so we don't have to hardcode the Mfg, Provider, or Description of the upgrade device in the CI
[SystemUpgradeDeviceStrings]
Mfg=%Std%
Provider=%MS%
Description=%SystemUpgradeDevice%

; LEGACY_UPGRADE section
[LEGACY_UPGRADE]

[LEGACY_UPGRADE.Services]
AddService = , %SPSVCINST_ASSOCSERVICE%   ; null service install

; vga Driver section


[vga]
FeatureScore=FE
CopyFiles=vga.Miniport
AddProperty=vga.AddProp

[vga.Miniport]
vgapnp.sys,,,0x100

[vga.AddProp]
GenericDriverInstalled,,,,1

; Software Installation

[vga.SoftwareSettings]
AddReg = vga_SoftwareDeviceSettings

[vga_SoftwareDeviceSettings]
HKR,, InstalledDisplayDrivers,     %REG_MULTI_SZ%, vga, framebuf, vga256, vga64k
HKR,, VgaCompatible,               %REG_DWORD%,    1


; Service Installation

[vga.Services]
AddService = vga, 0x00000002, vga_Generic_Service_Inst, vga_EventLog_Inst

[vga_EventLog_Inst]
AddReg = vga_EventLog_AddReg

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

[vga_Generic_Service_Inst]
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 0                  ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Video
ServiceBinary  = %12%\vgapnp.sys




; Migration database syntax
;
; PCI_ID = upgrade_value [, DriversList]
;
; where PCI_ID  = the PCI ID of the video card
; upgrade_value = 1 (upgrade) or 0 (no upgrade)
; DriversList   = This value is optional.  Name of another section in the INF which
;                 lists image names to check against the existing video drivers in the
;                 system (the names do NOT include the .sys or any sort of path).
;
; If DriversList is not present, the upgrade of the video card is base entirely on
; upgrade_value.
;
; If DriversList is present and a match is made, it negates upgrade_value.  For example,
; if upgrade_value is equal to %db_upgrade% and a match is made, then the upgrade of the
; video driver is failed and the old (legacy 4.0 / 3.51) driver is used instead.
;
; If the card PCIID is not in the upgrade database, then the driver is upgraded by default.
;
; an example DB for a upgrade scenario
; [VideoUpgradeDatabase]
; FooBarOne = 1
; FooBarTwo = 0, FooBarTwo.DriversList
;
; [FooBarTwo.DriversList]
; abcd
;
; Ex 1:  FooBarOne ID is matched ===> it is upgraded
; Ex 2:  FooBarTwo ID is matched and no matches are found in FooBarTwo.DriversList ===> upgrade is failed
; Ex 3:  FooBarTwo ID is matched and a match is found in FooBarTwo.DriversList ===> upgrade is succeeded
;


[Strings]

;
; Non-Localizable Strings
;
SPSVCINST_ASSOCSERVICE = 0x00000002

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

db_upgrade        = 0x00000001
db_no_upgrade     = 0x00000000

;
; Localizable Strings
;

MS="Microsoft"
autodetect="Autodetect driver"
vgacompat="VGA compatible display adapter"
stdVga="Standard VGA Graphics Adapter"
SystemUpgradeDevice="Video Upgrade Device"

Std          = "(Standard display types)"
GraphAdap    = "Graphics Adapter"
CompatAdap   = "Compatible Graphics Adapter"

