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
FDDINdisMediumWan
WANNdisMediumLocalTalk
LocalTalkNdisMediumDix
DEC/Intel/Xerox (DIX) EthernetNdisMediumArcnetRaw
ARCNET (raw)NdisMediumArcnet878
ARCNET (878.2)NdisMediumAtm
ATMNdisMediumWirelessWan
Various types of NdisWirelessXxx mediaNote This media type is not available for use beginning with Windows Vista.
NdisMediumIrda
Infrared (IrDA)NdisMediumCoWan
Connection-oriented WANNdisMedium1394
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.