VirtualBox

source: vbox/trunk/src/VBox/HostDrivers/VBoxNetFlt/win/VBoxNetFlt.inf@ 21343

Last change on this file since 21343 was 21343, checked in by vboxsync, 15 years ago

export vboxnetflt for Windows to OSE

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.7 KB
Line 
1;
2; VirtualBox Bridged Networking Driver
3;
4
5;
6; Copyright (C) 2008 Sun Microsystems, Inc.
7;
8; This file is part of VirtualBox Open Source Edition (OSE), as
9; available from http://www.virtualbox.org. This file is free software;
10; you can redistribute it and/or modify it under the terms of the GNU
11; General Public License (GPL) as published by the Free Software
12; Foundation, in version 2 as it comes in the "COPYING" file of the
13; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
14; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
15;
16; Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
17; Clara, CA 95054 USA or visit http://www.sun.com if you need
18; additional information or have any questions.
19;
20
21;
22; Based in part on Microsoft DDK sample code for Ndis Intermediate Miniport passthru driver sample.
23; Copyright (c) 1993-1999, Microsoft Corporation
24;
25
26[Version]
27Signature = "$Windows NT$"
28;cat CatalogFile = VBoxNetFlt.cat
29Class = NetService
30ClassGUID = {4D36E974-E325-11CE-BFC1-08002BE10318}
31Provider = %Provider%
32;DriverPackageType=Network
33;DriverPackageDisplayName=%VBoxNetFlt_Desc%
34;edit-DriverVer=08/13/2008,1.1.0.1
35
36
37[Manufacturer]
38%Provider% = VBox,NTx86,NTia64,NTamd64
39
40[ControlFlags]
41
42;=========================================================================
43;
44;=========================================================================
45
46; For Win2K
47[VBox]
48%VBoxNetFlt_Desc% = VBoxNetFlt.ndi, sun_VBoxNetFlt
49
50; For XP and later
51[VBox.NTx86]
52%VBoxNetFlt_Desc% = VBoxNetFlt.ndi, sun_VBoxNetFlt
53
54[VBox.NTia64]
55%VBoxNetFlt_Desc% = VBoxNetFlt.ndi, sun_VBoxNetFlt
56
57[VBox.NTamd64]
58%VBoxNetFlt_Desc% = VBoxNetFlt.ndi, sun_VBoxNetFlt
59
60[VBoxNetFlt.ndi]
61AddReg = VBoxNetFlt.ndi.AddReg, VBoxNetFlt.AddReg
62Characteristics = 0x4410 ; NCF_FILTER | NCF_NDIS_PROTOCOL !--Filter Specific--!!
63CopyFiles = VBoxNetFlt.Files.DLL, VBoxNetFlt.Files.Sys
64CopyInf = VBoxNetFlt_m.inf
65
66[VBoxNetFlt.ndi.Remove]
67DelFiles = VBoxNetFlt.Files.DLL, VBoxNetFlt.Files.Sys
68
69[VBoxNetFlt.ndi.Services]
70AddService = VBoxNetFlt,, VBoxNetFlt.AddService
71
72[VBoxNetFlt.AddService]
73DisplayName = %VBoxNetFltService_Desc%
74ServiceType = 1 ;SERVICE_KERNEL_DRIVER
75StartType = 3 ;SERVICE_DEMAND_START
76ErrorControl = 1 ;SERVICE_ERROR_NORMAL
77ServiceBinary = %12%\VBoxNetFlt.sys
78LoadOrderGroup = PNP_TDI
79AddReg = VBoxNetFlt.AddService.AddReg
80
81
82[VBoxNetFlt.AddService.AddReg]
83; ----------------------------------------------------------------------
84; Add any miniport-specific parameters here. These are params that your
85; filter device is going to use.
86;
87;HKR, Parameters, ParameterName, 0x10000, "MultiSz", "Parameter", "Value"
88;HKR, Parameters, ParameterName2, 0x10001, 4
89
90
91; ----------------------------------------------------------------------
92; File copy
93;
94[SourceDisksNames]
951=%DiskDescription%,"",,
96
97[SourceDisksFiles]
98VBoxNetFlt.sys=1
99VBoxNetFltNotify.dll=1
100
101[DestinationDirs]
102DefaultDestDir = 12
103VBoxNetFlt.Files.DLL = 11 ; %windir%\System32
104VBoxNetFlt.Files.Sys = 12 ; %windir%\System32\drivers
105
106[VBoxNetFlt.Files.Sys]
107VBoxNetFlt.sys,,,2
108
109[VBoxNetFlt.Files.DLL]
110VBoxNetFltNotify.dll,,,2
111
112; ----------------------------------------------------------------------
113; Filter Install
114;
115
116[VBoxNetFlt.ndi.AddReg]
117HKR, Ndi, HelpText, , %VBoxNetFlt_HELP%
118
119; ----------------------------------------------------------------------
120; !!--Filter Specific--!!
121;
122; Note:
123; 1. Other components may also have UpperRange/LowerRange but for filters
124; the value of both of them must be noupper/nolower
125; 2. The value FilterClass is required.
126; 3. The value Service is required
127; 4. FilterDeviceInfId is the InfId of the filter device (miniport) that will
128; be installed for each filtered adapter.
129; In this case this is sun_VBoxNetFltmp (refer to VBoxNetFlt_m.inf)
130;
131HKR, Ndi, ClsID, 0, {c631480a-acbe-4add-bb1d-3ed8aa52b5d9}
132HKR, Ndi, ComponentDll, , VBoxNetFltNotify.dll
133HKR, Ndi, FilterClass, , failover
134HKR, Ndi, FilterDeviceInfId, , sun_VBoxNetFltmp
135HKR, Ndi, Service, , VBoxNetFlt
136HKR, Ndi\Interfaces, UpperRange, , noupper
137HKR, Ndi\Interfaces, LowerRange, , nolower
138HKR, Ndi\Interfaces, FilterMediaTypes, , "ethernet, wan, nolower"
139
140[VBoxNetFlt.AddReg]
141; The following key is Required
142; The following key is VBoxNetFlt specific
143HKR, Parameters, Param1, 0, 4
144
145; ----------------------------------------------------------------------
146[Strings]
147Provider = "Sun Microsystems, Inc."
148DiskDescription = "VirtualBox Bridged Networking Driver"
149
150VBoxNetFlt_Desc = "VirtualBox Bridged Networking Driver"
151VBoxNetFlt_HELP = "VBoxNetFlt Driver"
152VBoxNetFltService_Desc = "VBoxNetFlt Service"
153
154
155
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