共用方式為


OID_WW_GEN_HEADER_FORMAT_IN_USE

As a query, the OID_WW_GEN_HEADER_FORMAT_IN_USE OID requests an underlying miniport driver and its NIC to return the current NDIS_WW_HEADER_FORMAT it is using. For the possible values, see OID_WW_GEN_HEADER_FORMATS_SUPPORTED.

As a set, this OID requests an underlying miniport driver and its NIC to use a particular header format that it returned in response to a preceding OID_WW_GEN_HEADER_FORMATS_SUPPORTED request. If no bound protocol requests a set, the miniport driver uses DIX-Ethernet framing by default.

If the underlying miniport driver can support more than one type of header, a bound protocol should make this OID request immediately following its successful call to NdisRequestwith OID_WW_GEN_NETWORK_TYPE_IN_USE. A successful set request changes the header format in use 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 header format 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