;
; SurfacePowerMeterDriver.inf
;
; Copyright (C) 2014 Microsoft Corporation.  All Rights Reserved.

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%ManufacturerName%
CatalogFile=SurfacePowerMeterDriver.cat
DriverVer=09/05/2017,1.9.136.0
PnpLockdown=1

[DestinationDirs]
DefaultDestDir                = 12                            ; %WinDir%\System32\Drivers
ProvisioningPackage_CopyFiles = 10,Provisioning\Packages      ; %WinDir%\Provisioning\Packages

; ================= Class section =====================

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

[SourceDisksFiles]
SurfacePowerMeterDriver.sys       = 1,,

;*****************************************
; Install Section
;*****************************************

[Manufacturer]
%ManufacturerName%=Standard,NTamd64

[Standard.NTamd64]
%SurfacePowerMeterDriver.DeviceDesc%=SurfacePowerMeterDriver_Device, {5AE6B5A3-26AE-4FCF-B774-6F7EB76FD072}\SurfacePowerMeter

[SurfacePowerMeterDriver_Device.NT]
CopyFiles=DefaultDestDir

[DefaultDestDir]
SurfacePowerMeterDriver.sys

[SurfacePowerMeterDriver_Device.NT.HW]

;-------------- Service installation
[SurfacePowerMeterDriver_Device.NT.Services]
;
; %SPSVCINST_ASSOCSERVICE% should only be specificed if this is a function driver.
;
AddService = SurfacePowerMeterDriver,%SPSVCINST_ASSOCSERVICE%, SurfacePowerMeterDriver_Service_Inst

; -------------- SurfacePowerMeterDriver driver install sections
[SurfacePowerMeterDriver_Service_Inst]
DisplayName    = %SurfacePowerMeterDriver.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\SurfacePowerMeterDriver.sys

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ManufacturerName="Surface"
DiskName = "Surface Power Meter Driver Installation Disk"
SurfacePowerMeterDriver.DeviceDesc = "Surface Power Meter"
SurfacePowerMeterDriver.SVCDESC = "Surface Power Meter Driver"
