windows-nt/Source/XPSP1/NT/net/ndis/uio/inf/ndisuio.inx
2020-09-26 16:20:57 +08:00

75 lines
2.3 KiB
Plaintext

;-------------------------------------------------------------------------
; NDISUIO.INF -- NDIS Usermode I/O Driver
;
; Copyright (c) 2000, Microsoft Corporation
;-------------------------------------------------------------------------
[version]
Signature = "$Windows NT$"
Class = NetTrans
ClassGUID = {4d36e975-e325-11ce-bfc1-08002be10318}
Provider = %Msft%
LayoutFile = layout.inf
[Manufacturer]
%Msft%=MSFT
[MSFT]
%NDISUIO_Desc%=Install, MS_NDISUIO
;-------------------------------------------------------------------------
; Installation Section
;-------------------------------------------------------------------------
[Install]
AddReg=Inst_Ndi
Characteristics=0x28 ; NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
CopyFiles=CpyFiles_Sys
;-------------------------------------------------------------------------
; Ndi installation support
;-------------------------------------------------------------------------
[Inst_Ndi]
HKR,Ndi,Service,,"Ndisuio"
HKR,Ndi,HelpText,,%NDISUIO_HelpText%
HKR, Ndi\Interfaces, UpperRange,, noupper
HKR,"Ndi\Interfaces","LowerRange",,"ndis5,ndis4,ndis5_uio"
;-------------------------------------------------------------------------
; Service installation support
;-------------------------------------------------------------------------
[Install.Services]
AddService=Ndisuio,,NDISUIO_Service_Inst
[Ndisuio_Service_Inst]
DisplayName = %NDISUIO_Desc%
ServiceType = 1 ;SERVICE_KERNEL_DRIVER
StartType = 3 ;SERVICE_MANUAL_START
ErrorControl = 1 ;SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ndisuio.sys
LoadOrderGroup = NDIS
Description = %NDISUIO_Desc%
[Install.Remove.Services]
DelService=Ndisuio
;-------------------------------------------------------------------------
; Declare Destination Directories for file copy/deletion
;-------------------------------------------------------------------------
[DestinationDirs]
CpyFiles_Sys = 12 ; DIRID_DRIVERS
;-------------------------------------------------------------------------
; Files to Copy/Delete - Referenced by Install and Remove sections above
;-------------------------------------------------------------------------
[CpyFiles_Sys]
Ndisuio.sys,,,2
[Strings]
Msft = "Microsoft"
NDISUIO_Desc = "NDIS Usermode I/O Protocol"
NDISUIO_HelpText = "A driver to support user-mode I/O on NDIS devices"