3 ; Passthru driver INF file - this is the INF for the service (protocol)
\r
6 ; Copyright (c) 1993-2001, Microsoft Corporation
\r
8 ; ----------------------------------------------------------------------
\r
10 ; 0. The term "filter" is used in this INF to refer to an NDIS IM driver that
\r
11 ; implements a 1:1 relationship between upper and lower bindings.
\r
13 ; 1. Items specifically required for a filter have been marked with
\r
14 ; "!!--Filter Specific--!!" keyword
\r
15 ; 2. In general a filter DOES NOT require a notify object for proper installation.
\r
16 ; A notify object is only required if one wants to have better control
\r
17 ; over binding operations or if one wants to receive notifications
\r
18 ; when other components get installed/removed/bound/unbound.
\r
19 ; Since Windows 2000 systems do not have support for CopyINF directive,
\r
20 ; a notify object is required to programmatically copy the miniport INF
\r
21 ; file to the system INF directory. Previous versions of this INF file
\r
22 ; erroneously used to copy the INF files directly by using the CopyFiles
\r
24 ; On Windows XP, you can install a filter IM without a notify object.
\r
25 ; by following the instructions in (4).
\r
27 ; 3. If you want to use this INF file with your own IM driver, please
\r
28 ; make the following modifications:
\r
31 ; a. In section [SourceDiskFiles] and [Passthru.Files.Sys]
\r
32 ; change passthru.sys to the name of your own driver binary.
\r
33 ; b. In section [Passthru.ndi.AddReg], change values of
\r
34 ; BindForm and MiniportId to appropriate values.
\r
37 ; a. Replace MS_PassthruMP with InfId of your miniport.
\r
38 ; b. In section [PassthruMP.AddService],
\r
39 ; change ServiceBinary appropriately.
\r
40 ; c. In section [PassthruMP.ndi.AddReg],
\r
41 ; change "Passthru" in the line having "Service"
\r
42 ; to reflect the appropriate name
\r
45 ; ----------------------------------------------------------------------
\r
48 Signature = "$Windows NT$"
\r
50 ClassGUID = {4D36E974-E325-11CE-BFC1-08002BE10318}
\r
52 DriverVer =10/01/2002,6.0.5019.0
\r
55 %Msft% = MSFT,NTx86,NTia64,NTamd64
\r
59 ;=========================================================================
\r
61 ;=========================================================================
\r
65 %Passthru_Desc% = Passthru.ndi, ms_passthru
\r
67 ;For WinXP and later
\r
70 %Passthru_Desc% = Passthru.ndi, ms_passthru
\r
73 %Passthru_Desc% = Passthru.ndi, ms_passthru
\r
76 %Passthru_Desc% = Passthru.ndi, ms_passthru
\r
80 AddReg = Passthru.ndi.AddReg, Passthru.AddReg
\r
81 Characteristics = 0x4410 ; NCF_FILTER | NCF_NDIS_PROTOCOL !--Filter Specific--!!
\r
82 CopyFiles = Passthru.Files.Sys
\r
83 CopyInf = netsf_m.inf
\r
85 [Passthru.ndi.Remove]
\r
86 DelFiles = Passthru.Files.Sys
\r
88 [Passthru.ndi.Services]
\r
89 AddService = Passthru,, Passthru.AddService
\r
91 [Passthru.AddService]
\r
92 DisplayName = %PassthruService_Desc%
\r
93 ServiceType = 1 ;SERVICE_KERNEL_DRIVER
\r
94 StartType = 3 ;SERVICE_DEMAND_START
\r
95 ErrorControl = 1 ;SERVICE_ERROR_NORMAL
\r
96 ServiceBinary = %12%\passthru.sys
\r
97 AddReg = Passthru.AddService.AddReg
\r
100 [Passthru.AddService.AddReg]
\r
101 ; ----------------------------------------------------------------------
\r
102 ; Add any miniport-specific parameters here. These are params that your
\r
103 ; filter device is going to use.
\r
105 ;HKR, Parameters, ParameterName, 0x10000, "MultiSz", "Parameter", "Value"
\r
106 ;HKR, Parameters, ParameterName2, 0x10001, 4
\r
109 ; ----------------------------------------------------------------------
\r
113 1=%DiskDescription%,"",,
\r
119 DefaultDestDir = 12
\r
120 Passthru.Files.Sys = 12 ; %windir%\System32\drivers
\r
122 [Passthru.Files.Sys]
\r
125 ; ----------------------------------------------------------------------
\r
129 [Passthru.ndi.AddReg]
\r
130 HKR, Ndi, HelpText, , %Passthru_HELP%
\r
132 ; ----------------------------------------------------------------------
\r
133 ; !!--Filter Specific--!!
\r
136 ; 1. Other components may also have UpperRange/LowerRange but for filters
\r
137 ; the value of both of them must be noupper/nolower
\r
138 ; 2. The value FilterClass is required.
\r
139 ; 3. The value Service is required
\r
140 ; 4. FilterDeviceInfId is the InfId of the filter device (miniport) that will
\r
141 ; be installed for each filtered adapter.
\r
142 ; In this case this is ms_passthrump (refer to netsf_m.inf)
\r
144 HKR, Ndi, FilterClass, , failover
\r
145 HKR, Ndi, FilterDeviceInfId, , ms_passthrump
\r
146 HKR, Ndi, Service, , Passthru
\r
147 HKR, Ndi\Interfaces, UpperRange, , noupper
\r
148 HKR, Ndi\Interfaces, LowerRange, , nolower
\r
149 HKR, Ndi\Interfaces, FilterMediaTypes, , "ethernet, tokenring, fddi, wan"
\r
152 ; The following key is Required
\r
153 ; The following key is Passthru specific
\r
154 HKR, Parameters, Param1, 0, 4
\r
156 ; ----------------------------------------------------------------------
\r
159 DiskDescription = "Microsoft Passthru Driver Disk"
\r
161 Passthru_Desc = "Passthru Driver"
\r
162 Passthru_HELP = "Passthru Driver"
\r
163 PassthruService_Desc = "Passthru Service"
\r