home *** CD-ROM | disk | FTP | other *** search
/ ftp.networkinstruments.com / 2015-02-04.ftp.networkinstruments.com.tar / ftp.networkinstruments.com / pub / demos / ObsInfrSetup.exe / Win32 / drivers / netsf.inf < prev    next >
INI File  |  2012-12-05  |  6KB  |  168 lines

  1. ; -- NETSF.INF --
  2. ;
  3. ; NetworkDriverLA driver INF file - this is the INF for the service (protocol)
  4. ; part.
  5. ;
  6. ; Copyright (c) 1993-2001, Microsoft Corporation
  7. ;
  8. ; ----------------------------------------------------------------------
  9. ; Notes:
  10. ; 0. The term "filter" is used in this INF to refer to an NDIS IM driver that
  11. ;    implements a 1:1 relationship between upper and lower bindings.
  12. ;
  13. ; 1. Items specifically required for a filter have been marked with
  14. ;    "!!--Filter Specific--!!" keyword
  15. ; 2. In general a filter DOES NOT require a notify object for proper installation.
  16. ;    A notify object is only required if one wants to have better control
  17. ;    over binding operations or if one wants to receive notifications
  18. ;    when other components get installed/removed/bound/unbound.
  19. ;    Since Windows 2000 systems do not have support for CopyINF directive,
  20. ;    a notify object is required to programmatically copy the miniport INF  
  21. ;    file to the system INF directory. Previous versions of this INF file
  22. ;    erroneously used to copy the INF files directly by using the CopyFiles 
  23. ;    directive.
  24. ;    On Windows XP, you can install a filter IM without a notify object.
  25. ;    by following the instructions in (4).
  26. ;
  27. ; 3. If you want to use this INF file with your own IM driver, please
  28. ;    make the following modifications:
  29. ;    File netsf.inf
  30. ;    --------------
  31. ;    a. In section [SourceDiskFiles] and [NetworkDriverLA.Files.Sys]
  32. ;       change NetworkDriverLA.sys to the name of your own driver binary.
  33. ;    b. In section [NetworkDriverLA.ndi.AddReg], change values of
  34. ;       BindForm and MiniportId to appropriate values.
  35. ;    File netsf_m.inf
  36. ;    ----------------
  37. ;    a. Replace MS_NetworkDriverLAMP with InfId of your miniport.
  38. ;    b. In section [NetworkDriverLAMP.AddService],
  39. ;       change ServiceBinary appropriately.
  40. ;    c. In section [NetworkDriverLAMP.ndi.AddReg],
  41. ;       change "NetworkDriverLA" in the line having "Service"
  42. ;       to reflect the appropriate name
  43. ;
  44. ;
  45. ; ----------------------------------------------------------------------
  46.  
  47. [Version]
  48. Signature  = "$Windows NT$"
  49. Class      = NetService
  50. ClassGUID  = {4D36E974-E325-11CE-BFC1-08002BE10318}
  51. Provider   = %NetInst%
  52. DriverVer  = 11/01/2012,4.1.0.0
  53. CatalogFile = NetworkDriverLA.cat
  54.  
  55.  
  56. [Manufacturer]
  57. %NetInst% = MSFT,NTx86,NTia64,NTamd64
  58.  
  59. [ControlFlags]
  60.  
  61. ;=========================================================================
  62. ;
  63. ;=========================================================================
  64.  
  65. ; For Win2K
  66. [MSFT]
  67. %NetworkDriverLA_Desc% = NetworkDriverLA.ndi, ms_NetworkDriverLA
  68.  
  69. ; For XP and later
  70. [MSFT.NTx86]
  71. %NetworkDriverLA_Desc% = NetworkDriverLA.ndi, ms_NetworkDriverLA
  72.  
  73. [MSFT.NTamd64]
  74. %NetworkDriverLA_Desc% = NetworkDriverLA.ndi, ms_NetworkDriverLA
  75.  
  76. [NetworkDriverLA.ndi]
  77. AddReg          = NetworkDriverLA.ndi.AddReg, NetworkDriverLA.AddReg
  78. Characteristics = 0x4410 ;  NCF_FILTER | NCF_NDIS_PROTOCOL !--Filter Specific--!!
  79. CopyFiles       = NetworkDriverLA.Files.Sys
  80. CopyINF         = netsf_m.inf
  81.  
  82. [NetworkDriverLA.ndi.Remove]
  83. DelFiles = NetworkDriverLA.Files.Sys
  84.  
  85. [NetworkDriverLA.ndi.Services]
  86. AddService = NetworkDriverLA,, NetworkDriverLA.AddService
  87.  
  88. [NetworkDriverLA.AddService]
  89. DisplayName    = %NetworkDriverLAService_Desc%
  90. ServiceType    = 1 ;SERVICE_KERNEL_DRIVER
  91. StartType      = 3 ;SERVICE_DEMAND_START
  92. ErrorControl   = 1 ;SERVICE_ERROR_NORMAL
  93. ServiceBinary  = %12%\NetworkDriverLA.sys
  94. LoadOrderGroup = PNP_TDI
  95. AddReg         = NetworkDriverLA.AddService.AddReg
  96.  
  97.  
  98. [NetworkDriverLA.AddService.AddReg]
  99. ; ----------------------------------------------------------------------
  100. ; Add any miniport-specific parameters here.  These are params that your
  101. ; filter device is going to use.
  102. ;
  103. ;HKR, Parameters, ParameterName,  0x10000, "MultiSz", "Parameter", "Value"
  104. ;HKR, Parameters, ParameterName2, 0x10001, 4
  105.  
  106.  
  107. ; ----------------------------------------------------------------------
  108. ; File copy
  109. ;
  110. [SourceDisksNames]
  111. 1=%DiskDescription%,"",,
  112.  
  113. [SourceDisksFiles]
  114. NetworkDriverLA.sys=1
  115. netsf_m.inf=2
  116.  
  117. [DestinationDirs]
  118. DefaultDestDir = 12
  119. NetworkDriverLA.Files.Sys   = 12   ; %windir%\System32\drivers
  120.  
  121. [NetworkDriverLA.Files.Sys]
  122. NetworkDriverLA.sys,,,2
  123.  
  124. [NetworkDriverLA.Files.Inf]
  125. netsf_m.inf,,,2
  126.  
  127. ; ----------------------------------------------------------------------
  128. ; Filter Install
  129. ;
  130.  
  131. [NetworkDriverLA.ndi.AddReg]
  132. HKR, Ndi, HelpText, , %NetworkDriverLA_HELP%
  133.  
  134. ; ----------------------------------------------------------------------
  135. ; !!--Filter Specific--!!
  136. ;
  137. ; Note:
  138. ; 1. Other components may also have UpperRange/LowerRange but for filters
  139. ;    the value of both of them must be noupper/nolower
  140. ; 2. The value FilterClass is required.
  141. ; 3. The value Service is required
  142. ; 4. FilterDeviceInfId is the InfId of the filter device (miniport) that will
  143. ;    be installed for each filtered adapter.
  144. ;    In this case this is ms_NetworkDriverLAmp (refer to netsf_m.inf)
  145. ;
  146. HKR, Ndi,            FilterClass,         , ni_ObsInfr
  147. HKR, Ndi,            FilterDeviceInfId,   , ms_NetworkDriverLAmp
  148. HKR, Ndi,            Service,             , NetworkDriverLA
  149. HKR, Ndi\Interfaces, UpperRange,          , noupper
  150. HKR, Ndi\Interfaces, LowerRange,          , nolower
  151. HKR, Ndi\Interfaces, FilterMediaTypes,    , "ethernet, tokenring, fddi, wan"
  152.  
  153. [NetworkDriverLA.AddReg]
  154. ; The following key is Required
  155. ; The following key is NetworkDriverLA specific
  156. HKR, Parameters, Param1, 0, 4
  157.  
  158. ; ----------------------------------------------------------------------
  159. [Strings]
  160. NetInst = "Network Instruments, LLC"
  161. DiskDescription = "NetworkDriverLA Driver Disk"
  162.  
  163. NetworkDriverLA_Desc = "NetworkDriverLA: Observer Infrastructure Network Driver"
  164. NetworkDriverLA_HELP = "NetworkDriverLA: Observer Infrastructure Network Driver"
  165. NetworkDriverLAService_Desc = "NetworkDriverLA Service"
  166.  
  167.  
  168.