;/*++ ; ; Copyright (c) Microsoft Corporation ; ; Module Name: ; ; MPTFCore.inf ; ; Abstract: ; ; INF file for installing the MPTF Core Driver ; ;--*/ [Version] Signature="$WINDOWS NT$" Class=Thermal ClassGuid={ca301ce1-74fc-45ea-a557-461ef48b9e37} Provider=%VENDOR% DriverVer = 06/21/2006,10.0.26100.8328 PnpLockdown=1 [DestinationDirs] Drivers_Dir = 13 ServiceCopy = 13 [SourceDisksNames] 1 = %DiskName%,,,"" [SourceDisksFiles] MptfCore.sys = 1 MPTFGenericService.exe = 1 ;***************************************** ; Install Section ;***************************************** [Manufacturer] %VENDOR%=Vendor,NTamd64 [Vendor.NTamd64] %MptfCore%=MptfCore.Inst, ACPI\MSFT000D %MptfCore%=MptfCore.Inst, root\MSFT000D [MptfCore.Inst.NT] CopyFiles=Drivers_Dir, ServiceCopy [Drivers_Dir] MptfCore.sys [ServiceCopy] MptfGenericService.exe [MptfCore.Inst.NT.HW] AddReg = MptfCore.Inst.NT.AddReg [MptfCore.Inst.NT.AddReg] HKR,,"Security",,"D:P(A;;GA;;;SY)(A;;GA;;;BA)(A;;GA;;;UD)" ; Allow access to system, administrators group, and user-mode drivers ;-------------- Service installation [MptfCore.Inst.NT.Services] ; ; %SPSVCINST_ASSOCSERVICE% should only be specified if this is a function driver. ; AddService = MptfCore,%SPSVCINST_ASSOCSERVICE%, MptfCore_Service_Inst AddService = MPTFGenericService,0x00000800,MPTFGenericServiceInstall ; This installs MPTFGenericService (NT Service) ; -------------- MptfCore driver install sections [MptfCore_Service_Inst] DisplayName = %MptfCore% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %13%\MptfCore.sys AddReg = MptfCore.AddReg [MptfCore.AddReg] HKR,Parameters,LogPages,0x00010001, 3 ; Driver IFR size [MPTFGenericServiceInstall] DisplayName = "MPTF Generic Service" Description = "Client Service for MPTF" ServiceType = %SERVICE_WIN32_SHARE_PROCESS% StartType = %SERVICE_AUTO_START% ErrorControl = %SERVICE_ERROR_NORMAL% ServiceBinary = %13%\MptfGenericService.exe [Strings] ; localizable strings VENDOR="Microsoft" MptfCore = "MPTF Core Driver" DiskName = "MPTF Core Driver Installation Disk" ; non-localizable strings SPSVCINST_ASSOCSERVICE= 0x00000002 SERVICE_KERNEL_DRIVER = 1 SERVICE_AUTO_START = 2 SERVICE_DEMAND_START = 3 SERVICE_ERROR_NORMAL = 1 SERVICE_WIN32_SHARE_PROCESS = 0x00000020