VirtualBox

source: vbox/trunk/src/VBox/HostDrivers/VBoxTAP/VBoxTAP.inf@ 1321

Last change on this file since 1321 was 969, checked in by vboxsync, 18 years ago

allow non admin users to open the TAP driver

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 5.7 KB
Line 
1;
2; VirtualBox Host Interface Networking Driver
3;
4;
5; Copyright (C) 2006 InnoTek Systemberatung GmbH
6;
7; This file is part of VirtualBox Open Source Edition (OSE), as
8; available from http://www.virtualbox.org. This file is free software;
9; you can redistribute it and/or modify it under the terms of the GNU
10; General Public License as published by the Free Software Foundation,
11; in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
12; distribution. VirtualBox OSE is distributed in the hope that it will
13; be useful, but WITHOUT ANY WARRANTY of any kind.
14;
15; If you received this file as part of a commercial VirtualBox
16; distribution, then only the terms of your commercial VirtualBox
17; license agreement apply instead of the previous paragraph.
18;
19
20[Version]
21 Signature = "$Windows NT$"
22 ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
23 Provider = %Provider%
24 Class = Net
25
26; This version number should match the version
27; number given in SOURCES.
28 DriverVer=02/19/2007,8.00.00.0005
29
30[Strings]
31; Note; there are hardcoded checks for these strings!!
32 DeviceDescription = "VirtualBox TAP Adapter"
33 Provider = "InnoTek Systemberatung GmbH"
34
35;----------------------------------------------------------------
36; Manufacturer + Product Section (Done)
37;----------------------------------------------------------------
38[Manufacturer]
39 %Provider% = VBoxTAP
40
41[VBoxTAP]
42 %DeviceDescription% = VBoxTAP.ndi, VBoxTAP
43
44;---------------------------------------------------------------
45; Driver Section (Done)
46;---------------------------------------------------------------
47
48;----------------- Characteristics ------------
49; NCF_PHYSICAL = 0x04
50; NCF_VIRTUAL = 0x01
51; NCF_SOFTWARE_ENUMERATED = 0x02
52; NCF_HIDDEN = 0x08
53; NCF_NO_SERVICE = 0x10
54; NCF_HAS_UI = 0x80
55;----------------- Characteristics ------------
56
57[VBoxTAP.ndi]
58 CopyFiles = VBoxTAP.driver, VBoxTAP.files
59 AddReg = VBoxTAP.reg
60 AddReg = VBoxTAP.params.reg
61 Characteristics = 0x81 ; NCF_PHYSICAL | NCF_HAS_UI
62 BusType = 1
63
64[VBoxTAP.ndi.Services]
65 AddService = VBoxTAP, 2, VBoxTAP.service
66
67[VBoxTAP.reg]
68 HKR, Ndi, Service, 0, "VBoxTAP"
69 HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
70 HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
71 HKR, , Manufacturer, 0, "%Provider%"
72 HKR, , ProductName, 0, "%DeviceDescription%"
73
74[VBoxTAP.params.reg]
75 HKR, Ndi\params\MTU, ParamDesc, 0, "MTU"
76 HKR, Ndi\params\MTU, Type, 0, "int"
77 HKR, Ndi\params\MTU, Default, 0, "1500"
78 HKR, Ndi\params\MTU, Optional, 0, "0"
79 HKR, Ndi\params\MTU, Min, 0, "100"
80 HKR, Ndi\params\MTU, Max, 0, "1500"
81 HKR, Ndi\params\MTU, Step, 0, "1"
82 HKR, Ndi\params\MediaStatus, ParamDesc, 0, "Media Status"
83 HKR, Ndi\params\MediaStatus, Type, 0, "enum"
84 HKR, Ndi\params\MediaStatus, Default, 0, "0"
85 HKR, Ndi\params\MediaStatus, Optional, 0, "0"
86 HKR, Ndi\params\MediaStatus\enum, "0", 0, "Application Controlled"
87 HKR, Ndi\params\MediaStatus\enum, "1", 0, "Always Connected"
88 HKR, Ndi\params\MAC, ParamDesc, 0, "MAC Address"
89 HKR, Ndi\params\MAC, Type, 0, "edit"
90 HKR, Ndi\params\MAC, Optional, 0, "1"
91 HKR, Ndi\params\AllowNonAdmin, ParamDesc, 0, "Non-Admin Access"
92 HKR, Ndi\params\AllowNonAdmin, Type, 0, "enum"
93 HKR, Ndi\params\AllowNonAdmin, Default, 0, "1"
94 HKR, Ndi\params\AllowNonAdmin, Optional, 0, "0"
95 HKR, Ndi\params\AllowNonAdmin\enum, "0", 0, "Not Allowed"
96 HKR, Ndi\params\AllowNonAdmin\enum, "1", 0, "Allowed"
97
98
99;----------------------------------------------------------------
100; Service Section
101;----------------------------------------------------------------
102
103;---------- Service Type -------------
104; SERVICE_KERNEL_DRIVER = 0x01
105; SERVICE_WIN32_OWN_PROCESS = 0x10
106;---------- Service Type -------------
107
108;---------- Start Mode ---------------
109; SERVICE_BOOT_START = 0x0
110; SERVICE_SYSTEM_START = 0x1
111; SERVICE_AUTO_START = 0x2
112; SERVICE_DEMAND_START = 0x3
113; SERVICE_DISABLED = 0x4
114;---------- Start Mode ---------------
115
116[VBoxTAP.service]
117 DisplayName = %DeviceDescription%
118 ServiceType = 1
119 StartType = 3
120 ErrorControl = 1
121 LoadOrderGroup = NDIS
122 ServiceBinary = %12%\VBoxTAP.sys
123
124;-----------------------------------------------------------------
125; File Installation
126;-----------------------------------------------------------------
127
128;----------------- Copy Flags ------------
129; COPYFLG_NOSKIP = 0x02
130; COPYFLG_NOVERSIONCHECK = 0x04
131;----------------- Copy Flags ------------
132
133; SourceDisksNames
134; diskid = description[, [tagfile] [, <unused>, subdir]]
135; 1 = "Intel Driver Disk 1",e100bex.sys,,
136
137[SourceDisksNames]
138 1 = %DeviceDescription%, VBoxTAP.sys
139
140; SourceDisksFiles
141; filename_on_source = diskID[, [subdir][, size]]
142; e100bex.sys = 1,, ; on distribution disk 1
143
144[SourceDisksFiles]
145VBoxTAP.sys = 1
146
147[DestinationDirs]
148 VBoxTAP.files = 11
149 VBoxTAP.driver = 12
150
151[VBoxTAP.files]
152; TapPanel.cpl,,,6 ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK
153; cipsrvr.exe,,,6 ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK
154
155[VBoxTAP.driver]
156 VBoxTAP.sys,,,6 ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK
157
158;---------------------------------------------------------------
159; End
160;---------------------------------------------------------------
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