1 | ; $Id: VBoxWddm.inf 98329 2023-01-26 20:33:00Z vboxsync $
|
---|
2 | ;; @file
|
---|
3 | ; VirtualBox Video Wddm driver
|
---|
4 | ;
|
---|
5 |
|
---|
6 | ;
|
---|
7 | ; Copyright (C) 2011-2023 Oracle and/or its affiliates.
|
---|
8 | ;
|
---|
9 | ; This file is part of VirtualBox base platform packages, as
|
---|
10 | ; available from https://www.virtualbox.org.
|
---|
11 | ;
|
---|
12 | ; This program is free software; you can redistribute it and/or
|
---|
13 | ; modify it under the terms of the GNU General Public License
|
---|
14 | ; as published by the Free Software Foundation, in version 3 of the
|
---|
15 | ; License.
|
---|
16 | ;
|
---|
17 | ; This program is distributed in the hope that it will be useful, but
|
---|
18 | ; WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
19 | ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
20 | ; General Public License for more details.
|
---|
21 | ;
|
---|
22 | ; You should have received a copy of the GNU General Public License
|
---|
23 | ; along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
24 | ;
|
---|
25 | ; SPDX-License-Identifier: GPL-3.0-only
|
---|
26 | ;
|
---|
27 |
|
---|
28 | [Version]
|
---|
29 | Signature="$WINDOWS NT$"
|
---|
30 | Provider=%ORACLE%
|
---|
31 | ClassGUID={4D36E968-E325-11CE-BFC1-08002BE10318}
|
---|
32 | Class=Display
|
---|
33 | DriverPackageType=PlugAndPlay
|
---|
34 | ;edit-DriverVer=02/26/2010,1.00.0000
|
---|
35 | ;cat CatalogFile = VBoxWddm.cat
|
---|
36 |
|
---|
37 | [DestinationDirs]
|
---|
38 | DefaultDestDir=11
|
---|
39 | VBoxWDDM.Miniport = 12 ; drivers
|
---|
40 | VBoxWDDM.Display = 11 ; system32
|
---|
41 | ;amd64 VBoxWDDM.Display_wow64 = 10,SysWow64 ; SysWow64
|
---|
42 |
|
---|
43 | [Manufacturer]
|
---|
44 | %ORACLE%=VBoxWDDM@[email protected]
|
---|
45 |
|
---|
46 | [VBoxWDDM@[email protected]]
|
---|
47 | %VBoxWDDM.SvcDesc% = VBoxWDDM_Install, PCI\VEN_80EE&DEV_BEEF
|
---|
48 |
|
---|
49 | [VBoxWDDM_Install]
|
---|
50 | FeatureScore = F8
|
---|
51 | Include = msdv.inf
|
---|
52 | ;x86 CopyFiles = VBoxWDDM.Miniport, VBoxWDDM.Display
|
---|
53 | ;amd64 CopyFiles = VBoxWDDM.Miniport, VBoxWDDM.Display, VBoxWDDM.Display_wow64
|
---|
54 | AddReg = VBoxWDDM_SoftwareDeviceSettings
|
---|
55 | ;todo: clear XPDM driver settings: DelReg = VBoxWDDM_RemoveDeviceSettings
|
---|
56 |
|
---|
57 | [VBoxWDDM.Miniport]
|
---|
58 | VBoxWddm.sys
|
---|
59 |
|
---|
60 | [VBoxWDDM.Display]
|
---|
61 | ;dispd3d VBoxDispD3D.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME
|
---|
62 | ;dispdx VBoxDX.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME
|
---|
63 | ;mesa3d VBoxNine.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME
|
---|
64 | ;mesa3d VBoxSVGA.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME
|
---|
65 | ;mesa3d VBoxGL.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME
|
---|
66 |
|
---|
67 | ;amd64 [VBoxWDDM.Display_wow64]
|
---|
68 | ;amd64 ;dispd3d VBoxDispD3D-x86.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME
|
---|
69 | ;amd64 ;dispdx VBoxDX-x86.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME
|
---|
70 | ;amd64 ;mesa3d VBoxNine-x86.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME
|
---|
71 | ;amd64 ;mesa3d VBoxSVGA-x86.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME
|
---|
72 | ;amd64 ;mesa3d VBoxGL-x86.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME
|
---|
73 |
|
---|
74 | [VBoxWDDM_SoftwareDeviceSettings]
|
---|
75 | ;dispd3d HKR,, InstalledDisplayDrivers, %REG_MULTI_SZ%, VBoxDispD3D
|
---|
76 | ;dispd3d HKR,, UserModeDriverName, %REG_MULTI_SZ%, VBoxDispD3D.dll
|
---|
77 | ;amd64 ;dispd3d HKR,, UserModeDriverNameWow, %REG_MULTI_SZ%, VBoxDispD3D-x86.dll
|
---|
78 | ;dispdx HKR,, InstalledDisplayDrivers, %REG_MULTI_SZ%, VBoxDispD3D, VBoxDX, VBoxDX
|
---|
79 | ;dispdx HKR,, UserModeDriverName, %REG_MULTI_SZ%, VBoxDispD3D.dll, VBoxDX.dll, VBoxDX.dll
|
---|
80 | ;amd64 ;dispdx HKR,, UserModeDriverNameWow, %REG_MULTI_SZ%, VBoxDispD3D-x86.dll, VBoxDX-x86.dll, VBoxDX-x86.dll
|
---|
81 | ;mesa3d HKR,, OpenGLDriverName, %REG_MULTI_SZ%, VBoxGL
|
---|
82 | ;amd64 ;mesa3d HKR,, OpenGLDriverNameWoW, %REG_MULTI_SZ%, VBoxGL-x86
|
---|
83 | ;mesa3d HKR,, OpenGLFlags, %REG_DWORD%, 0x00000001
|
---|
84 | ;amd64 ;mesa3d HKR,, OpenGLFlagsWoW, %REG_DWORD%, 0x00000001
|
---|
85 | ;mesa3d HKR,, OpenGLVersion, %REG_DWORD%, 0x00000001
|
---|
86 | ;amd64 ;mesa3d HKR,, OpenGLVersionWoW, %REG_DWORD%, 0x00000001
|
---|
87 | HKR,, VgaCompatible, %REG_DWORD%, 0
|
---|
88 |
|
---|
89 | [VBoxWDDM_Install.Services]
|
---|
90 | AddService=VBoxWddm, 0x00000002, VBoxWDDM_Service_Inst, VBoxWDDM_EventLog_Inst
|
---|
91 |
|
---|
92 | [VBoxWDDM_Service_Inst]
|
---|
93 | ServiceType=1 ; SERVICE_KERNEL_DRIVER
|
---|
94 | StartType=3 ; SERVICE_DEMAND_START
|
---|
95 | ErrorControl=0 ; SERVICE_ERROR_IGNORE
|
---|
96 | LoadOrderGroup=Video
|
---|
97 | ServiceBinary=%12%\VBoxWddm.sys
|
---|
98 |
|
---|
99 | [VBoxWDDM_EventLog_Inst]
|
---|
100 | AddReg = VBoxWDDM_EventLog_AddReg
|
---|
101 |
|
---|
102 | [VBoxWDDM_EventLog_AddReg]
|
---|
103 | HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\VBoxWddm.sys"
|
---|
104 | HKR,,TypesSupported,0x00010001,7
|
---|
105 |
|
---|
106 | [SourceDisksNames]
|
---|
107 | 1 = %VBoxWDDM.Disk%,,,""
|
---|
108 |
|
---|
109 | [SourceDisksFiles]
|
---|
110 | VBoxWddm.sys = 1
|
---|
111 | ;amd64 ;dispd3d VBoxDispD3D-x86.dll = 1
|
---|
112 | ;amd64 ;dispdx VBoxDX-x86.dll = 1
|
---|
113 | ;amd64 ;mesa3d VBoxNine-x86.dll = 1
|
---|
114 | ;amd64 ;mesa3d VBoxSVGA-x86.dll = 1
|
---|
115 | ;amd64 ;mesa3d VBoxGL-x86.dll = 1
|
---|
116 | ;dispd3d VBoxDispD3D.dll = 1
|
---|
117 | ;dispdx VBoxDX.dll = 1
|
---|
118 | ;mesa3d VBoxNine.dll = 1
|
---|
119 | ;mesa3d VBoxSVGA.dll = 1
|
---|
120 | ;mesa3d VBoxGL.dll = 1
|
---|
121 |
|
---|
122 | [Strings]
|
---|
123 | REG_SZ = 0x00000000
|
---|
124 | REG_MULTI_SZ = 0x00010000
|
---|
125 | REG_EXPAND_SZ = 0x00020000
|
---|
126 | REG_BINARY = 0x00000001
|
---|
127 | REG_DWORD = 0x00010001
|
---|
128 |
|
---|
129 | ORACLE = "Oracle Corporation"
|
---|
130 | VBoxWDDM.Disk = "VirtualBox Video Driver Disk"
|
---|
131 | VBoxWDDM.SvcDesc = "VirtualBox Graphics Adapter (WDDM)"
|
---|