; Copyright (c) Microsoft Corporation.  All rights reserved.

[Version]
Signature="$WINDOWS NT$"
Class=SYSTEM
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%MSFT%
DriverVer = 06/21/2006,10.0.22621.1
PnpLockdown=1

[DestinationDirs]
DefaultDestDir = 12

[Manufacturer]
%StdMfg%=CAD_Device, NTARM, NTx86, NTARM64, NTAMD64

[CAD_Device.NTARM]
%CAD_DevDesc%=CAD_Inst, Root\CAD

[CAD_Device.NTARM64]
%CAD_DevDesc%=CAD_Inst, Root\CAD

[CAD_Device.NTx86]
%CAD_DevDesc%=CAD_Inst, Root\CAD

[CAD_Device.NTAMD64]
%CAD_DevDesc%=CAD_Inst, Root\CAD

[CAD_Inst.NT]
CopyFiles=CAD_Inst.NT.Copy

[CAD_Inst.NT.HW]
AddReg = CAD_Inst_SecurityAddReg

[CAD_Inst_SecurityAddReg]
HKR,,DeviceCharacteristics,0x10001,0x00000100               ; FILE_DEVICE_SECURE_OPEN
HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)(A;;GA;;;UD)"    ; Grant access to local system, and user-mode drivers

[CAD_Inst.NT.Copy]
CAD.sys,,,0x100

[SourceDisksFiles]
CAD.sys = 1

[SourceDisksNames]
1 = %DiskId1%,,,""

[CAD_Inst.NT.Services]
AddService = CAD, 0x00000002, CAD_Service_Inst

[CAD_Service_Inst]
DisplayName    = %CAD_DevDesc%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\CAD.sys

[Strings]
CAD_DevDesc = "Charge Arbitration Driver"
DiskId1 = "Windows Charge Arbitration Driver Installation Disk #1"
MSFT = "Microsoft"
StdMfg = "(Standard system devices)"

REG_SZ         = 0x00000000
REG_BINARY     = 0x00000001
REG_DWORD      = 0x00010001
