1 | ;
|
---|
2 | ; VirtualBox Network Adapter
|
---|
3 | ;
|
---|
4 |
|
---|
5 | ;
|
---|
6 | ; Copyright (C) 2008 Oracle Corporation
|
---|
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 |
|
---|
17 | ;
|
---|
18 | ; Based in part on Microsoft DDK sample code for Ndis Intermediate Miniport passthru driver sample.
|
---|
19 | ; Copyright (c) 1993-1999, Microsoft Corporation
|
---|
20 | ;
|
---|
21 |
|
---|
22 | [Version]
|
---|
23 | signature = "$Windows NT$"
|
---|
24 | ;cat CatalogFile = VBoxNetAdp.cat
|
---|
25 | Class = Net
|
---|
26 | ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
|
---|
27 | Provider = %Provider%
|
---|
28 | ; DriverPackageType=Network
|
---|
29 | ; DriverPackageDisplayName=%VBoxNetAdp_Desc%
|
---|
30 | ;edit-DriverVer=08/13/2008,1.1.0.1
|
---|
31 |
|
---|
32 | [ControlFlags]
|
---|
33 | ;ExcludeFromSelect = sun_VBoxNetAdp
|
---|
34 |
|
---|
35 | [SourceDisksNames]
|
---|
36 | 1=%DiskDescription%,"",,
|
---|
37 |
|
---|
38 | [SourceDisksFiles]
|
---|
39 | VBoxNetAdp.sys=1
|
---|
40 |
|
---|
41 | [DestinationDirs]
|
---|
42 | DefaultDestDir = 12
|
---|
43 | VBoxNetAdp.Files.Sys = 12 ; %windir%\System32\drivers
|
---|
44 |
|
---|
45 | [Manufacturer]
|
---|
46 | %Provider% = VBox,NTx86,NTia64,NTamd64
|
---|
47 |
|
---|
48 | ; For Win2K
|
---|
49 | [VBox]
|
---|
50 | %VBoxNetAdp_Desc% = VBoxNetAdp.ndi, sun_VBoxNetAdp
|
---|
51 |
|
---|
52 | ; For XP and later
|
---|
53 | [VBox.NTx86]
|
---|
54 | %VBoxNetAdp_Desc% = VBoxNetAdp.ndi, sun_VBoxNetAdp
|
---|
55 |
|
---|
56 | [VBox.NTia64]
|
---|
57 | %VBoxNetAdp_Desc% = VBoxNetAdp.ndi, sun_VBoxNetAdp
|
---|
58 |
|
---|
59 | [VBox.NTamd64]
|
---|
60 | %VBoxNetAdp_Desc% = VBoxNetAdp.ndi, sun_VBoxNetAdp
|
---|
61 |
|
---|
62 | [VBoxNetAdp.ndi]
|
---|
63 | Characteristics = 0x4 ; NCF_PHYSICAL
|
---|
64 | CopyFiles = VBoxNetAdp.Files.Sys
|
---|
65 | AddReg = VBoxNetAdp.AddReg
|
---|
66 | BusType = 1
|
---|
67 |
|
---|
68 | [VBoxNetAdp.Files.Sys]
|
---|
69 | VBoxNetAdp.sys,,,2
|
---|
70 |
|
---|
71 | [VBoxNetAdp.ndi.Services]
|
---|
72 | AddService = VBoxNetAdp,0x2, VBoxNetAdp.AddService
|
---|
73 |
|
---|
74 |
|
---|
75 | [VBoxNetAdp.AddService]
|
---|
76 | DisplayName = %VBoxNetAdp_Desc%
|
---|
77 | ServiceType = 1 ;SERVICE_KERNEL_DRIVER
|
---|
78 | StartType = 3 ;SERVICE_DEMAND_START
|
---|
79 | ErrorControl = 1 ;SERVICE_ERROR_NORMAL
|
---|
80 | ServiceBinary = %12%\VBoxNetAdp.sys
|
---|
81 | LoadOrderGroup = NDIS
|
---|
82 |
|
---|
83 | [VBoxNetAdp.AddReg]
|
---|
84 | ;HKR, , BusNumber, 0, "0"
|
---|
85 | HKR, Ndi, Service, 0, "VBoxNetAdp"
|
---|
86 | HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
|
---|
87 | HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
|
---|
88 |
|
---|
89 | [VBoxNetAdp.AddService]
|
---|
90 | ; ----------------------------------------------------------------------
|
---|
91 | ; Add any miniport-specific parameters here. These are params that your
|
---|
92 | ; [filter] device is going to use.
|
---|
93 | ;
|
---|
94 | ;HKR, Parameters, ParameterName, 0x10000, "MultiSz", "Parameter", "Value"
|
---|
95 | ;HKR, Parameters, ParameterName2, 0x10001, 4
|
---|
96 |
|
---|
97 | [Strings]
|
---|
98 | Provider = "Oracle Corporation"
|
---|
99 | VBoxNetAdp_Desc = "VirtualBox Host-Only Ethernet Adapter"
|
---|
100 | DiskDescription = "VirtualBox Host-Only Ethernet Adapter"
|
---|
101 |
|
---|
102 |
|
---|
103 |
|
---|