1 | ; $Id: VBoxUSBMon.inf 106483 2024-10-18 15:33:46Z vboxsync $
|
---|
2 | ;; @file
|
---|
3 | ; VBox USB Monitor driver - Installation file
|
---|
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=System
|
---|
40 | ClassGuid={4d36e97d-e325-11ce-bfc1-08002be10318}
|
---|
41 | Provider=%ORACLE%
|
---|
42 | ;edit-DriverVer=08/26/2008,2.00.0000
|
---|
43 | DriverPackageType=KernelService
|
---|
44 | ;cat CatalogFile=VBoxUSBMon.cat
|
---|
45 | ;PnpLockdown=1
|
---|
46 |
|
---|
47 | [SourceDisksNames]
|
---|
48 | 1=%VBoxUSBMon_DiskDesc%,
|
---|
49 |
|
---|
50 | [SourceDisksFiles]
|
---|
51 | VBoxUSBMon.sys=1
|
---|
52 |
|
---|
53 | [DestinationDirs]
|
---|
54 | DefaultDestDir = 12
|
---|
55 |
|
---|
56 | [DefaultInstall@DOT-NT-ARCH@]
|
---|
57 | %VBoxUSBMon_DrvDesc%=VBoxUSBMon
|
---|
58 | CopyFiles=VBoxUSBMon_CopyFiles
|
---|
59 |
|
---|
60 | [DefaultInstall@[email protected]]
|
---|
61 | AddService=VBoxUSBMon,0x00000002,VBoxUSBMon_Service,VBoxUSBMon_AddEventLog
|
---|
62 |
|
---|
63 | [DefaultUninstall@[email protected]]
|
---|
64 | DelService = VBoxUSBMon
|
---|
65 | DelReg = VBoxUSBMon_AddEventLogRegistry
|
---|
66 | LegacyUninstall=1
|
---|
67 |
|
---|
68 | [VBoxUSBMon_CopyFiles]
|
---|
69 | VBoxUSBMon.sys
|
---|
70 |
|
---|
71 | [VBoxUSBMon_Service]
|
---|
72 | DisplayName = %VBoxUSBMon_SvcDesc%
|
---|
73 | ServiceType = %SERVICE_TYPE_KERNEL_DRIVER%
|
---|
74 | StartType = %SERVICE_STARTTYPE_AUTO%
|
---|
75 | ErrorControl = %SERVICE_ERRORCTL_NORMAL%
|
---|
76 | ServiceBinary = %12%\VBoxUSBMon.sys
|
---|
77 |
|
---|
78 | [VBoxUSBMon_AddEventLog]
|
---|
79 | AddReg = VBoxUSBMon_AddEventLogRegistry
|
---|
80 |
|
---|
81 | [VBoxUSBMon_AddEventLogRegistry]
|
---|
82 | HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll"
|
---|
83 | HKR,,TypesSupported,0x00010001,7
|
---|
84 |
|
---|
85 | [Strings]
|
---|
86 | ORACLE = "Oracle Corporation"
|
---|
87 | VBoxUSBMon_SvcDesc = "VirtualBox USB Monitor Service"
|
---|
88 | VBoxUSBMon_DrvDesc = "VirtualBox USB Monitor Driver"
|
---|
89 | VBoxUSBMon_DiskDesc = "VirtualBox USB Monitor Driver Installation Disk"
|
---|
90 |
|
---|
91 | ; Useful constants
|
---|
92 | SERVICE_TYPE_KERNEL_DRIVER = 1
|
---|
93 | SERVICE_STARTTYPE_BOOT = 0
|
---|
94 | SERVICE_STARTTYPE_AUTO = 1
|
---|
95 | SERVICE_STARTTYPE_DEMAND = 3
|
---|
96 | SERVICE_ERRORCTL_IGNORE = 0
|
---|
97 | SERVICE_ERRORCTL_NORMAL = 1
|
---|
98 |
|
---|