;++
;
; Copyright (c) 2011 Microsoft Corporation
;
; Module Name:
;
;    SampleDisplay.inf
;
; Abstract:
;
;    Inf file for Kernel mode display only sample driver
;
;--

[Version]
Signature = "$Windows NT$"
Class=Display
ClassGUID={4d36e968-e325-11ce-bfc1-08002be10318}
Provider=%IHV%
DriverVer= 02/22/2021, 9.00.10.0112
CatalogFile=astkmd.cat

[DestinationDirs]
ASTGRP.Files = 12

[SourceDisksNames]
0=%Desc_Sample%

[SourceDisksFiles]
astkmd.sys=0

[Manufacturer]
%IHV%=ASPEED,NTamd64

[ASPEED]
;
;	Allow the driver to be loaded on VGA and XGA
;
%Vendor.AST2000.Device1% = ASTGRP_Inst, PCI\VEN_1A03&DEV_2000

[ASPEED.NTamd64]
;
;	Allow the driver to be loaded on VGA and XGA
;
%Vendor.AST2000.Device1% = ASTGRP_Inst, PCI\VEN_1A03&DEV_2000

[ASTGRP_Inst]
Include=msdv.inf
FeatureScore=E0
CopyFiles = ASTGRP.Files
AddReg = ASTGRP_SoftwareDeviceSettings

;
;   Install driver service
;
[ASTGRP_Inst.Services]
AddService = ASTGRP,0x00000002,ASTGRP_Service_Inst,

[ASTGRP_Service_Inst]
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = 3
ErrorControl = %SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\astkmd.sys

;
;   Display Adapter Specific Settings
;
[ASTGRP.SoftwareSettings]
AddReg = ASTGRP_SoftwareDeviceSettings

[ASTGRP_SoftwareDeviceSettings]
HKR,, VgaCompatible,               %REG_DWORD%, 0

[ASTGRP.Files]
astkmd.sys

[KDODSamp_EventLog_Inst]
AddReg = KDODSamp_EventLog_Inst.AddReg

[KDODSamp_EventLog_Inst.AddReg]
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll"
HKR,,TypesSupported,%REG_DWORD%,7


[Strings]

;  *******Localizable Strings*******
IHV= "ASPEED"
Desc_Sample = "ASPEED Technology Inc. Installation Disk"
Vendor.AST2000.Device1    = "ASPEED Graphics Family(WDDM)"

;  *******Non Localizable Strings*******

SERVICE_BOOT_START = 0x0
SERVICE_SYSTEM_START = 0x1
SERVICE_AUTO_START = 0x2
SERVICE_DEMAND_START = 0x3
SERVICE_DISABLED = 0x4

SERVICE_KERNEL_DRIVER = 0x1
SERVICE_ERROR_IGNORE = 0x0
SERVICE_ERROR_NORMAL = 0x1
SERVICE_ERROR_SEVERE = 0x2
SERVICE_ERROR_CRITICAL = 0x3

REG_MULTI_SZ   = 0x00010000
REG_EXPAND_SZ = 0x00020000
REG_DWORD = 0x00010001
