;
;       Dynamic Power Reduction Driver
;

[Version]
Signature   = "$WINDOWS NT$"
Class       = Extension
ClassGuid   = {e2f84ce7-8efa-411c-aa69-97454ca4cb57}
Provider    = %ProviderName%
DriverVer = 12/13/2020,1.0.0.5
CatalogFile = DPREXT.cat
ExtensionId = {2ae47e54-3d0a-497f-aa20-7c3ccf2cfe96}

[DestinationDirs]
DPR.DriverFiles = 16425

[Manufacturer]
%CompanyName% = DeviceExtensions,NTamd64

[TargetComputers]
{65ef4227-021a-5b5c-9df6-514ab324f5e6}
{7c95dbba-a42a-5de1-bd8a-45928b58aa34}	
{219b66c2-022e-5fab-b1e8-049d9ac553dc}
{4692f8fd-526a-5fc2-9c91-60cfeaff46b2}

[DeviceExtensions.NTamd64]
%SystemDevice%  = DeviceExtension_Install, PCI\VEN_8086&DEV_7360&SUBSYS_00208086
%SystemDevice%  = DeviceExtension_Install, PCI\VEN_8086&DEV_7360&SUBSYS_85051CF8

[SourceDisksNames]
1 = %Disk1%

[SourceDisksFiles]
DPRSrv.exe = 1
"Dynamic Power Reduction Utility.exe" = 1
SetPower.exe = 1
fiboDPRApi.dll = 1
IntelSarDll.dll = 1

[DeviceExtension_Install]
CopyFiles = DPR.DriverFiles

[DPR.DriverFiles]
"Dynamic Power Reduction Utility.exe",,,0x0001002C
IntelSarDll.dll,,,0x0001002C
fiboDPRApi.dll,,,0x0001002C
SetPower.exe,,,0x0001002C
DPRSrv.exe,,,0x0001002C

[DeviceExtension_Install.Services]
AddService = DPRSrv,0x00000800,DPRServiceInst

;;[DPRServiceAddReg]
;;HKR,,ObjectName,,"NT AUTHORITY\LocalService"
;;HKR,,ObjectName,,

[DPRServiceInst]
DisplayName     = %ServiceName%
Description     = %ServiceDesc%
ServiceType     = 0x10
StartType       = %SERVICE_AUTO_START%
ErrorControl    = %SERVICE_ERROR_NORMAL%
ServiceBinary   = %16425%\DPRSrv.exe
;;LoadOrderGroup  = "File System"
;;AddReg          = DPRServiceAddReg

[Strings]
ProviderName = "Lenovo"
CompanyName  = "Lenovo"

ServiceName      = "DPRSrv"
SystemDevice     = "Fibocom L850-GL"
Disk1            = "DPR"
ServiceDesc      = "DPR Service"

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

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