1 | ; $Id: VBoxUSB.inf 106483 2024-10-18 15:33:46Z vboxsync $
|
---|
2 | ;; @file
|
---|
3 | ; VBox host drivers - USB drivers - Win32 USB device
|
---|
4 | ;
|
---|
5 |
|
---|
6 | ;
|
---|
7 | ; Copyright (C) 2011-2024 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 | ; The contents of this file may alternatively be used under the terms
|
---|
26 | ; of the Common Development and Distribution License Version 1.0
|
---|
27 | ; (CDDL), a copy of it is provided in the "COPYING.CDDL" file included
|
---|
28 | ; in the VirtualBox distribution, in which case the provisions of the
|
---|
29 | ; CDDL are applicable instead of those of the GPL.
|
---|
30 | ;
|
---|
31 | ; You may elect to license modified versions of this file under the
|
---|
32 | ; terms and conditions of either the GPL or the CDDL or both.
|
---|
33 | ;
|
---|
34 | ; SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0
|
---|
35 | ;
|
---|
36 |
|
---|
37 | [Version]
|
---|
38 | Signature="$Windows NT$"
|
---|
39 | Class=USB
|
---|
40 | ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
|
---|
41 | provider=%ORACLE%
|
---|
42 | ;edit-DriverVer=08/26/2008,2.00.0000
|
---|
43 | ;cat CatalogFile=VBoxUSB.cat
|
---|
44 | ;PnpLockdown=1
|
---|
45 |
|
---|
46 | [SourceDisksNames]
|
---|
47 | 1=%VBoxUSB_DiskDesc%,,,
|
---|
48 |
|
---|
49 | [SourceDisksFiles]
|
---|
50 | VBoxUSB.sys = 1
|
---|
51 |
|
---|
52 | [DestinationDirs]
|
---|
53 | DefaultDestDir = 10,System32\Drivers
|
---|
54 |
|
---|
55 | [Manufacturer]
|
---|
56 | %ORACLE%=VBoxUSB@COMMA-NT-ARCH@
|
---|
57 |
|
---|
58 | [VBoxUSB@DOT-NT-ARCH@]
|
---|
59 | %VBoxUSB_DrvDesc%=VBoxUSB,USB\VID_80EE&PID_CAFE
|
---|
60 | CopyFiles=VBoxUSB_CopyFiles
|
---|
61 |
|
---|
62 | [VBoxUSB@[email protected]]
|
---|
63 | AddService=VBoxUSB,0x00000002,VBoxUSB_Service,VBoxUSB_AddReg
|
---|
64 |
|
---|
65 | [DefaultUninstall@[email protected]]
|
---|
66 | DelService = VBoxUSB,0x00000200
|
---|
67 | DelReg = VBoxUSB_Registry
|
---|
68 | LegacyUninstall=1
|
---|
69 |
|
---|
70 | [VBoxUSB_Service]
|
---|
71 | DisplayName = %VBoxUSB_SvcDesc%
|
---|
72 | ServiceType = %SERVICE_TYPE_KERNEL_DRIVER%
|
---|
73 | StartType = %SERVICE_STARTTYPE_DEMAND%
|
---|
74 | ErrorControl = %SERVICE_ERRORCTL_NORMAL%
|
---|
75 | ServiceBinary = %10%\System32\Drivers\VBoxUSB.sys
|
---|
76 | LoadOrderGroup = Base
|
---|
77 |
|
---|
78 | [VBoxUSB_AddReg]
|
---|
79 | AddReg = VBoxUSB_Registry
|
---|
80 |
|
---|
81 | [VBoxUSB_Registry]
|
---|
82 | HKR,,DevLoader,,*ntkern
|
---|
83 | HKR,,NTMPDriver,,VBoxUSB.sys
|
---|
84 |
|
---|
85 | [VBoxUSB_CopyFiles]
|
---|
86 | VBoxUSB.sys
|
---|
87 |
|
---|
88 | [Strings]
|
---|
89 | ORACLE="Oracle Corporation"
|
---|
90 | VBoxUSB_SvcDesc="VirtualBox USB Service"
|
---|
91 | VBoxUSB_DrvDesc="VirtualBox USB Driver"
|
---|
92 | VBoxUSB_DiskDesc="VBoxUSB Installation Disk"
|
---|
93 |
|
---|
94 | ; Useful constants
|
---|
95 | SERVICE_TYPE_KERNEL_DRIVER = 1
|
---|
96 | SERVICE_STARTTYPE_BOOT = 0
|
---|
97 | SERVICE_STARTTYPE_AUTO = 1
|
---|
98 | SERVICE_STARTTYPE_DEMAND = 3
|
---|
99 | SERVICE_ERRORCTL_IGNORE = 0
|
---|
100 | SERVICE_ERRORCTL_NORMAL = 1
|
---|
101 |
|
---|