VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Mouse/NT5/VBoxMouse.inf@ 106321

Last change on this file since 106321 was 106321, checked in by vboxsync, 6 weeks ago

Windows installers: Big revamp for removing all DIFxApp-related / DIFxApi-related code and build dependencies for the host and guest installers. bugref:10762

This implements an own framework (VBoxWinDrvInst and VBoxWinDrvStore) for installing Windows drivers and querying / handling the Windows driver store,
along with testcases for the Windows guest and host installers.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.5 KB
Line 
1; $Id: VBoxMouse.inf 106321 2024-10-15 13:06:30Z vboxsync $
2;; @file
3; INF file for installing the VBox Guest Mouse (driver for Windows NT5+).
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; SPDX-License-Identifier: GPL-3.0-only
26;
27
28[Version]
29Signature="$Windows NT$"
30Provider=%ORACLE%
31ClassGuid={4D36E96F-E325-11CE-BFC1-08002BE10318}
32Class=Mouse
33DriverPackageType=ClassFilter
34;edit-DriverVer=08/26/2008,2.00.0000
35;cat CatalogFile=VBoxMouse.cat
36;PnpLockdown=1
37
38[SourceDisksNames]
391 = %VBoxMouse_DiskDesc%,,,
40
41[SourceDisksFiles]
42VBoxMouse.sys = 1
43
44[DestinationDirs]
45DefaultDestDir = 12 ; DIRID_DRIVERS
46
47; Do *not* add a [Manufacturer] section, as this is a so-called "primitive driver".
48; Adding such a section will make InfVerif.exe fail.
49
50[DefaultInstall@DOT-NT-ARCH@]
51%ORACLE%=VBoxMouse@COMMA-NT-ARCH@
52CopyFiles = VBoxMouse_CopyFiles
53
54[DefaultInstall@[email protected]]
55AddService = VBoxMouse,0x00000002,VBoxMouse_Service
56
57[DefaultUninstall@DOT-NT-ARCH@]
58[email protected]
59LegacyUninstall=1
60
61[DefaultUninstall@[email protected]]
62DelService = VBoxMouse,0x00000200
63LegacyUninstall = 1
64
65[VBoxMouse_AddReg]
66HKLM, System\CurrentControlSet\Control\Class\{4D36E96F-E325-11CE-BFC1-08002BE10318}, UpperFilters, 0x00010000, "VBoxMouse", "mouclass"
67
68[VBoxMouse_CopyFiles]
69VBoxMouse.sys
70
71[VBoxMouse_Service]
72DisplayName = %VBoxMouse_SvcDesc%
73ServiceType = %SERVICE_KERNEL_DRIVER%
74StartType = %SERVICE_DEMAND_START%
75ErrorControl = %SERVICE_ERROR_IGNORE%
76ServiceBinary = %12%\VBoxMouse.sys
77AddReg = VBoxMouse_AddReg
78
79[Strings]
80ORACLE = "Oracle Corporation"
81VBoxMouse_SvcDesc ="VirtualBox Guest Mouse Service"
82VBoxMouse_DrvDesc ="VirtualBox Guest Mouse Driver"
83VBoxMouse_DiskDesc ="VBoxMouse Installation Disk"
84
85; Useful constants
86SERVICE_KERNEL_DRIVER = 1
87SERVICE_DEMAND_START = 3
88SERVICE_ERROR_IGNORE = 0
89SERVICE_ERROR_NORMAL = 1
90
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette