;/*
;*   virtbus.inf
;*/
[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%ProviderName%
DriverVer = 06/15/2024,1.0.23.3
CatalogFile=virtbus.cat
PnpLockdown=1

[DestinationDirs]
DefaultDestDir = 12
IDDBus_Device_CoInstaller_CopyFiles = 11

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

[SourceDisksFiles]
virtbus.sys  = 1,,
;


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

[Manufacturer]
%StdMfg%=Standard,NTamd64

; For XP and later
[Standard.NTamd64]
%IDDBus.DeviceDesc%=IDDBus_Device, root\virtbus

[IDDBus_Device.NT]
CopyFiles=Drivers_Dir

[IDDBus_Device.NT.HW]
AddReg=IDDBus_Device.NT.AddReg

[IDDBus_Device.NT.AddReg]                            
HKR,,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens
HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)"      ; Allow generic-all access to Built-in administrators and Local system 
[Drivers_Dir]
virtbus.sys


;-------------- Service installation
[IDDBus_Device.NT.Services]
AddService = virtbus,%SPSVCINST_ASSOCSERVICE%, Virtbus_Service_Inst

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

;
;--- IDDBus_Device WDF Coinstaller installation ------
;
[IDDBus_Device.NT.CoInstallers]
AddReg=IDDBus_Device_CoInstaller_AddReg
CopyFiles=IDDBus_Device_CoInstaller_CopyFiles

[IDDBus_Device_CoInstaller_AddReg]
;


[IDDBus_Device_CoInstaller_CopyFiles]
;


[IDDBus_Device.NT.Wdf]
KmdfService = virtbus, virtbus_wdfsect

[virtbus_wdfsect]
KmdfLibraryVersion = 1.15


[Strings]
SPSVCINST_ASSOCSERVICE = 0x00000002
ProviderName = "Honor"
StdMfg = "(Standard system devices)"
DiskId1 = "Indirect Display Bus Installation Disk #1"
IDDBus.DeviceDesc = "Indirect Display Bus System Device"
virtbus.SVCDESC = "Indirect Display Bus Enumerator"
