; 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,6.1.7600.16385

[SourceDisksNames]
 3426 = windows cd

[SourceDisksFiles]
 loop.sys = 3426

[Manufacturer]
 %MSft% = Microsoft,NTx86,NTia64,NTamd64

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

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

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

 
[MSLOOP.ndi.NT]
 AddReg          = MSLOOP.ndi.params, MSLOOP.ndi.reg
 BusType         = 1
 Characteristics = 0x4  ; NCF_PHISYCAL
 CopyFiles       = msloop.CopyFiles
 
[MSLOOP.ndi.reg]
 HKR, Ndi,                                  Service,    0,  "msloop"
 HKR, Ndi\Interfaces,                       DefLower,   0,  "nolower"
 HKR, Ndi\Interfaces,                       LowerRange, 0,  "ethernet"
 HKR, Ndi\Interfaces,                       DefUpper,   0,  "ndis5"
 HKR, Ndi\Interfaces,                       UpperRange, 0,  "ndis5"

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

[msloop.CopyFiles]
 loop.sys,,,2

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

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

[msloop.AddEventLog]
 AddReg =  msloop.AddEventLog.Reg

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



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


[Strings]
;Localizable
Msft = "Microsoft"

NetworkAddress           = "Network Address"

MSLOOP.DeviceDesc        = "Microsoft Loopback Adapter"
msloop.Service.DispName  = "Microsoft Loopback Adapter Driver"

