共用方式為


OID_GEN_MEDIA_SUPPORTED (NDIS 5.1)

Note   NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.

The OID_GEN_MEDIA_SUPPORTED OID specifies the media types that the NIC can support but not necessarily the media types that the NIC currently uses. These media types are listed as a proper subset of the following system-defined values:

  • NdisMedium802_3
    Ethernet (802.3)

    Note   NDIS 5.x miniport drivers that conform to the 802.11 interface must use this media type. For more information about the 802.11 interface, see 802.11 Wireless LAN Miniport Drivers.

     

  • NdisMedium802_5
    Token Ring (802.5)

  • NdisMediumFddi
    FDDI

  • NdisMediumWan
    WAN

  • NdisMediumLocalTalk
    LocalTalk

  • NdisMediumDix
    DEC/Intel/Xerox (DIX) Ethernet

  • NdisMediumArcnetRaw
    ARCNET (raw)

  • NdisMediumArcnet878
    ARCNET (878.2)

  • NdisMediumAtm
    ATM

  • NdisMediumWirelessWan
    Various types of NdisWirelessXxx media

    Note   This media type is not available for use beginning with Windows Vista.

     

  • NdisMediumIrda
    Infrared (IrDA)

  • NdisMediumCoWan
    Connection-oriented WAN

  • NdisMedium1394
    IEEE 1394 (firewire) bus

NDIS 5.X miniport drivers that support wireless LAN (WLAN) or wireless WAN (WWAN) packets appear to the operating system and to NDIS as Ethernet packets. These NDIS drivers must provide support for WWAN or WLAN networks as Ethernet networks. Such drivers declare their medium as NdisMedium802_3 and emulate Ethernet to higher-level NDIS drivers. Such drivers must also declare in OID_GEN_PHYSICAL_MEDIUMthe appropriate physical medium that they support.

If the underlying miniport driver returns NULL for this query, or if an experimental media type is used, the driver must indicate receive operations using the NdisMIndicateReceivePacketfunction. Any protocol that is bound to such an underlying NIC driver receives all such indications, that is, the protocol cannot filter receive operations with OID_GEN_CURRENT_PACKET_FILTER.

 

 

Send comments about this topic to Microsoft