Files
Virtual-Display-Driver/IddSampleDriver/IddSampleDriver.inf
T
2024-03-30 16:45:11 -07:00

78 lines
4.3 KiB
INI

;
; IddSampleDriver.inf
;
[Version]
PnpLockdown=1
Signature="$Windows NT$"
ClassGUID = {4D36E968-E325-11CE-BFC1-08002BE10318}
Class = Display
ClassVer = 2.0
Provider=%ManufacturerName%
CatalogFile=IddSampleDriver.cat
DriverVer= ; TODO: set DriverVer in stampinf property pages
[Manufacturer]
%ManufacturerName%=Standard,NT$ARCH$
[Standard.NT$ARCH$]
%DeviceName%=MyDevice_Install, Root\IddSampleDriver ; TODO: edit hw-id
%DeviceName%=MyDevice_Install, IddSampleDriver ; TODO: edit hw-id, this hardware if is used by the IddSampleApp.exe
[SourceDisksFiles]
IddSampleDriver.dll=1
[SourceDisksNames]
1 = %DiskName%
; =================== UMDF Device ==================================
[MyDevice_Install.NT]
CopyFiles=UMDriverCopy
[MyDevice_Install.NT.hw]
AddReg = MyDevice_HardwareDeviceSettings
[MyDevice_HardwareDeviceSettings]
HKR,, "UpperFilters", %REG_MULTI_SZ%, "IndirectKmd"
HKR, "WUDF", "DeviceGroupId", %REG_SZ%, "IddSampleDriverGroup" ; TODO: edit driver group name, see README.md for more info
[MyDevice_Install.NT.Services]
AddService=WUDFRd,0x000001fa,WUDFRD_ServiceInstall
[MyDevice_Install.NT.Wdf]
UmdfService=IddSampleDriver,IddSampleDriver_Install
UmdfServiceOrder=IddSampleDriver
UmdfKernelModeClientPolicy = AllowKernelModeClients
[IddSampleDriver_Install]
UmdfLibraryVersion=$UMDFVERSION$
ServiceBinary=%12%\UMDF\IddSampleDriver.dll
UmdfExtensions = IddCx0102
[WUDFRD_ServiceInstall]
DisplayName = %WudfRdDisplayName%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\WUDFRd.sys
[DestinationDirs]
UMDriverCopy=12,UMDF ; copy to drivers\umdf
[UMDriverCopy]
IddSampleDriver.dll
; =================== Generic ==================================
[Strings]
ManufacturerName="MikeTheTech" ; TODO: Replace with your manufacturer name
DiskName = "IddSampleDriver Installation Disk" ; TODO: Replace with driver disk name
WudfRdDisplayName="Windows Driver Foundation - User-mode Driver Framework Reflector"
DeviceName="Virtual Display with HDR" ; TODO: Replace with correct device name
REG_MULTI_SZ = 0x00010000
REG_SZ = 0x00000000
REG_EXPAND_SZ = 0x00020000
REG_DWORD = 0x00010001