;
; Copyright (c) 2010, 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.20348.1
 PnpLockdown= 1

[Manufacturer]
 %MSft% = Microsoft,NTx86,NTamd64,NTarm,NTarm64

[Microsoft.NTx86]
 ; DisplayName                        Section      DeviceID
 ; -----------                        -------      --------
 %kmloop.DeviceDesc% = kmloop.ndi, *MSLOOP

[Microsoft.NTamd64]
 ; DisplayName                        Section      DeviceID
 ; -----------                        -------      --------
 %kmloop.DeviceDesc% = kmloop.ndi, *MSLOOP

[Microsoft.NTarm]
 ; DisplayName                        Section      DeviceID
 ; -----------                        -------      --------
 %kmloop.DeviceDesc% = kmloop.ndi, *MSLOOP

[Microsoft.NTarm64]
 ; DisplayName                        Section      DeviceID
 ; -----------                        -------      --------
 %kmloop.DeviceDesc% = kmloop.ndi, *MSLOOP

[kmloop.ndi.NT]
 AddReg          = kmloop.ndi.params, kmloop.ndi.reg
 BusType         = 1
 Characteristics = 0x4  ; NCF_PHISYCAL
 CopyFiles       = kmloop.CopyFiles
*IfType         = 6		; IF_TYPE_ETHERNET_CSMACD
*MediaType      = 0		; NdisMedium802_3
*PhysicalMediaType = 0		; NdisPhysicalMediumUnspecified

[kmloop.ndi.reg]
 HKR, Ndi,                                  Service,    0,  "kmloop"
 HKR, Ndi\Interfaces,                       LowerRange, 0,  "ethernet"
 HKR, Ndi\Interfaces,                       UpperRange, 0,  "ndis5"

[kmloop.ndi.params]
 HKR, Ndi\Params\NetworkAddress,            ParamDesc,  0,  %NetworkAddress%
 HKR, Ndi\Params\NetworkAddress,            Default,    0,  ""
 HKR, Ndi\Params\NetworkAddress,            Type,       0,  "text"

[kmloop.CopyFiles]
 loop.sys,,,0x102

[kmloop.ndi.NT.Services]
 AddService = kmloop, 2, kmloop.Service, kmloop.AddEventLog

[kmloop.Service]
 DisplayName    = %kmloop.Service.DispName%
 ServiceType    = 1    ;SERVICE_KERNEL_DRIVER
 StartType      = 3    ;SERVICE_AUTO_START
 ErrorControl   = 1    ;NORMAL
 ServiceBinary  = %12%\loop.sys
 LoadOrderGroup = NDIS

[kmloop.AddEventLog]
 AddReg =  kmloop.AddEventLog.Reg

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

[SourceDisksFiles]
loop.sys=1

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

;-----------------------------------------------------------------------------
; DestinationDirs
;
[DestinationDirs]
 DefaultDestDir    = 12 ; Drivers directory
 kmloop.CopyFiles  = 12

[Strings]
Msft = "Microsoft"

Medium                   = "Medium"
Ethernet                 = "Ethernet"
NetworkAddress           = "Network Address"

kmloop.DeviceDesc        = "Microsoft KM-TEST Loopback Adapter"
kmloop.Service.DispName  = "Microsoft KM-TEST Loopback Adapter Driver"

DiskId1 = "Microsoft KM-TEST Loopback Device Installation Disk #1"
