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