OID_WW_GEN_NETWORK_TYPE_IN_USE

As a query, the OID_WW_GEN_NETWORK_TYPE_IN_USE OID requests an underlying miniport driver and its NIC to return the current NDIS_WW_NETWORK_TYPE used by the miniport driver and NIC. For more information about the possible values, see OID_WW_GEN_NETWORK_TYPES_SUPPORTED.

As a set, this OID requests that an underlying miniport driver and its NIC set the NIC and itself to use the specified NDIS_WW_NETWORK_TYPE value. If a miniport driver supports only a single type of network, it sets this type as the network default so a bound protocol is unlikely to make this OID request of such a miniport driver.

NdisWWGeneric should be specified in set requests to underlying drivers that do not claim full compliance with any of the enumerated network types in response to a query.

If the underlying miniport driver can support more than one type of network, a bound protocol should make this OID request to set the network type immediately following its successful call to NdisOpenAdapterand prior to calling NdisRequestwith OID_WW_GEN_HEADER_FORMAT_IN_USE. Such a protocol should query the current operating network type prior to setting it. If the device is operating in the correct mode, then no further action is required other than using OID_WW_GEN_INDICATION_REQUESTto register to be notified of changes associated with OID_WW_GEN_NETWORK_TYPE_IN_USE.

After a miniport driver completes a set operation requested by this OID, the network type is set for all bound protocols.

If any bound protocol has enabled indications with OID_WW_GEN_INDICATION_REQUEST, the miniport driver must call NdisMIndicateStatusto notify such protocol(s) if the network type changes. It can ignore the TriggerValue member that was specified in the OID_WW_GEN_INDICATION_REQUEST.

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

 

 

 

Send comments about this topic to Microsoft