阅读:1749回复:1
请教斑竹:passthru怎么改才支持modem?
我把passthru的MediumArray[3]改成了4,然后加上了NdisMediumWan的那个枚举,pAdapt->Medium = MediumArray[MediumIndex];
MediumIndex是由谁决定的?应该是系统吧??另外还要把那些改改呢? |
|
最新喜欢:linwn
|
沙发#
发布于: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. |
|