1 | ; $Id: VBoxUSBMon.inf 71973 2018-04-23 10:02:49Z vboxsync $
|
---|
2 | ;; @file
|
---|
3 | ; VBox USB Monitor driver - Installation file
|
---|
4 | ;
|
---|
5 |
|
---|
6 | ;
|
---|
7 | ; Copyright (C) 2011-2017 Oracle Corporation
|
---|
8 | ;
|
---|
9 | ; This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | ; available from http://www.virtualbox.org. This file is free software;
|
---|
11 | ; you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | ; General Public License (GPL) as published by the Free Software
|
---|
13 | ; Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | ; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | ; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | ;
|
---|
17 | ; The contents of this file may alternatively be used under the terms
|
---|
18 | ; of the Common Development and Distribution License Version 1.0
|
---|
19 | ; (CDDL) only, as it comes in the "COPYING.CDDL" file of the
|
---|
20 | ; VirtualBox OSE distribution, in which case the provisions of the
|
---|
21 | ; CDDL are applicable instead of those of the GPL.
|
---|
22 | ;
|
---|
23 | ; You may elect to license modified versions of this file under the
|
---|
24 | ; terms and conditions of either the GPL or the CDDL or both.
|
---|
25 | ;
|
---|
26 |
|
---|
27 | [Version]
|
---|
28 | Signature = "$Windows NT$"
|
---|
29 | Provider = %ORACLE%
|
---|
30 | ;edit-DriverVer = 08/26/2008,2.00.0000
|
---|
31 | DriverPackageType = KernelService
|
---|
32 | Class = System
|
---|
33 | ClassGuid = {ce4a90b5-1d8c-435d-b349-232ce55cb17f}
|
---|
34 | ;cat CatalogFile = VBoxUSBMon.cat
|
---|
35 |
|
---|
36 | [Manufacturer]
|
---|
37 | ;x86 %ORACLE%=ORACLE
|
---|
38 | ;amd64 %ORACLE%=ORACLE, NTamd64
|
---|
39 |
|
---|
40 | [DefaultInstall.NT]
|
---|
41 | CopyFiles = VBoxUSBMonitor.CopyFiles
|
---|
42 |
|
---|
43 | [VBoxUSBMonitor.CopyFiles]
|
---|
44 | VBoxUSBMon.sys
|
---|
45 |
|
---|
46 | [DefaultInstall.NT.Services]
|
---|
47 | AddService = VBoxUSBMon, 0x00000002, VBoxUSBMon_Service_Inst, VBoxUSBMon_EventLog_Inst
|
---|
48 |
|
---|
49 | [VBoxUSBMon_Service_Inst]
|
---|
50 | DisplayName = %VBoxUSBMon.SvcDesc%
|
---|
51 | ServiceType = 1 ; SERVICE_KERNEL_DRIVER
|
---|
52 | ;StartType = 3 ; SERVICE_DEMAND_START
|
---|
53 | StartType = 1 ; autostart to fix Vista problem
|
---|
54 | ErrorControl = 1 ; SERVICE_ERROR_NORMAL
|
---|
55 | ServiceBinary = %12%\VBoxUSBMon.sys
|
---|
56 |
|
---|
57 | [VBoxUSBMon_EventLog_Inst]
|
---|
58 | AddReg = VBoxUSBMon_EventLog_AddReg
|
---|
59 |
|
---|
60 | [VBoxUSBMon_EventLog_AddReg]
|
---|
61 | HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll"
|
---|
62 | HKR,,TypesSupported,0x00010001,7
|
---|
63 |
|
---|
64 | [SourceDisksNames]
|
---|
65 | 1 = %VBoxUSBMon.MediaDesc%
|
---|
66 |
|
---|
67 | [SourceDisksFiles]
|
---|
68 | VBoxUSBMon.sys = 1
|
---|
69 |
|
---|
70 | [DestinationDirs]
|
---|
71 | DefaultDestDir = 12 ; DIRID_DRIVERS
|
---|
72 |
|
---|
73 | [Strings]
|
---|
74 | ORACLE = "Oracle Corporation"
|
---|
75 | VBoxUSBMon.SvcDesc = "VirtualBox USB Monitor Driver"
|
---|
76 | VBoxUSBMon.MediaDesc = "VirtualBox USB Monitor Driver Disc"
|
---|
77 |
|
---|
78 | ; Useful constants
|
---|
79 | SERVICE_KERNEL_DRIVER = 1
|
---|
80 | SERVICE_DEMAND_START = 3
|
---|
81 | SERVICE_ERROR_IGNORE = 0
|
---|
82 | REG_EXPAND_SZ = 0x00020000
|
---|
83 | REG_DWORD = 0x00010001
|
---|