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