.X.T.I.M.
驱动大牛
驱动大牛
  • 注册日期2001-09-22
  • 最后登录2021-08-25
  • 粉丝0
  • 关注0
  • 积分1分
  • 威望10点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1749回复:1

请教斑竹:passthru怎么改才支持modem?

楼主#
更多 发布于:2001-11-08 21:54
我把passthru的MediumArray[3]改成了4,然后加上了NdisMediumWan的那个枚举,pAdapt->Medium = MediumArray[MediumIndex];
MediumIndex是由谁决定的?应该是系统吧??另外还要把那些改改呢?

最新喜欢:

linwnlinwn
<IMG src="http://www.microsoft.com/traincert/images/logos/mcp.gif" border=0> <IMG src="http://www.microsoft.com/traincert/images/logos/mcdba.gif" border=0><br> <IMG src="http://www.microsoft.com/traincert/images/logos/mcse.gif" border=0> <IMG src="http://www.microsoft.com/traincert/images/logos/mcsd.gif" border=0>
robie
驱动牛犊
驱动牛犊
  • 注册日期2001-10-17
  • 最后登录2006-11-22
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2001-11-09 08:44
passthru work with wan:

add there:

These instructions assume you are using the PASSTHRU sample
on the Windows 2000 DDK as your starting point.

1.  When you call NdisIMRegisterLayeredMiniport and
    NdisRegisterProtocol, the NDIS major version be 4.
2.  Add wan to the list of FilterMediaTypes in the INF file.
    Do not use ndiswanip.  For example:
    HKR,Ndi\Interfaces,FilterMediaTypes,,"wan, ethernet, fddi"  
    You will be able to filter NDISWAN and LAN media types in
    the same driver.
3.  Add NdisMediumWan to MediumArray passed to NdisOpenAdapter.
4.  Save which media type was selected in NdisOpenAdapter.
    It will be NdisMediumWan if you are binding to NDISWAN.
5.  During MiniportInitialize the SelectedMediumIndex is
    returned.  If the saved media type is NdisMediumWan,
    set the selected media type to NdisMedium802_3.
游客

返回顶部