VirtualBox

source: vbox/trunk/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetLwf.inf@ 101361

Last change on this file since 101361 was 98336, checked in by vboxsync, 21 months ago

HostDrivers/*.inf, Installer/*.inf: Use more consistent naming. For the R0 "drivers" add an empty .Services section in the hope to make Microsoft's tightened validation checks happy.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.9 KB
Line 
1; $Id: VBoxNetLwf.inf 98336 2023-01-27 16:55:51Z vboxsync $
2; @file
3; VBoxNetLwf.inf - VirtualBox Bridged Networking Driver inf file
4;
5
6;
7; Copyright (C) 2014-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; 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]
38Signature = "$Windows NT$"
39;cat CatalogFile = VBoxNetLwf.cat
40Class = NetService
41ClassGUID = {4D36E974-E325-11CE-BFC1-08002BE10318}
42Provider = %ORACLE%
43;edit-DriverVer=10/23/2014,1.0.1.0
44
45
46[Manufacturer]
47%ORACLE% = VBoxNetLwf@COMMA-NT-ARCH@
48
49[ControlFlags]
50
51[VBoxNetLwf@DOT-NT-ARCH@]
52%VBoxNetLwf_Desc% = VBoxNetLwf.ndi, oracle_VBoxNetLwf
53
54[VBoxNetLwf.ndi]
55AddReg = VBoxNetLwf.ndi.AddReg, VBoxNetLwf.AddReg
56Characteristics = 0x40000 ; NCF_LW_FILTER
57CopyFiles = VBoxNetLwf.Files.Sys
58NetCfgInstanceId = "{7af6b074-048d-4444-bfce-1ecc8bc5cb76}"
59
60[VBoxNetLwf.ndi.Remove.Services]
61DelService = VBoxNetLwf,0x200 ; Stop the service before uninstalling
62
63[VBoxNetLwf.ndi.Services]
64AddService = VBoxNetLwf,, VBoxNetLwf.AddService, VBoxNetLwf.AddEventLog
65
66[VBoxNetLwf.AddService]
67DisplayName = %VBoxNetLwfService_Desc%
68ServiceType = 1 ;SERVICE_KERNEL_DRIVER
69StartType = 1 ;SERVICE_SYSTEM_START
70ErrorControl = 1 ;SERVICE_ERROR_NORMAL
71ServiceBinary = %12%\VBoxNetLwf.sys
72LoadOrderGroup = NDIS
73AddReg = VBoxNetLwf.AddService.AddReg
74
75[VBoxNetLwf.AddService.AddReg]
76
77[VBoxNetLwf.AddEventLog]
78AddReg = VBoxNetLwf.AddEventLog.AddReg
79
80[VBoxNetLwf.AddEventLog.AddReg]
81HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll"
82HKR,,TypesSupported,0x00010001,7
83
84
85[SourceDisksNames]
861=%DiskDescription%,"",,
87
88[SourceDisksFiles]
89VBoxNetLwf.sys=1
90
91[DestinationDirs]
92DefaultDestDir = 12
93VBoxNetLwf.Files.Sys = 12 ; %windir%\System32\drivers
94
95[VBoxNetLwf.Files.Sys]
96VBoxNetLwf.sys,,,2
97
98
99[VBoxNetLwf.ndi.AddReg]
100HKR, Ndi, HelpText, , %VBoxNetLwf_HELP%
101;HKR, Ndi, ClsID, 0, {f374d1a0-bf08-4bdc-9cb2-c15ddaeef955}
102;HKR, Ndi, ComponentDll, , VBoxNetLwfNobj.dll
103HKR, Ndi, FilterClass, , compression
104HKR, Ndi, FilterType, 0x10001, 0x2
105HKR, Ndi, FilterRunType,0x10001, 2 ; OPTIONAL, to prevent unbinding of protocol drivers
106HKR, Ndi, Service, , VBoxNetLwf
107HKR, Ndi, CoServices, 0x10000, VBoxNetLwf
108HKR, Ndi\Interfaces, UpperRange, , noupper
109HKR, Ndi\Interfaces, LowerRange, , nolower
110HKR, Ndi\Interfaces, FilterMediaTypes, , ethernet
111
112[VBoxNetLwf.AddReg]
113;HKR, Parameters, Param1, 0, 4
114
115[Strings]
116ORACLE = "Oracle Corporation"
117DiskDescription = "VirtualBox NDIS6 Bridged Networking Driver"
118VBoxNetLwf_Desc = "VirtualBox NDIS6 Bridged Networking Driver"
119VBoxNetLwf_HELP = "VirtualBox NDIS6 Bridged Networking Driver"
120VBoxNetLwfService_Desc = "VirtualBox NDIS6 Bridged Networking Service"
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