;
; OrayIddDriver.inf
;

[Version]
PnpLockDown=1
Signature="$Windows NT$"
ClassGUID = {4D36E968-E325-11CE-BFC1-08002BE10318}
Class = Display
ClassVer = 2.0
Provider=%ManufacturerName%
CatalogFile=OrayIddDriver.cat
DriverVer = 06/21/2021,17.46.32.8

[Manufacturer]
%ManufacturerName%=Standard,NTamd64

[Standard.NTamd64]
%DeviceName%=OrayIddDriver_Install, Root\OrayIddDriver
%DeviceName%=OrayIddDriver_Install, OrayIddDriver

[SourceDisksFiles]
OrayIddDriver.dll=1

[SourceDisksNames]
1 = %DiskName%

; =================== UMDF Device ==================================

[OrayIddDriver_Install.NT]
CopyFiles=UMDriverCopy

[OrayIddDriver_Install.NT.hw]
AddReg = OrayIddDriver_HardwareDeviceSettings

[OrayIddDriver_HardwareDeviceSettings]
HKR,, "UpperFilters",  %REG_MULTI_SZ%, "IndirectKmd"
HKR, "WUDF", "DeviceGroupId", %REG_SZ%, "OrayIddDriverGroup"

[OrayIddDriver_Install.NT.Services]
AddService=WUDFRd,0x000001fa,WUDFRD_ServiceInstall

[OrayIddDriver_Install.NT.Wdf]
UmdfService=OrayIddDriver,OrayIddDriver_Install
UmdfServiceOrder=OrayIddDriver
UmdfKernelModeClientPolicy = AllowKernelModeClients

[OrayIddDriver_Install]
UmdfLibraryVersion=2.0.0 
ServiceBinary=%12%\UMDF\OrayIddDriver.dll
UmdfExtensions = IddCx0102

[WUDFRD_ServiceInstall]
DisplayName = %WudfRdDisplayName%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\WUDFRd.sys

[DestinationDirs]
UMDriverCopy=12,UMDF

[UMDriverCopy]
OrayIddDriver.dll

; =================== Generic ==================================

[Strings]
ManufacturerName="Shanghai Best Oray Information Technology Co., Ltd."
DiskName = "OrayIddDriver Installation Disk"
WudfRdDisplayName="Windows Driver Foundation - User-mode Driver Framework Reflector"
DeviceName="OrayIddDriver Device"

REG_MULTI_SZ  = 0x00010000
REG_SZ        = 0x00000000
REG_EXPAND_SZ = 0x00020000
REG_DWORD     = 0x00010001
