home *** CD-ROM | disk | FTP | other *** search
/ com!online 2005 April / com_0405_1.iso / opensource / coLinux-0.6.1.exe / netdriver / OemWin2k.inf < prev    next >
Encoding:
INI File  |  2004-05-14  |  5.1 KB  |  144 lines

  1. ; ****************************************************************************
  2. ; * COPYRIGHT (C) 2003-2004 James Yonan                                      *
  3. ; *  This program is free software; you can redistribute it and/or modify    *
  4. ; *  it under the terms of the GNU General Public License as published by    *
  5. ; *  the Free Software Foundation; either version 2 of the License, or       *
  6. ; *  (at your option) any later version.                                     *
  7. ; ****************************************************************************
  8.  
  9. ; SYNTAX CHECKER
  10. ; cd \WINDDK\3790\tools\chkinf
  11. ; chkinf c:\src\openvpn\tap-win32\i386\oemwin2k.inf
  12. ; OUTPUT -> file:///c:/WINDDK/3790/tools/chkinf/htm/c%23+src+openvpn+tap-win32+i386+__OemWin2k.htm
  13.  
  14. [Version]
  15.    Signature = "$Windows NT$"
  16.    CatalogFile = tap.cat
  17.    ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
  18.    Provider = %l_Provider%
  19.    Class = Net
  20.    DriverVer=05/13/2004,7.00.00.0001
  21.  
  22. [Strings]
  23.    l_DeviceDescription = "TAP-Win32 Adapter"
  24.    l_Provider = "TapWin32Project"
  25.  
  26. ;----------------------------------------------------------------
  27. ;                      Manufacturer + Product Section (Done)
  28. ;----------------------------------------------------------------
  29. [Manufacturer]
  30.    %l_Provider% = TapWin32Project
  31.  
  32. [TapWin32Project]
  33.    %l_DeviceDescription% = TAP.ndi, TAPDEV
  34.  
  35. ;---------------------------------------------------------------
  36. ;                             Driver Section (Done)
  37. ;---------------------------------------------------------------
  38.  
  39. ;----------------- Characteristics ------------
  40. ;    NCF_PHYSICAL = 0x04
  41. ;    NCF_VIRTUAL = 0x01
  42. ;    NCF_SOFTWARE_ENUMERATED = 0x02
  43. ;    NCF_HIDDEN = 0x08
  44. ;    NCF_NO_SERVICE = 0x10
  45. ;    NCF_HAS_UI = 0x80
  46. ;----------------- Characteristics ------------
  47.  
  48. [TAP.ndi]
  49.    CopyFiles       = TAP.driver, TAP.files
  50.    AddReg          = TAP.reg
  51.    AddReg          = TAP.params.reg
  52.    Characteristics = 0x81
  53.  
  54. [TAP.ndi.Services]
  55.    AddService = TAP,        2, TAP.service
  56.  
  57. [TAP.reg]
  58.    HKR, Ndi,            Service,      0, "TAP"
  59.    HKR, Ndi\Interfaces, UpperRange,   0, "ndis5"
  60.    HKR, Ndi\Interfaces, LowerRange,   0, "ethernet"
  61.    HKR, ,               Manufacturer, 0, "%l_Provider%"
  62.    HKR, ,               ProductName,  0, "TAP"
  63.  
  64. [TAP.params.reg]
  65.    HKR, Ndi\params\MTU,                ParamDesc, 0, "MTU"
  66.    HKR, Ndi\params\MTU,                Type,      0, "int"
  67.    HKR, Ndi\params\MTU,                Default,   0, "1500"
  68.    HKR, Ndi\params\MTU,                Optional,  0, "0"
  69.    HKR, Ndi\params\MTU,                Min,       0, "100"
  70.    HKR, Ndi\params\MTU,                Max,       0, "1500"
  71.    HKR, Ndi\params\MTU,                Step,      0, "1"
  72.    HKR, Ndi\params\MediaStatus,        ParamDesc, 0, "Media Status"
  73.    HKR, Ndi\params\MediaStatus,        Type,      0, "enum"
  74.    HKR, Ndi\params\MediaStatus,        Default,   0, "0"
  75.    HKR, Ndi\params\MediaStatus,        Optional,  0, "0"
  76.    HKR, Ndi\params\MediaStatus\enum,   "0",       0, "Application Controlled"
  77.    HKR, Ndi\params\MediaStatus\enum,   "1",       0, "Always Connected"
  78.    HKR, Ndi\params\MAC,                ParamDesc, 0, "MAC Address"
  79.    HKR, Ndi\params\MAC,                Type,      0, "edit"
  80.    HKR, Ndi\params\MAC,                Optional,  0, "1"
  81.  
  82. ;----------------------------------------------------------------
  83. ;                             Service Section
  84. ;----------------------------------------------------------------
  85.  
  86. ;---------- Service Type -------------
  87. ;    SERVICE_KERNEL_DRIVER     = 0x01
  88. ;    SERVICE_WIN32_OWN_PROCESS = 0x10
  89. ;---------- Service Type -------------
  90.  
  91. ;---------- Start Mode ---------------
  92. ;    SERVICE_BOOT_START   = 0x0
  93. ;    SERVICE_SYSTEM_START = 0x1
  94. ;    SERVICE_AUTO_START   = 0x2
  95. ;    SERVICE_DEMAND_START = 0x3
  96. ;    SERVICE_DISABLED     = 0x4
  97. ;---------- Start Mode ---------------
  98.  
  99. [TAP.service]
  100.    DisplayName = %l_DeviceDescription%
  101.    ServiceType = 1
  102.    StartType = 3
  103.    ErrorControl = 1
  104.    LoadOrderGroup = NDIS
  105.    ServiceBinary = %12%\tapdrvr.sys
  106.  
  107. ;-----------------------------------------------------------------
  108. ;                                File Installation
  109. ;-----------------------------------------------------------------
  110.  
  111. ;----------------- Copy Flags ------------
  112. ;    COPYFLG_NOSKIP = 0x02
  113. ;    COPYFLG_NOVERSIONCHECK = 0x04
  114. ;----------------- Copy Flags ------------
  115.  
  116. ; SourceDisksNames
  117. ; diskid = description[, [tagfile] [, <unused>, subdir]]
  118. ; 1 = "Intel Driver Disk 1",e100bex.sys,,
  119.  
  120. [SourceDisksNames]
  121.    1 = %l_DeviceDescription%, tapdrvr.sys
  122.  
  123. ; SourceDisksFiles
  124. ; filename_on_source = diskID[, [subdir][, size]]
  125. ; e100bex.sys = 1,, ; on distribution disk 1
  126.  
  127. [SourceDisksFiles]
  128. tapdrvr.sys = 1
  129.  
  130. [DestinationDirs]
  131.    TAP.files  = 11
  132.    TAP.driver = 12
  133.  
  134. [TAP.files]
  135. ;   TapPanel.cpl,,,6   ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK
  136. ;   cipsrvr.exe,,,6     ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK
  137.  
  138. [TAP.driver]
  139.    tapdrvr.sys,,,6     ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK
  140.  
  141. ;---------------------------------------------------------------
  142. ;                                      End
  143. ;---------------------------------------------------------------
  144.