;
; LGIdd.inf
;

[Version]
Signature="$Windows NT$"
Class=Display
ClassGuid={4D36E968-E325-11CE-BFC1-08002BE10318}
ClassVer=2.0
Provider=%ManufacturerName%
CatalogFile=LGIdd.cat
DriverVer=0.1
PnpLockDown=1

[Manufacturer]
%ManufacturerName%=Standard,NT$ARCH$

[Standard.NT$ARCH$]
%DeviceName%=LGIdd_Install, Root\LGIdd
%DeviceName%=LGIdd_Install, LGIdd

[SourceDisksFiles]
LGIdd.dll=1

[SourceDisksNames]
1 = %DiskName%

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

[LGIdd_Install.NT]
CopyFiles=UMDriverCopy

[LGIdd_Install.NT.hw]
AddReg = LGIdd_HardwareDeviceSettings

[LGIdd_HardwareDeviceSettings]
HKR,, "UpperFilters", %REG_MULTI_SZ%, "IndirectKmd"
HKR, "WUDF", "DeviceGroupId", %REG_SZ%, "LGIddGroup"

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

[LGIdd_Install.NT.Wdf]
UmdfService=LGIdd,LGIdd_Install
UmdfServiceOrder=LGIdd
UmdfKernelModeClientPolicy=AllowKernelModeClients

[LGIdd_Install]
UmdfLibraryVersion=$UMDFVERSION$ 
ServiceBinary=%12%\UMDF\LGIdd.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]
LGIdd.dll

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

[Strings]
ManufacturerName="Looking Glass"
DiskName = "LGIdd Installation Disk"
WudfRdDisplayName="Windows Driver Foundation - User-mode Driver Framework Reflector"
DeviceName="Looking Glass Indirect Display Driver"

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