forked from leejohannes/virtualmonitor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
usbmmIdd.inf
100 lines (79 loc) · 5.39 KB
/
usbmmIdd.inf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
; usbmmm.inf
;
; Installation inf for the USB Mobile Monitor Indirect Display Adapater
; http://www.usbmobilemonitor.com
; Copyright Amyuni Technologies: http://www.amyuni.com
;
[Version]
PnpLockDown=1
Signature="$Windows NT$"
Provider=%amyuni%
ClassGUID = {4D36E968-E325-11CE-BFC1-08002BE10318}
Class = Display
ClassVer = 2.0
DriverVer=08/31/2021,2.0.0.1
CatalogFile=usbmmIdd.cat
[Manufacturer]
%amyuni%=Standard,,ntx86,ntamd64
[Standard.ntx86]
%UsbmmIdd%=MyDevice_Install, usbmmIdd
[Standard.ntamd64]
%UsbmmIdd%=MyDevice_Install, usbmmIdd
[SourceDisksFiles]
usbmmIdd.dll=1
[SourceDisksNames.x86]
1 = %DiskId%,,,\Win32
[SourceDisksNames.amd64]
1 = %DiskId%,,,\x64
; =================== UMDF Device ==================================
[MyDevice_Install.NT]
CopyFiles=UMDriverCopy
[MyDevice_Install.NT.hw]
AddReg = MyDevice_HardwareDeviceSettings
[MyDevice_Install.AddReg]
HKR, "Parameters\Monitors", , %REG_SZ%, "1920,1080"
HKR, "Parameters\Monitors", "0", %REG_SZ%, "1024,768"
HKR, "Parameters\Monitors", "1", %REG_SZ%, "1360,768"
HKR, "Parameters\Monitors", "2", %REG_SZ%, "1440,900"
HKR, "Parameters\Monitors", "3", %REG_SZ%, "1600,900"
HKR, "Parameters\Monitors", "4", %REG_SZ%, "1600,1200"
HKR, "Parameters\Monitors", "5", %REG_SZ%, "1920,1080"
HKR, "Parameters\Monitors", "6", %REG_SZ%, "1920,1200"
HKR, "Parameters\Monitors", "7", %REG_SZ%, "2560,1440"
HKR, "Parameters\Monitors", "8", %REG_SZ%, "3840,2160"
[MyDevice_HardwareDeviceSettings]
HKR,, "UpperFilters", %REG_MULTI_SZ%, "IndirectKmd"
HKR, "WUDF", "DeviceGroupId", %REG_SZ%, "usbmmIddGroup"
HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GRGWGX;;;WD)(A;;GRGWGX;;;RC)"
[MyDevice_Install.NT.Services]
AddService=WUDFRd,0x000001fa,WUDFRD_ServiceInstall
[MyDevice_Install.NT.Wdf]
UmdfService=usbmmIdd,usbmmIdd_Install
UmdfServiceOrder=usbmmIdd
UmdfKernelModeClientPolicy = AllowKernelModeClients
[usbmmIdd_Install]
UmdfLibraryVersion=2.15.0
ServiceBinary=%12%\UMDF\usbmmIdd.dll
UmdfExtensions = IddCx0102
AddReg=MyDevice_Install.AddReg
[WUDFRD_ServiceInstall]
DisplayName = %WudfRdDisplayName%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\WUDFRd.sys
[DestinationDirs]
UMDriverCopy=12,UMDF ; copy to drivers\umdf
[UMDriverCopy]
usbmmIdd.dll
; =================== Generic ==================================
[Strings]
DiskId = "USB Mobile Monitor Installation DISK"
WudfRdDisplayName="Windows Driver Foundation - User-mode Driver Framework Reflector"
amyuni = "Amyuni"
MfgName = "Amyuni Technologies"
UsbmmIdd ="USB Mobile Monitor Virtual Display"
REG_MULTI_SZ = 0x00010000
REG_SZ = 0x00000000
REG_EXPAND_SZ = 0x00020000
REG_DWORD = 0x00010001