; Copyright (c) 2019-2020, NVIDIA CORPORATION.  All rights reserved.
;
; NvModuleTracker.inf
;

[Version]
; DVS Release build, 2892271851045659.0
Signature   = "$WINDOWS NT$"
Class       = "NvModuleTracker"
ClassGuid   = {AA018EDF-4915-415E-9C17-D7EBEC8917D2}
Provider    = %ManufacturerName%
CatalogFile = NvModuleTracker.cat
DriverVer = 08/11/2020,6.14.24370.22713
PnpLockDown = 1

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

[ClassInstall32]
Addreg = NvModuleTracker_Addreg

[NvModuleTracker_Addreg]
HKR,,,0,%ClassName%
HKR,,Icon,,-5
HKR,,NoDisplayClass,,1

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

[SourceDisksFiles]
NvModuleTracker.sys  = 1,,
WdfCoInstaller01011.dll = 1

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

[Manufacturer]
%ManufacturerName% = NVIDIA,NTamd64

[NVIDIA.NTamd64]
%DeviceDescription% = NvModuleTracker_Device,ROOT\NvModuleTracker

[DestinationDirs]
DefaultDestDir = 12
NvModuleTracker_Device_CoInstaller_CopyFiles = 11

[NvModuleTracker_Device.NTamd64]
CopyFiles = DriverFiles

[DriverFiles]
NvModuleTracker.sys

; Service installation

[NvModuleTracker_Device.NTamd64.Services]
AddService = %ServiceName%,%SPSVCINST_ASSOCSERVICE%,NvModuleTracker_Service_Inst

[NvModuleTracker_Service_Inst]
DisplayName    = %ServiceName%
Description    = %ServiceDescription%
ServiceType    = 1                      ; SERVICE_KERNEL_DRIVER
StartType      = 3                      ; SERVICE_DEMAND_START
ErrorControl   = 1                      ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\%DriverName%.sys  ; %windir%\system32\drivers

;--- NvModuleTracker_Device Coinstaller installation ------

[NvModuleTracker_Device.NTamd64.CoInstallers]
AddReg    = NvModuleTracker_Device_CoInstaller_AddReg
CopyFiles = NvModuleTracker_Device_CoInstaller_CopyFiles

[NvModuleTracker_Device_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01011.dll,WdfCoInstaller"

[NvModuleTracker_Device_CoInstaller_CopyFiles]
WdfCoInstaller01011.dll

[NvModuleTracker_Device.NTamd64.Wdf]
KmdfService =  NvModuleTracker,NvModuleTracker_wdfsect

[NvModuleTracker_wdfsect]
KmdfLibraryVersion = 1.11

; Strings

[Strings]
DriverName             = "NvModuleTracker"
ServiceName            = "NvModuleTracker"
ServiceDescription     = "Process and module monitoring driver"
SPSVCINST_ASSOCSERVICE = 0x00000002
DeviceDescription      = "NvModuleTracker Device"
ClassName              = "NvModuleTracker"
ManufacturerName       = "NVIDIA"
DiskName               = "NvModuleTracker Installation Disk"
