; $Id: VBoxNetAdp.inf 135976 2020-02-04 10:35:17Z bird $
;; @file
; VBoxNetAdp.inf - VirtualBox Host-Only Driver inf file
;

;
; Copyright (C) 2011-2020 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
; you can redistribute it and/or modify it under the terms of the GNU
; General Public License (GPL) as published by the Free Software
; Foundation, in version 2 as it comes in the "COPYING" file of the
; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
;
; The contents of this file may alternatively be used under the terms
; of the Common Development and Distribution License Version 1.0
; (CDDL) only, as it comes in the "COPYING.CDDL" file of the
; VirtualBox OSE distribution, in which case the provisions of the
; CDDL are applicable instead of those of the GPL.
;
; You may elect to license modified versions of this file under the
; terms and conditions of either the GPL or the CDDL or both.
;

[Version]
signature  = "$Windows NT$"
CatalogFile = VBoxNetAdp.cat
Class      = Net
ClassGUID  = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider   = %Provider%
; DriverPackageType=Network
; DriverPackageDisplayName=%VBoxNetAdp_Desc%
DriverVer = 03/22/2022,6.1.34.636 ; r150636

[ControlFlags]
;ExcludeFromSelect = sun_VBoxNetAdp

[SourceDisksNames]
1=%DiskDescription%,"",,

[SourceDisksFiles]
VBoxNetAdp.sys=1

[DestinationDirs]
DefaultDestDir = 12
VBoxNetAdp.Files.Sys   = 12   ; %windir%\System32\drivers

[Manufacturer]
%Provider% = VBox,NTx86,NTia64,NTamd64

[VBox]
%VBoxNetAdp_Desc% = VBoxNetAdp.ndi, sun_VBoxNetAdp

[VBox.NTx86]
%VBoxNetAdp_Desc% = VBoxNetAdp.ndi, sun_VBoxNetAdp

[VBox.NTia64]
%VBoxNetAdp_Desc% = VBoxNetAdp.ndi, sun_VBoxNetAdp

[VBox.NTamd64]
%VBoxNetAdp_Desc% = VBoxNetAdp.ndi, sun_VBoxNetAdp

[VBoxNetAdp.ndi]
Characteristics = 0x1 ; NCF_VIRTUAL
CopyFiles = VBoxNetAdp.Files.Sys
AddReg = VBoxNetAdp.AddReg

[VBoxNetAdp.Files.Sys]
VBoxNetAdp.sys,,,2

[VBoxNetAdp.ndi.Services]
AddService = VBoxNetAdp,0x2, VBoxNetAdp.AddService

[VBoxNetAdp.AddService]
DisplayName     = %VBoxNetAdp_Desc%
ServiceType    = 1 ;SERVICE_KERNEL_DRIVER
StartType      = 3 ;SERVICE_DEMAND_START
ErrorControl   = 1 ;SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\VBoxNetAdp.sys
LoadOrderGroup  = NDIS

[VBoxNetAdp.AddReg]
HKR,    ,                         *NdisDeviceType,     0x00010001, 1   ; NDIS_DEVICE_TYPE_ENDPOINT
HKR, Ndi,                         Service,             0, "VBoxNetAdp"
HKR, Ndi\Interfaces,              UpperRange,          0, "ndis5"
HKR, Ndi\Interfaces,              LowerRange,          0, "ethernet"

[Strings]
Provider = "Oracle Corporation"
VBoxNetAdp_Desc = "VirtualBox Host-Only Ethernet Adapter"
DiskDescription = "VirtualBox Host-Only Ethernet Adapter"

