;-------------------------------------------------------------------------------
; KDNIC.INF
;
; Microsoft Kernel Network Debug Adapter
;
; Copyright (c) Microsoft Corporation.  All rights reserved.
;

[version]
Signature   = "$Windows NT$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %Msft%
DriverVer=06/21/2006,10.0.10240.16384
PnpLockDown = 1

[DeviceInstall32]
AddDevice = ROOT\KDNIC\0000,,KdNic.RootDevice

[KdNic.RootDevice]
HardwareIds = root\kdnic

[ControlFlags]
ExcludeFromSelect=*

[Manufacturer]
%Msft% = Msft,NTx86.6.0,NTia64.6.0,NTamd64.6.0

;For Win2k

[Msft]
; Empty section to block legacy operating systems that don't understand TargetOSVersion

[Msft.NTx86.6.0]
%KdNic.DeviceDesc%    = KdNic.ndi, root\kdnic ; Root enumerated 

[Msft.NTia64.6.0]
%KdNic.DeviceDesc%    = KdNic.ndi, root\kdnic ; Root enumerated 

[Msft.NTamd64.6.0]
%KdNic.DeviceDesc%    = KdNic.ndi, root\kdnic ; Root enumerated 

;-------------------------------------------------------------------------------
; Microsoft Virtual Ethernet Adapter
;
[KdNic.ndi]
Characteristics    = 0x9 ; NCF_VIRTUAL, NCF_HIDDEN
*IfType            = 0x6 ; IF_TYPE_ETHERNET_CSMACD
*MediaType         = 0x0 ; NdisMedium802_3
*PhysicalMediaType = 14 ; NdisPhysicalMedium802_3
AddReg             = KdNic.Reg
CopyFiles          = KdNic.CopyFiles

[KdNic.ndi.Services]
AddService         = kdnic, 2, KdNic.Service, KdNic.EventLog

;-----------------------------------------------------------------------------
; Microsoft Virtual Miniport Common
;
[KdNic.Reg]
HKR,    ,                         BusNumber,           0, "0" 
HKR, Ndi,                         Service,             0, "kdnic"
HKR, Ndi\Interfaces,              UpperRange,          0, "ndis5"
HKR, Ndi\Interfaces,              LowerRange,          0, "ethernet"
HKR,,NoDisplayClass,,1

;-----------------------------------------------------------------------------
; Driver and Service Section
;
[KdNic.CopyFiles]
kdnic.sys,,,2

[KdNic.Service]
DisplayName        = %KdNic.Service.DispName%
ServiceType        = 1 ;%SERVICE_KERNEL_DRIVER%
StartType          = 3 ;%SERVICE_DEMAND_START%
ErrorControl       = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary      = %12%\kdnic.sys
LoadOrderGroup     = NDIS
AddReg             = TextModeFlags.Reg

[KdNic.EventLog]
AddReg             = KdNic.AddEventLog.Reg

[KdNic.AddEventLog.Reg]
HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
HKR, , TypesSupported,   0x00010001, 7

[TextModeFlags.Reg]
HKR, , TextModeFlags,    0x00010001, 0x0001

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

[SourceDisksFiles]
kdnic.sys  = 1,,

;-----------------------------------------------------------------------------
; DestinationDirs
;
[DestinationDirs]
KdNic.CopyFiles = 12

;-----------------------------------------------------------------------------
; Localizable Strings
;
[Strings]
Msft                      = "Microsoft"                      
KdNic.DeviceDesc          = "Microsoft Kernel Debug Network Adapter"
KdNic.Service.DispName    = "Microsoft Kernel Debug Network Miniport (NDIS 6.20)"
DiskId1                   = "Microsoft Kernel Debug Network Adapter Device Installation Disk #1"
