[Version]
Signature = "$WINDOWS NT$"
Class     = Monitor
ClassGuid = {4d36e96e-e325-11ce-bfc1-08002be10318}
Provider  = %MSFT%
DriverVer = 06/21/2006,10.0.20348.1

[ClassInstall32]
AddReg = ClassInstall_AddReg

[ClassInstall_AddReg]
HKR,,,,"%ClassDesc%"
HKR,,NoInstallClass,,1
HKR,,SilentInstall,,1
HKR,,DefaultService,,"monitor"
HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GA;;;BA)(A;;GA;;;S-1-2-1)(A;;GA;;;S-1-5-4)"
HKR,,IconPath,%REG_MULTI_SZ%,"%%SystemRoot%%\system32\setupapi.dll,-35"

[ClassInstall32.Configuration]
AddReg = ClassConfiguration_AddReg

[ClassConfiguration_AddReg]
HKR,Reset\Driver\MODES,,%FLG_ADDREG_DELKEY%
HKR,Reset\Driver,MaxResolution,%FLG_ADDREG_DELVAL%
HKR,Reset\Driver,DPMS,%FLG_ADDREG_DELVAL%
HKR,Driver\$!MODES\$MaxRes,,%FLG_ADDREG_KEYONLY%
HKR,Driver,$!MaxResolution,,%DEFAULT_MAX_RES%
HKR,Driver,$!DPMS,%REG_DWORD%,1
HKR,Variables\MaxRes,,,"KeyValue"
HKR,Variables\MaxRes,KeyRoot,,"Driver"
HKR,Variables\MaxRes,ValueName,,"MaxResolution"

[Strings]
; localizable strings
MSFT = "Microsoft"
ClassDesc = "Monitors"

; non-localizable strings
DEFAULT_MAX_RES    = "1600,1200"
REG_MULTI_SZ       = 0x00010000
REG_DWORD          = 0x00010001
FLG_ADDREG_KEYONLY = 0x00000010
FLG_ADDREG_DELVAL  = 0x00000004
FLG_ADDREG_DELKEY  = 0x00002004
