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