-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvmulti.inf
143 lines (110 loc) · 3.92 KB
/
vmulti.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
[Version]
Signature="$CHICAGO$"
Class=HIDClass
ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider=%VENDOR%
DriverVer = 08/15/2024,19.58.7.628
CatalogFile=pentablethid.cat
[SourceDisksFiles]
vmulti.sys = 99
;hidkmdf.sys = 99
;WdfCoInstaller01009.dll=99 ; make sure the number matches with SourceDisksNames
[SourceDisksNames]
99 = %DISK_NAME%,,,""
[DestinationDirs]
CopyFunctionDriver = 12
vmulti.Inst_CoInstaller_CopyFiles = 11
[Manufacturer]
%VENDOR%=Vendor, NTArm64
; For XP and later
[Vendor.NTArm64]
%vmulti% = vmulti.Inst, pentablet\hid
; For Win7 and later so that we can use inbox HID-KMDF mapper
%vmulti% = vmulti.Inst.Win7, pentablet\hid
;===============================================================
; vmulti for XP thru Vista
;===============================================================
[vmulti.Inst.NT]
CopyFiles = CopyFunctionDriver
[vmulti.Inst.NT.HW]
AddReg = vmulti_Parameters.AddReg
;
; vmulti is the function driver and hidkmdf is the WDM HID minidriver
;
[vmulti.Inst.NT.Services]
;AddService = hidkmdf,,hidkmdf_Service_Inst,
AddService = vmulti,0x00000002, vmulti_Service_Inst
[CopyFunctionDriver]
;hidkmdf.sys
vmulti.sys
[vmulti_Parameters.AddReg]
HKR,,"UpperFilters",0x00010000,"hidkmdf"
[hidkmdf_Service_Inst]
DisplayName = %hidkmdf.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\hidkmdf.sys
LoadOrderGroup = PNP Filter
;===============================================================
; vmulti for Win7
; Instead of using hidkmdf.sys as a filter, use the inbox
; mshidkmdf.sys as a mapper filter
;===============================================================
[vmulti.Inst.Win7.NT]
; Just copy the driver. No neeed to copy other system binaries.
CopyFiles = CopyFunctionDriver
[vmulti.Inst.Win7.NT.HW]
AddReg = vmulti_Win7_Parameters.AddReg
;
; vmulti is the function driver and mshidkmdf is the WDM HID minidriver
;
[vmulti.Inst.Win7.NT.Services]
AddService = vmulti,0x00000002, vmulti_Service_Inst
[vmulti_Win7_Parameters.AddReg]
HKR,,"UpperFilters",0x00010000,"mshidkmdf"
;===============================================================
; Sections common to all OS versions
;===============================================================
[vmulti_Service_Inst]
DisplayName = %vmulti%
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_DEMAND_START%
ErrorControl = %SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\vmulti.sys
;================================================================
;--- WDF Coinstaller installation ------
;
[vmulti.Inst.NT.CoInstallers]
AddReg=vmulti.Inst_CoInstaller_AddReg
CopyFiles=vmulti.Inst_CoInstaller_CopyFiles
[vmulti.Inst_CoInstaller_AddReg]
;HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01009.dll,WdfCoInstaller"
[vmulti.Inst_CoInstaller_CopyFiles]
;WdfCoInstaller01009.dll,,,0x00000010 ;COPYFLG_NO_OVERWRITE (for win2k)
[vmulti.Inst.NT.Wdf]
KmdfService = vmulti, vmulti_wdfsect
[vmulti_wdfsect]
KmdfLibraryVersion = 1.9
[Strings]
; *******Localizable Strings*******
VENDOR = "Pentablet HID 1.1"
vmulti = "Pentablet HID"
DISK_NAME = "Pentablet Device Install Disk"
hidkmdf.SVCDESC= "Pentablet Device "
; *******Non Localizable Strings*******
SERVICE_BOOT_START = 0x0
SERVICE_SYSTEM_START = 0x1
SERVICE_AUTO_START = 0x2
SERVICE_DEMAND_START = 0x3
SERVICE_DISABLED = 0x4
SERVICE_KERNEL_DRIVER = 0x1
SERVICE_ERROR_IGNORE = 0x0
SERVICE_ERROR_NORMAL = 0x1
SERVICE_ERROR_SEVERE = 0x2
SERVICE_ERROR_CRITICAL = 0x3
REG_EXPAND_SZ = 0x00020000
REG_DWORD = 0x00010001
REG_MULTI_SZ = 0x00010000
REG_BINARY = 0x00000001
REG_SZ = 0x00000000